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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Top Navigation Bar */
.navbar {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #5bc0de;
}

.settings-icon {
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px 20px;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.sidebar-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.sidebar-bio {
    color: #666;
    margin-bottom: 25px;
    text-align: center;
    font-size: 14px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

/* Icon before each item */
.sidebar-links li::before {
    content: '';
    margin-right: 10px;
    width: 16px;
    display: inline-block;
    text-align: center;
}

/* Specific icons */
.sidebar-links li:nth-child(1)::before { content: '✉️'; } /* Email */
.sidebar-links li:nth-child(2)::before { content: '📞'; } /* Phone */
.sidebar-links li:nth-child(3)::before { content: '📍'; } /* Location */
.sidebar-links li:nth-child(4)::before { content: '🐙'; } /* GitHub */
.sidebar-links li:nth-child(5)::before { content: '🔗'; } /* LinkedIn */


/* Link styling */
.sidebar-links li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.sidebar-links li a:hover {
    color: #0073e6; /* blue hover */
}


.sidebar-links .resume-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4fb3ff; /* sky blue */
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.sidebar-links .resume-btn:hover {
    background-color: #2a98ff; /* darker sky blue */
    transform: translateY(-2px);
}


/* Main Content */
.main-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Page Content Styles */
.page-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.page-content h2 {
    font-size: 24px;
    margin: 5px 0 10px 0;
    color: #333;
}

.page-content h3 {
    font-size: 20px;
    margin: 10px 0 10px 0;
    color: #5bc0de;
    text-decoration: underline;
}

.page-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.google-scholar-link {
    color: #5bc0de;
    text-decoration: underline;
}

.paper-meta {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.citation {
    background-color: #f8f9fa;
    padding: 10px;
    border-left: 4px solid #5bc0de;
    margin: 15px 0;
    font-size: 14px;
}

.download-links {
    margin: 15px 0;
}

.download-links a {
    color: #5bc0de;
    text-decoration: underline;
    margin-right: 15px;
}


/* Loading Animation */
.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}


.site-title a {
    text-decoration: none;
}

.logo {
    height: 40px; /* Adjust size as needed */
    width: auto;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}
/* Home Page Styles */
.home-hero {
    text-align: center;
    padding: 1px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.home-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 300;
}

.home-name {
    font-size: 48px;
    color: #5bc0de;
    margin-bottom: 1px;
    font-weight: bold;
}

.home-designation {
    font-size: 24px;
    color: #666;
    margin-bottom: 1px;
    font-weight: 400;
}

.home-affiliation {
    font-size: 18px;
    color: #999;
    font-style: italic;
}

.home-description {
    margin-bottom: 40px;
    line-height: 1.8;
}

.home-description p {
    font-size: 16px;
    margin-bottom: 20px;
}

.home-highlights {
    margin-bottom: 40px;
}

.interests-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.interests-list li {
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 4px solid #5bc0de;
}

.home-quick-links {
    margin-bottom: 40px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quick-link-card {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.quick-link-card:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.quick-link-card h4 {
    color: #5bc0de;
    margin-bottom: 8px;
    font-size: 18px;
}

.quick-link-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.home-contact {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #5bc0de;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .home-name {
        font-size: 36px;
    }
    
    .home-title {
        font-size: 24px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-list {
        grid-template-columns: 1fr;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar-content {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 20px;
    }
}







/* Certifications Section */
.certifications-section {
  max-width: 900px;
  margin: auto;
  line-height: 1.4;
  margin-top: 0.1rem;
}

.certifications-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.certifications-section p {
  margin-bottom: 1rem;
  color: #555;
}

.certifications-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.certifications-list li {
  margin-bottom: 0.6rem;
  color: #000; /* certificate name stays black */
}

.certifications-list a {
  color: #0073e6;   /* only (Link) is blue */
  text-decoration: none;
  font-size: 0.95rem;
}

.certifications-list a:hover {
  text-decoration: underline;
}



/* Achievements Section */
.achievements-section {
  max-width: 900px;
  margin: auto;
  line-height: 1.4;
  margin-top: 0.1rem;
}

.achievements-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.achievements-section p {
  margin-bottom: 1rem;
  color: #555;
}

.achievements-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.achievements-list li {
  margin-bottom: 0.8rem;
}

.achievement-name {
  font-weight: bold;
  color: #000; /* Name stays black */
}

.achievement-desc {
  color: #555;
  margin-left: 0.3rem;
}

.achievement-time {
  color: #777;
  margin-left: 0.3rem;
  font-size: 0.95rem;
}

/* Gallery Section */
.gallery-section {
  max-width: 900px;
  margin: auto;
  margin-top: 3rem;
  line-height: 1.4;
}

.gallery-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery-section p {
  margin-bottom: 1rem;
  color: #555;
}

/* Grid layout for images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-desc {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
}



/* Projects Section */
.projects-section {
  max-width: 900px;
  margin: auto;
  margin-top: 0.1rem;
}

.projects-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem; /* small space between boxes */
}

.project-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #fafafa;
}

.project-name {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #000;
}

.project-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
}

.project-box a {
  color: #0073e6;
  text-decoration: none;
  font-size: 0.9rem;
}

.project-box a:hover {
  text-decoration: underline;
}



/* for education and experience*/

/* Shared box-style for Experience & Education */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* small space between boxes */
}

.card {
  background: #fff;
  border: 1px solid #47B3ff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.card-header .year {
  font-size: 0.9rem;
  color: #777;
}

.institution {
  font-style: italic;
  margin: 0.2rem 0 0.6rem 0;
  color: #444;
}

.details {
  list-style: disc;
  margin-left: 1.2rem;
}

.details li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #333;
}
