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

body {
    background-color: #0b0c10;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #66fcf1;
}

.logo span {
    color: #c5c6c7;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:hover {
    color: #5D62E4;
}

/****************************************/
/************* Hello Section ***********/
/***************************************/
.hello {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center; 
    text-align: center;               
    box-sizing: border-box;  
    padding: 40px 20px;
}

/* Reset margins and ensure children align to center */
.hello .greeting,
.hello .name-title,
.hello .role-title,
.hello .subtext {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.role-title {
    font-size: 24px;
    color: #00cec9;
    margin-bottom: 20px;
    min-height: 32px; /* Prevents hero section jitter as text clears */
}

/* Blinking Cursor Styling */
.cursor {
    display: inline-block;
    color: #00cec9;
    font-weight: 300;
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

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

.greeting {
    color: #a4b0be;
    font-size: 18px;
    margin-bottom: 10px;
}

.name-title {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(90deg, #6c5ce7, #00cec9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.role-title {
    font-size: 24px;
    color: #00cec9;
    margin-bottom: 20px;
}

.subtext {
    color: #a4b0be;
    font-size: 16px;
    margin-bottom: 35px;
}

/* Gradient & Outline Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, #6c5ce7, #00cec9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.3);
}

.btn-secondary {
    border: 2px solid #00cec9;
    color: #fff;
    background: transparent;
}

/* Circular Social Icons */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #1f2833;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: #00cec9;
    color: #0b0c10;
}
/********************************************/
/********* About Section Base ***************/
/********************************************/
.about-section {
  padding: 50px 20px;
  background-color: #0b0f19;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading & Accent Underline */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5D62E4, #00BDC4);
  border-radius: 2px;
  margin-bottom: 48px;
}

/* Two-Column Grid Layout */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

/* Image Container Styling */
.about-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #1e293b;
}

/* Text Content Styling */
.about-content {
  display: flex;
  flex-direction: column;
}

.role-subtitle {
  color: #00BDC4;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .role-subtitle {
    font-size: 1.4rem;
  }
}


/********************************************/
/*********** Education Section **************/
/********************************************/
.project-card .institution {
  color: #00BDC4;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/********************************************/
/************ Projects Section **************/
/********************************************/
.projects-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.projects-section h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 28px;
  font-weight: 700;
  text-align: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #5D62E4;
}

.project-card h3 {
  color: #f8fafc;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}

.project-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.tags span {
  font-size: 0.8rem;
  margin-right: 8px;
  color: #00BDC4;
}

/* Container Layout */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* Link Styling */
.project-link {
  color: #00BDC4;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.project-link:hover {
  color: #5D62E4;
}

/********************************************/
/*************** Skill Section **************/
/********************************************/
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-badge {
  background-color: #1e293b;
  color: #5D62E4; /* Custom accent color */
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #334155;
}

.skills-section {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6c5ce7, #00cec9);
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

/* Two-column layout */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    text-align: left;
}

.skill-item {
    margin-bottom: 24px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #c5c6c7;
    margin-bottom: 8px;
}

/* Base track */
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #1f2833;
    border-radius: 10px;
    overflow: hidden;
}

/* Colored fill line */
.progress {
    height: 100%;
    background: linear-gradient(90deg, #6c5ce7, #00cec9);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.tools-section {
  padding: 25px 20px;
  max-width: 1100px;
  margin: 0 auto;
 
}

.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.tools-header h2 {
  font-size: 32px;
  color: #ffffff;
}

.tools-header .highlight {
  color: #00cec9;
}

/* Filter Pill Buttons */
.filter-buttons {
  background: #1e272e;
  padding: 6px;
  border-radius: 30px;
  display: flex;
  gap: 5px;
}

.filter-btn {
  background: transparent;
  border: none;
  color: #a4b0be;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: #00cec9;
  color: #0f172a;
}

/* Tool Card Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 60px;
  width: 100%;
  justify-content: center;
}

.tool-card {
  background: #1e272e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tool-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.tool-card:hover {
  transform: translateY(-5px);
  border-color: #00cec9;
}

.tool-card i {
  font-size: 40px;
  justify-content: center;
}

.tool-card span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.tool-card.hide {
  display: none;
}

/* Custom Icon Badge for SPSS & STATA */
.font-badge {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: 800;
  color: #00cec9;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
}

/********************************************/
/************** Contact Section ************/
/********************************************/

.contact-section {
  background-color: #0b0c10;
  color: #ffffff;
  padding: 30px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading & Accent Underline */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5D62E4, #00BDC4);
  border-radius: 2px;
  margin-bottom: 40px;
}

/* Contact Info Layout */
.contact-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Gradient Icon Circles */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BDC4, #5D62E4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text .label {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-text .value {
  color: #94a3b8;
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-text a.value:hover {
  color: #00BDC4;
}

/* Normal and Visited State */
.contact-text a,
.contact-text a:visited {
  color: #94a3b8;
  text-decoration: none;
}

/* Hover State */
.contact-text a:hover {
  color: #00BDC4;
}

/* Active State (When Clicked) - Stops the red turn */
.contact-text a:active {
  color: #00BDC4;
}
/* Social Links Bar */
.social-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-self: center;
  margin-top: 24px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #1a202c;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background-color: #5D62E4;
  color: #ffffff;
}
/* "Scroll to Top" button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00BDC4, #5D62E4);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  
  /* Initially hidden until the user scrolls down */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}

/* Class added by JavaScript to display the button */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* Footer Section */
.footer {
  width: 100%;
  background-color: #0b131e; 
  padding: 25px 0;           
  text-align: center;         
  border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

.footer p {
  color: #a0aec0;            
  font-size: 0.9rem;          
  margin: 0;                 
  font-family: inherit;       
}

