
body, html {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: "Itim", cursive;*/
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

aside{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 20%;
    background-color: #f8fafc;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(30, 41, 59, 0.2);
    display: flex;
    flex-direction: column;
    
}

.no-bullets {
    list-style-type: none;
    color: #1e293b;
    margin-bottom: 100px;
    padding-left: 0;
  }

  .no-bullets li a {
    color: #1e293b;
    
  }

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    transition: all 0.3s ease;
    justify-content: flex-start;
}

.nav-item:hover {
    background-color: rgba(30, 41, 59, 0.05);
    padding-left: 8px;
    border-radius: 8px;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon {
    width: 20px;
    height: 20px;
}

.title{
    background-color: 0;
    margin-bottom: 40px;
    font-size: 23px;
    color: #1e293b;
    font-weight: 700;
}
.cardo{
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 100px;
    color: #0f172a;
    background-color: rgba(248, 250, 252, 0.85);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cardo-mid{
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    color: #0f172a;
    background-color: rgba(248, 250, 252, 0.85);
    margin-bottom: 20px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Project preview hover reveal styles */
.project-preview {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 14px 14px;
    transition: bottom 0.4s ease;
    z-index: 1;
}

.project-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.7));
    border-radius: 0 0 14px 14px;
}

.project-content {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Hover effects */
.cardo:hover .project-preview,
.cardo-mid:hover .project-preview {
    bottom: 0;
}

.cardo:hover .project-content,
.cardo-mid:hover .project-content {
    transform: translateY(-10px);
}

.cardo:hover,
.cardo-mid:hover {
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


#right {
    position: fixed;
    left: 20%;
    top: 0;
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    overflow-y: auto;
    z-index: 1;
}

#right::before {
    content: '';
    position: fixed;
    top: 0; left: 20%; right: 0; bottom: 0;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}

#right > * {
    position: relative;
    z-index: 3;
}

.pill-container {
    display: inline-block;
    padding: 5px 10px;
    background-color: #1e293b;
    border-radius: 999em;
    font-size: 16px;
    line-height: 1.25;
    color: #ffffff;
  }
  
.social-links {
    display: flex;
    justify-content: space-between;
    width: 30%;
}

.profile {
    margin-bottom: 50px;
    margin-top: 20px;
    text-align: left;
}

.profile-image {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.rounded-profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1e293b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-subtitle{
    color: #64748b;
    font-weight: 700;
}

.right-subtitle2{
    color: #64748b;
    
}

.anchor-nodeco{
    text-decoration: none;
}

.home-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80vh;
}

.home-profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1e293b;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    margin-bottom: 24px;
}

.home-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
}

.home-role {
    font-size: 1.25rem;
    color: #334155;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.home-socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
}

.home-social-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border-radius: 50%;
    background: #f1f5f9;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.07);
}

.home-social-icon:hover {
    background: #e0e7ef;
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(30,41,59,0.13);
}

/* Contact Cards Grid - update for horizontal card layout */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: #f3f4f6;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30,41,59,0.07);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 270px;
    min-height: 80px;
    position: relative;
    transition: box-shadow 0.2s;
    gap: 1.2rem;
    background-color: rgba(248, 250, 252, 0.85);
}
.contact-card:hover {
    box-shadow: 0 4px 24px rgba(30,41,59,0.13);
}

.profile-logo-container {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
}
.profile-pic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}
.contact-logo {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(30,41,59,0.10);
    font-size: 1.2rem;
    color: #374151;
    border: 1.5px solid #e5e7eb;
}
.gmail-logo { color: #ea4335; font-weight: bold; font-family: Arial, sans-serif; font-size: 1.3rem; }
.linkedin-logo svg { color: #0a66c2; }
.github-logo svg { color: #24292f; }

.contact-info {
    font-size: 1.08rem;
    color: #1e293b;
    font-weight: 600;
    text-align: left;
    flex: 1 1 auto;
    margin: 0 1rem;
    word-break: break-all;
}

.contact-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
}
.icon-btn {
    background: #e5e7eb;
    color: #1e293b;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.18s;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
}
.icon-btn:hover {
    background: #d1d5db;
}
.copy-btn {
    background: #f1f5f9;
}
.copy-btn:hover {
    background: #cbd5e1;
}

/* Tooltip styles for accessibility */
.icon-btn[title] {
    position: relative;
}
.icon-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    left: 110%;
    top: 50%;
    transform: translateY(-50%);
    background: #374151;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

.contact-card.gmail .icon-btn[title]:hover::after {
    content: attr(title);
}


/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
    .contact-card {
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        gap: 0.7rem;
        text-align: center;
    }
    .contact-info {
        margin: 0.5rem 0;
        text-align: center;
    }
    .contact-actions-vertical {
        flex-direction: row;
        gap: 0.7rem;
        justify-content: center;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  #hamburger {
    display: block !important;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1101;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    cursor: pointer;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
  }
  
  #hamburger:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  
  /* Adjust main content to take full width on mobile */
  #right {
    left: 0;
    width: 100%;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    background-color: #f8fafc;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(30, 41, 59, 0.2);
    z-index: 1102;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
  }
  .sidebar.sidebar-mobile-show {
    transform: translateX(0);
  }
  .sidebar-mobile-hide {
    transform: translateX(-100%);
  }
  #sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.2);
    z-index: 1100;
  }
  #sidebar-overlay.active {
    display: block;
  }
  
  /* Push page content down to avoid hamburger button */
  #right {
    padding-top: 80px;
  }
  
  /* Adjust blur overlay for mobile */
  #right::before {
    left: 0;
  }
  
  /* Adjust title positioning on mobile */
  .title {
    margin-top: 20px;
  }
}

@media (min-width: 769px) {
  #hamburger, #sidebar-overlay {
    display: none !important;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 20%;
    background-color: #f8fafc;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(30, 41, 59, 0.2);
    transform: none !important;
    box-shadow: none;
  }
  #right {
    left: 20%;
    width: 80%;
  }
}
