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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #334155;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.4s ease;
    animation: gradientShift 15s ease infinite alternate;
    background-size: 200% 200%;
}

body.dark-mode {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e5e5e5;
    animation: gradientShiftDark 15s ease infinite alternate;
    background-size: 200% 200%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(76, 124, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 140, 168, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

body.dark-mode::before {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(100, 100, 100, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(120, 120, 120, 0.05) 0%, transparent 50%);
}

/* TOP LEFT CONTROLS */
.top-left-controls {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 100;
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    width: 60px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.dark-mode .theme-toggle {
    background: #2d2d2d;
    border-color: #555;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toggle-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c7cb0, #6b8ca8);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    animation: pulse 2s infinite;
}

.dark-mode .toggle-circle {
    transform: translateX(30px);
    background: linear-gradient(135deg, #666, #888);
    animation: pulseDark 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulseDark {
    0%, 100% { transform: translateX(30px) scale(1); }
    50% { transform: translateX(30px) scale(1.05); }
}

.share-button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 16px;
}

.dark-mode .share-button {
    background: #2d2d2d;
    border-color: #555;
    color: #aaa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #4c7cb0;
}

.dark-mode .share-button:hover {
    color: #ccc;
    background: #3a3a3a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.share-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* TOP RIGHT DATETIME DISPLAY */
.datetime-display {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    font-family: 'Source Code Pro', monospace;
    font-weight: 500;
    color: #475569;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    white-space: nowrap;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.date {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.4s ease;
}

.time {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #4c7cb0;
    transition: all 0.4s ease;
}

.dark-mode .datetime-display {
    background: #2d2d2d;
    border-color: #555;
    color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .date {
    color: #aaa;
}

.dark-mode .time {
    color: #aaa;
}

.datetime-display::after {
    content: '•';
    color: #cbd5e1;
    font-size: 1.2rem;
    opacity: 0.6;
}

.dark-mode .datetime-display::after {
    color: #666;
}

/* MAIN CONTENT */
.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #c8d6e6;
    margin: 0 auto 25px;
    overflow: hidden;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #5d8fc2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.dark-mode .profile-pic {
    border-color: #555;
    background-color: #2d2d2d;
    color: #aaa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.name-container {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #4c7cb0, #6b8ca8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
    padding-right: 15px; 
}


h1::after {
    content: '|';
    position: absolute;
    right: 0; 
    top: 0;
    color: #4c7cb0;
    font-weight: 300;
    animation: cursorBlink 1s infinite;
    opacity: 0.8;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        padding-right: 12px;
    }
    
    h1::after {
        right: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
        padding-right: 10px;
    }
    
    h1::after {
        right: 0;
    }
}

.dark-mode h1::after {
    color: #aaa;
}

.dark-mode h1 {
    background: linear-gradient(90deg, #aaa, #888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


@keyframes namePulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 0 rgba(76, 124, 176, 0);
    }
    50% { 
        transform: scale(1.02);
        text-shadow: 0 5px 15px rgba(76, 124, 176, 0.2);
    }
}

h1 {
    animation: namePulse 3s infinite ease-in-out;
}

.dark-mode h1 {
    animation: namePulseDark 3s infinite ease-in-out;
}

@keyframes namePulseDark {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 0 rgba(170, 170, 170, 0);
    }
    50% { 
        transform: scale(1.02);
        text-shadow: 0 5px 15px rgba(170, 170, 170, 0.2);
    }
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.title {
    font-size: 1.4rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.dark-mode .title {
    color: #999;
}

.education {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    transition: all 0.4s ease;
}

.dark-mode .education {
    color: #aaa;
}

.education i {
    margin-right: 8px;
    color: #6b8ca8;
    transition: all 0.4s ease;
}

.dark-mode .education i {
    color: #aaa;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.linkedin-section {
    flex: 1;
    min-width: 300px;
    max-width: 520px;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.dark-mode .linkedin-section {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    border-color: rgba(85, 85, 85, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
}

.linkedin-section:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-mode .linkedin-section:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.links-section {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.dark-mode .links-section {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    border-color: rgba(85, 85, 85, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
}

.links-section:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-mode .links-section:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dark-mode .linkedin-section::before,
.dark-mode .links-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #555, #777, #555);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dark-mode .linkedin-section:hover::before,
.dark-mode .links-section:hover::before {
    opacity: 0.3;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    padding-bottom: 5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4c7cb0, #6b8ca8);
    transition: width 0.5s ease;
}

.dark-mode .section-title::after {
    background: linear-gradient(90deg, #777, #999);
}

.section-title:hover::after {
    width: 100%;
}

.dark-mode .section-title {
    color: #ddd;
}

.section-title i {
    color: #6b8ca8;
    transition: all 0.4s ease;
}

.dark-mode .section-title i {
    color: #aaa;
}

.linkedin-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
}

.linkedin-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    z-index: 1;
    border-radius: 12px;
}


.dark-mode .linkedin-container::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.dark-mode .linkedin-container {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(85, 85, 85, 0.5);
}

iframe {
    border-radius: 8px;
    max-width: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.dark-mode iframe {
    border-color: rgba(85, 85, 85, 0.5);
}

.link-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #334155;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(76, 124, 176, 0.2);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.link-card:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

.dark-mode .link-card:hover::after {
    background: rgba(170, 170, 170, 0.2);
}

.dark-mode .link-card {
    background: rgba(40, 40, 40, 0.9);
    color: #ddd;
    border-color: rgba(85, 85, 85, 0.5);
}

.link-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #b0c4de;
    box-shadow: 0 10px 20px rgba(107, 140, 168, 0.08);
}

.dark-mode .link-card:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: #777;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d8e2ed, #c8d6e6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 24px;
    color: #5d8fc2;
    transition: all 0.4s ease;
}

.dark-mode .link-icon {
    background: linear-gradient(135deg, #555, #666);
    color: #ddd;
}

.link-card:hover .link-icon {
    background: linear-gradient(135deg, #c8d6e6, #b0c4de);
    color: #4c7cb0;
}

.dark-mode .link-card:hover .link-icon {
    background: linear-gradient(135deg, #666, #777);
    color: #eee;
}

.link-text {
    flex: 1;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #475569;
    transition: all 0.4s ease;
}

.dark-mode .link-title {
    color: #eee;
}

.link-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    transition: all 0.4s ease;
}

.dark-mode .link-description {
    color: #bbb;
}

.link-arrow {
    color: #6b8ca8;
    font-size: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-mode .link-arrow {
    color: #aaa;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

footer {
    text-align: center;
    padding: 25px 0;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 20px;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.dark-mode footer {
    color: #999;
    border-top-color: rgba(85, 85, 85, 0.5);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: #94a3b8;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f1f5f9;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.social-icons a:hover::before {
    left: 100%;
}

.dark-mode .social-icons a {
    color: #bbb;
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(85, 85, 85, 0.5);
}

.social-icons a:hover {
    color: #5d8fc2;
    background: #e2e8f0;
    transform: translateY(-5px) scale(1.1);
}

.dark-mode .social-icons a:hover {
    color: #ddd;
    background: rgba(60, 60, 60, 0.9);
    border-color: rgba(119, 119, 119, 0.7);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.code-badge {
    display: inline-block;
    background: #e2e8f0;
    color: #5d8fc2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Source Code Pro', monospace;
    margin-top: 5px;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.code-badge::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: #4c7cb0;
    animation: cursorBlink 1s infinite;
}

.dark-mode .code-badge::before {
    color: #aaa;
}

.dark-mode .code-badge {
    background: rgba(85, 85, 85, 0.3);
    color: #aaa;
    border: 1px solid rgba(85, 85, 85, 0.5);
}


.like-button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 16px;
    position: relative;
}

.like-button.liked {
    color: #ef4444;
    border-color: #ef4444;
    background: #fef2f2;
}

.dark-mode .like-button {
    background: #2d2d2d;
    border-color: #555;
    color: #aaa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .like-button.liked {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.like-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #ef4444;
}

.dark-mode .like-button:hover {
    color: #ff6b6b;
    background: #3a3a3a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.like-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.like-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.like-button.has-likes .like-count {
    opacity: 1;
    transform: scale(1);
}

.dark-mode .like-count {
    background: #ff6b6b;
}


.like-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.like-notification.show {
    animation: slideDown 0.5s ease-out forwards;
}

.like-notification i {
    color: #ef4444;
}

.dark-mode .like-notification {
    background: #2d2d2d;
    border-color: #555;
    color: #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode .like-notification i {
    color: #ff6b6b;
}


@keyframes pulseLike {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.like-button.liked i {
    animation: pulseLike 0.3s ease;
}


.share-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.share-notification.show {
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.dark-mode .share-notification {
    background: #2d2d2d;
    border-color: #555;
    color: #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.share-notification i {
    color: #4c7cb0;
}

.dark-mode .share-notification i {
    color: #aaa;
}


@media (prefers-reduced-motion: no-preference) {
    .linkedin-section, .links-section, .link-card {
        transition: all 0.5s ease;
    }
    
    .linkedin-section.visible, .links-section.visible, .link-card.visible {
        animation: fadeInUp 0.6s ease-out forwards;
    }
}


html {
    scroll-behavior: smooth;
}


.theme-toggle:active, .share-button:active {
    transform: scale(0.9);
    transition: transform 0.1s;
}


.footer-likes {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #64748b;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: inline-block;
    transition: all 0.4s ease;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.dark-mode .footer-likes {
    color: #999;
    background: rgba(45, 45, 45, 0.5);
}

.footer-likes span {
    font-weight: 600;
    color: #4c7cb0;
    transition: all 0.4s ease;
}

.dark-mode .footer-likes span {
    color: #aaa;
}

.footer-likes:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.dark-mode .footer-likes:hover {
    background: rgba(45, 45, 45, 0.7);
}


.footer-likes::before {
    content: '❤️';
    margin-right: 5px;
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }
    
    .linkedin-section, .links-section {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h1::after {
        right: 0;
    }
    
    .title {
        font-size: 1.2rem;
    }
    
    .top-left-controls, .datetime-display {
        top: 15px;
    }
    
    .top-left-controls {
        left: 15px;
    }
    
    .datetime-display {
        right: 15px;
        min-width: 250px;
        padding: 10px 15px;
        gap: 12px;
    }
    
    .date {
        font-size: 0.8rem;
    }
    
    .time {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .profile-pic {
        width: 120px;
        height: 120px;
        font-size: 50px;
    }
    
    h1 {
        font-size: 1.9rem;
        padding-right: 15px;
    }
    
    h1::after {
        right: 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 15px;
    }
    
    .theme-toggle {
        width: 55px;
        height: 28px;
    }
    
    .dark-mode .toggle-circle {
        transform: translateX(27px);
    }
    
    .datetime-display {
        min-width: 220px;
        padding: 8px 12px;
        gap: 10px;
        right: 10px;
    }
    
    .date {
        font-size: 0.75rem;
    }
    
    .time {
        font-size: 0.85rem;
    }
}

.calendar-modal {
    position: fixed;
    top: 80px;
    right: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 350px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.calendar-modal.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dark-mode .calendar-modal {
    background: #2d2d2d;
    border-color: #555;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.dark-mode .calendar-header {
    border-bottom-color: #555;
}

.calendar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
    text-align: center;
    flex: 1;
}

.dark-mode .calendar-header h3 {
    color: #ddd;
}

.calendar-nav {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.dark-mode .calendar-nav {
    background: #3a3a3a;
    border-color: #555;
    color: #aaa;
}

.calendar-nav:hover {
    background: #e2e8f0;
    border-color: #b0c4de;
    color: #4c7cb0;
}

.dark-mode .calendar-nav:hover {
    background: #4a4a4a;
    border-color: #777;
    color: #ccc;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.calendar-weekdays div {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    padding: 5px 0;
}

.dark-mode .calendar-weekdays div {
    color: #999;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #334155;
    background: transparent;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.dark-mode .calendar-day {
    color: #ddd;
}

.dark-mode .calendar-day:hover {
    background: #3a3a3a;
    border-color: #555;
}

.calendar-day.other-month {
    color: #94a3b8;
    opacity: 0.5;
}

.dark-mode .calendar-day.other-month {
    color: #777;
}

.calendar-day.today {
    background: #4c7cb0;
    color: white;
    border-color: #4c7cb0;
    font-weight: 600;
}

.calendar-day.selected {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    font-weight: 600;
}

.dark-mode .calendar-day.selected {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.calendar-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.dark-mode .calendar-footer {
    border-top-color: #555;
}

.calendar-btn {
    flex: 1;
    padding: 10px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dark-mode .calendar-btn {
    background: #3a3a3a;
    border-color: #555;
    color: #aaa;
}

.calendar-btn:hover {
    background: #e2e8f0;
    border-color: #b0c4de;
    color: #4c7cb0;
}

.dark-mode .calendar-btn:hover {
    background: #4a4a4a;
    border-color: #777;
    color: #ccc;
}

.calendar-btn.primary {
    background: #4c7cb0;
    border-color: #4c7cb0;
    color: white;
}

.dark-mode .calendar-btn.primary {
    background: #666;
    border-color: #666;
}

.calendar-btn.primary:hover {
    background: #3a6aa0;
    border-color: #3a6aa0;
}

.dark-mode .calendar-btn.primary:hover {
    background: #777;
    border-color: #777;
}

.calendar-btn:last-child {
    flex: 0;
    min-width: 40px;
}

/* EVENT MODAL */
.event-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    width: 500px;
    max-width: 90vw;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.event-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.dark-mode .event-modal {
    background: #2d2d2d;
    border-color: #555;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.dark-mode .event-header {
    border-bottom-color: #555;
}

.event-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.dark-mode .event-header h3 {
    color: #ddd;
}

.close-event {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.dark-mode .close-event {
    background: #3a3a3a;
    border-color: #555;
    color: #aaa;
}

.close-event:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.event-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
}

.dark-mode .form-group label {
    color: #ccc;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: #334155;
    transition: all 0.3s ease;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea,
.dark-mode .form-group select {
    background: #3a3a3a;
    border-color: #555;
    color: #ddd;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4c7cb0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(76, 124, 176, 0.1);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group textarea:focus,
.dark-mode .form-group select:focus {
    border-color: #777;
    background: #4a4a4a;
    box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.event-footer {
    display: flex;
    gap: 15px;
}

.event-btn {
    flex: 1;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dark-mode .event-btn {
    background: #3a3a3a;
    border-color: #555;
    color: #aaa;
}

.event-btn:hover {
    background: #e2e8f0;
    border-color: #b0c4de;
    color: #4c7cb0;
}

.dark-mode .event-btn:hover {
    background: #4a4a4a;
    border-color: #777;
    color: #ccc;
}

.event-btn.primary {
    background: #4c7cb0;
    border-color: #4c7cb0;
    color: white;
}

.dark-mode .event-btn.primary {
    background: #666;
    border-color: #666;
}

.event-btn.primary:hover {
    background: #3a6aa0;
    border-color: #3a6aa0;
}

.dark-mode .event-btn.primary:hover {
    background: #777;
    border-color: #777;
}

/* CALENDAR NOTIFICATION */
.calendar-notification {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1003;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.calendar-notification.show {
    animation: slideDown 0.5s ease-out forwards;
}

.calendar-notification i {
    color: #10b981;
}

.dark-mode .calendar-notification {
    background: #2d2d2d;
    border-color: #555;
    color: #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}


.datetime-display {
    cursor: pointer;
    transition: all 0.3s ease;
}

.datetime-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dark-mode .datetime-display:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
