/* Revised Base Styles */
:root {
  --primary-accent: #2ec4b6;  /* Teal */
  --secondary-accent: #ff9f1c; /* Orange */
  --header-bg: #091a9be4;       /* Dark Navy */
  --body-bg: #4568a9c9;         /* Medium Navy */
  --footer-bg: #010425a4;       /* Dark Navy */
  --text-primary: #e0e1dd;    /* Off White */
  --text-secondary: #778da9;  /* Gray Blue */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  background: 
    linear-gradient(
      45deg,
      var(--body-bg) 0%,
      rgba(11, 9, 104, 0.872) 100%
    ),
    url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.005" numOctaves="3"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.4"/></svg>');
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Header */
.tech-header {
  padding: 1rem 4rem;
  background: var(--header-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
/* Logo Styles */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Main Name Style */
.logo-main {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  position: relative;
  color: white;
}
/* Gradient Effect */
.logo-gradient {
  background: linear-gradient(45deg, #00f5d4, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 0.2em;
}
/* Underline Animation */
.logo-gradient::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00f5d4;
  transition: width 0.4s ease, left 0.4s ease;
}
.logo-main:hover .logo-gradient::after {
  width: 100%;
  left: 0;
}
/* Subtitle - AI Developer */
.logo-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.3rem;
}
/* Decorative Line */
.subtitle-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00f5d4, transparent);
  margin: 0.5rem auto;
}

.logo {
  font-family: 'Space Mono', monospace;
  color: var(--primary-accent);
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: var(--primary-accent);
}

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

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

/* Main Content */
.main-content {
  flex: 1;
  margin-top: 80px;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Footer */
.tech-footer {
  padding: 1rem;
  background: var(--footer-bg);
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(2, 2, 43, 0.3);
}

/* Left Section */
.footer-left {
  display: flex;
  gap: 1.5rem;
  margin-left: 1.5rem;
}

/* Center Text */
.footer-center {
  text-align: center;
  color: white; /* Updated */
}

/* Right Section */
.footer-right {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: white; /* Updated */
}

/* Social Icons */
.social-icon {
  color: white; /* Updated */
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

/* Hover Effect */
.social-icon:hover {
  color: var(--primary-accent);
}

/* Typography */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  margin: 1rem 0;
  background: linear-gradient(45deg, #00f5d4, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: #87CEEB;
  margin-bottom: 2rem;
}

.glow-button {
  background: linear-gradient(45deg, #00f5d4, #0066ff);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glow-button:hover {
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
  transform: scale(1.05);
}
/*profile image*/
.profile-image {
  width: 150px; /* Adjust size as needed */
  height: 150px;
  object-fit: cover; /* Ensures proper scaling */
  object-position: center 20%; /* Moves image down inside the circular frame */
  border-radius: 50%; /* Keeps it circular */
  border: 3px solid cyan; /* Matches your theme */
}


/* Card Styles */
.card {
  background: rgba(13, 27, 42, 0.8);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
    /* About Page Specific Styles */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }  
  .tech-card {
    border: 1px solid var(--tech-border);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
  }  
  .tech-card:hover {
    transform: translateY(-5px);
  }
  .circuit-icon {
    font-size: 2.5rem;
    color: var(--cyber-green);
    margin-bottom: 1rem;
  }
  
  .skill-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .skill-list {
    list-style: none;
  }
  
  .skill-list li {
    margin-bottom: 1rem;
    position: relative;
  }
  
  .skill-bar {
    display: block;
    height: 4px;
    background: var(--cyber-green);
    margin-top: 0.5rem;
  }
  
  .timeline {
    border-left: 2px solid var(--tech-border);
    padding-left: 2rem;
    margin-left: 1rem;
  }
  
  .timeline-marker {
    width: 15px;
    height: 15px;
    background: var(--cyber-green);
    border-radius: 50%;
    position: absolute;
    left: -2.3rem;
    top: 0.5rem;
  }
/* Achievements Page Styles */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }  
  .achievement-card {
    border: 1px solid var(--tech-border);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
  } 
  .achievement-card:hover {
    transform: translateY(-5px);
  }  
  .achievement-icon {
    font-size: 2.5rem;
    color: var(--cyber-green);
    margin-bottom: 1rem;
  }  
  .achievement-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--terminal-text);
  }  
  .publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }  
  .publication-card {
    border: 1px solid var(--tech-border);
    padding: 1.5rem;
    position: relative;
  }
  
  .pub-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .pub-header i {
    font-size: 1.5rem;
    color: var(--cyber-green);
  }
  
  .pub-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .pub-venue {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 1rem;
  }
  
  .pub-link {
    color: var(--cyber-green);
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .cert-card {
    border: 1px solid var(--tech-border);
    padding: 2rem;
    text-align: center;
  }
  
  .cert-logo i {
    font-size: 2rem;
    color: var(--cyber-green);
    margin-bottom: 1rem;
  }

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--tech-border);
  }
  
  .info-card i {
    font-size: 1.8rem;
    color: var(--cyber-green);
  }
  
  .social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--tech-border);
    color: var(--terminal-text);
    text-decoration: none;
    transition: all 0.3s;
  }
  
  .social-btn:hover {
    border-color: var(--cyber-green);
    color: var(--cyber-green);
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--tech-border);
    color: var(--terminal-text);
    font-family: 'IBM Plex Mono', monospace;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  .submit-btn {
    background: var(--cyber-green);
    color: var(--deep-space);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    transition: transform 0.3s;
  }
  
  .submit-btn:hover {
    transform: translateY(-2px);
  }

  /* Resume Page Specific Styles */
