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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Hero Slideshow Background */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slideshow-image.active {
    opacity: 1;
}

/* Light overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== Profile Card ===== */
.profile-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-hover);
    text-align: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card:hover .profile-overlay {
    opacity: 0.2;
}

.profile-info h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    color: #333333;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ===== Section Styles ===== */
.about-section,
.featured-section,
.categories-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Experience Section */
.experience-section {
    padding: 80px 0;
}

/* Experience Grid - Compact Style */
.experience-grid {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Experience Carousel */
.experience-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.experience-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.experience-carousel-track .experience-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
}

/* Experience Dots Navigation */
.experience-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.experience-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.experience-dots .dot:hover {
    background: #6b7280;
    transform: scale(1.2);
}

.experience-dots .dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
}

.experience-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.experience-card:hover::before {
    opacity: 1;
}

.apple-card {
    color: #000;
}

.mercury-card {
    color: #00a4e4;
}

.capital-one-card {
    color: #004977;
}

.tcs-card {
    color: #2a2a86;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    transition: transform 0.3s ease;
}

.experience-card:hover .company-logo-large {
    transform: scale(1.1);
}

.apple-logo {
    background: linear-gradient(135deg, #555 0%, #000 100%);
}

.mercury-logo {
    background: linear-gradient(135deg, #00a4e4 0%, #0086bd 100%);
}

.capital-logo {
    background: linear-gradient(135deg, #004977 0%, #003557 100%);
}

.tcs-logo {
    background: linear-gradient(135deg, #2a2a86 0%, #1a1a66 100%);
}

.experience-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-card .role {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.experience-card .duration {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.view-details {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

.experience-card:hover .view-details {
    transform: translateX(5px);
}

/* Experience Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 1rem 0 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

#modal-body {
    padding: 2rem;
    clear: both;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.modal-company-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.modal-company-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-company-info h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-duration {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-description {
    margin-bottom: 2rem;
}

.modal-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.modal-responsibilities h4,
.modal-roles h4,
.modal-skills h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-responsibilities ul,
.role-highlights {
    list-style: none;
    padding: 0;
}

.modal-responsibilities li,
.role-highlights li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-responsibilities li::before,
.role-highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.modal-roles {
    margin-bottom: 2rem;
}

.role-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.role-item h5 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.role-duration {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.role-location {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.modal-skills {
    margin-top: 2rem;
}

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

.modal-skill-tag {
    background: var(--gradient);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== Posts Grid ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-poem {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.category-story {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.category-travel {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.category-video {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: var(--white);
}

/* YouTube Card Styles */
.youtube-card .youtube-thumbnail-container {
    position: relative;
    overflow: hidden;
}

.youtube-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: all 0.3s ease;
    pointer-events: none;
}

.youtube-card:hover .youtube-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-card:hover .post-card-image {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.post-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.post-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===== View All Button ===== */
.view-all-container {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.youtube-button {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.youtube-button:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== Filter Section ===== */
.filter-section {
    padding: 2rem 0;
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Timeline ===== */
.posts-timeline-section {
    padding: 60px 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid;
    border-image: var(--gradient) 1;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Year Sections ===== */
.year-section {
    margin-bottom: 3rem;
}

.year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    user-select: none;
}

.year-header:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    background: linear-gradient(to right, var(--white), #f0f7ff);
}

.year-header:hover .year-title {
    transform: translateX(5px);
}

.year-header:hover .toggle-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.year-header:hover .year-count {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.year-header:active {
    transform: translateY(0);
}

.year-title {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    transition: transform 0.3s ease;
}

.year-count {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    background: var(--bg-light);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
}

.toggle-icon {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    border: 3px solid var(--white);
}

.year-section.expanded .toggle-icon {
    transform: rotate(180deg);
}

.year-section.expanded .year-header:hover .toggle-icon {
    transform: rotate(180deg) scale(1.15);
}

.year-content {
    transition: all 0.3s ease;
    position: relative;
    padding: 2rem 0;
}

.year-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
    transform: translateX(-50%);
    z-index: 0;
}

/* ===== Post Container ===== */
.post-container {
    padding: 60px 0;
    background: var(--white);
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-image-container {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Poem-specific styling */
.poem-content {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-wrap;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid;
    border-image: var(--gradient) 1;
}

.poem-content br {
    content: "";
    display: block;
    margin: 0.3rem 0;
}

.back-buttons-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.back-button-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.back-button-top:hover {
    background: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.back-button-top svg {
    transition: transform 0.3s ease;
}

.back-button-top:hover svg {
    transform: translateX(-3px);
}

.back-button-top:first-child {
    background: var(--primary-color);
}

.back-button-top:first-child:hover {
    background: #1a1a2e;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.back-link:first-child {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.back-link:first-child:hover {
    background: #1a1a2e;
    border-color: #1a1a2e;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.4);
}

/* ===== Comments Section ===== */
.comments-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.comment-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.comment-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    padding: 1rem 3rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

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

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== Create Post Form ===== */
.create-post-section {
    padding: 60px 0;
}

.create-post-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-btn {
    padding: 1rem 2rem;
    background: var(--bg-light);
    color: var(--text-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.success-message p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.view-post-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-post-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-tagline {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-style: italic;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    .experience-carousel-track .experience-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .experience-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .experience-carousel-track .experience-card {
        flex: 0 0 100%;
    }

    .experience-carousel-track {
        gap: 1.5rem;
    }

    .experience-dots .dot {
        width: 8px;
        height: 8px;
    }

    .company-logo-large {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .modal-content {
        max-height: 95vh;
        margin: 10px;
    }

    #modal-body {
        padding: 1.5rem;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-company-logo {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .modal-company-info h2 {
        font-size: 1.5rem;
    }

    .modal-company-info h3 {
        font-size: 1.1rem;
    }

    .modal-skill-tag {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

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

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

    .back-buttons-top {
        flex-direction: column;
        gap: 0.75rem;
    }

    .back-button-top {
        width: 100%;
        justify-content: center;
    }

    .post-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .back-link {
        width: 100%;
        justify-content: center;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    .create-post-form {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .cancel-btn,
    .submit-btn {
        width: 100%;
    }
}

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

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

    .cta-button {
        padding: 0.8rem 2rem;
    }

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

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}