.summary-section {
    margin-bottom: 3rem;
  }
  
  .summary-list {
    columns: 2;
    margin-top: 1rem;
  }
  
  .summary-list li {
    margin-bottom: 0.5rem;
  }
  
  .timeline {
    border-left: 2px solid var(--tech-border);
    padding-left: 2rem;
    margin-left: 1rem;
  }
  
  .timeline-item {
    margin-bottom: 3rem;
    position: relative;
  }
  
  .timeline-marker {
    width: 15px;
    height: 15px;
    background: var(--cyber-green);
    border-radius: 50%;
    position: absolute;
    left: -2.3rem;
    top: 0.5rem;
  }
  
  .company {
    color: var(--cyber-green);
    margin: 0.5rem 0;
  }
  
  .duration {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 1rem;
  }
  
  .tech-stack {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .tech-stack span {
    background: rgba(0, 255, 157, 0.1);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 3px;
  }
  
  .responsibilities {
    list-style: disc;
    padding-left: 1.5rem;
  }
  
  .responsibilities li {
    margin-bottom: 0.5rem;
  }
  
  .education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .education-card {
    border: 1px solid var(--tech-border);
    padding: 1.5rem;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .skill-category {
    margin-bottom: 2rem;
  }
  
  .skill-list {
    list-style: none;
  }
  
  .skill-list li {
    margin-bottom: 1rem;
  }
  
  .skill-bar {
    display: block;
    height: 4px;
    background: var(--cyber-green);
    margin-top: 0.5rem;
  }

  /* Portfolio Page Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .project-card {
    border: 1px solid var(--tech-border);
    padding: 1.5rem;
    transition: transform 0.3s;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
  }
  
  .project-link {
    color: var(--terminal-text);
    transition: color 0.3s;
  }
  
  .project-link:hover {
    color: var(--cyber-green);
  }
  
  .tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
  }
  
  .tech-stack span {
    background: rgba(0, 255, 157, 0.1);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 3px;
  }
  
  .project-features {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
  }
  
  .project-features li {
    margin-bottom: 0.5rem;
  }
  
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .showcase-card {
    border: 1px solid var(--tech-border);
    overflow: hidden;
  }
  
  .showcase-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .showcase-content {
    padding: 1.5rem;
  }
  
  .showcase-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--cyber-green);
    color: var(--deep-space);
    text-decoration: none;
    margin-top: 1rem;
    transition: transform 0.3s;
  }
  
  .showcase-btn:hover {
    transform: translateY(-2px);
  }
