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

/* Body Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1a1a40);
  background-size: 400% 400%;
  animation: gradientBackground 15s ease infinite;
  color: white;
  scroll-behavior: smooth;
}
/* === Animated Abhinay Portfolio Title === */
.animated-portfolio {
  font-weight: bold;
  font-size: 1.5rem;
  animation: colorChange 10s infinite linear;
}

@keyframes colorChange {
  0%   { color: red; }
  20%  { color: orange; }
  40%  { color: yellow; }
  60%  { color: green; }
  80%  { color: blue; }
  100% { color: violet; }
}



/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #12002f;
  position: sticky;
  top: 0;
  z-index: 100;
/* This will style all navbar links to white */
nav a {
  color: white;
  text-decoration: none;
  padding: 0 1rem;
  font-weight: bold;
}

/* Optional: change color on hover */
nav a:hover {
  color: #00ffff; /* Aqua hover */
}



}
nav .left {
  font-size: 2.2rem;
  font-weight: bold;
  color: green;
}
nav .right ul {
  display: flex;
  list-style: none;
  gap: 20px;
}
nav .right ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}
nav .right ul li a:hover {
  color: #00ffff;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #000021;
  color: white;
  text-align: center;
}
.imageWrapper {
  flex: 1 1 250px;
}
.introWrapper {
  flex: 1 1 300px;
}
.profilePicLarge {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}
.heroImage {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.right.bg-image {
  width: 400px;
  height: 400px;
  background-image: url('Images/development.png');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.subtitle {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-top: 10px;
}
.subtitle .highlight {
  color: red;
  font-size: 2.2rem;
}
.profilePic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}
.introText p {
  font-size: 1.2rem;
}
.introText .purple {
  color: #a020f0;
  font-size: 1.8rem;
  font-weight: bold;
}
#element {
  color: #00ffff;
  font-size: 1.2rem;
}
.rightContent img {
  width: 350px;
  max-width: 100%;
}

/* Tech Stack Section */
#techstack {
  padding: 2rem;
  background: #0e0e2c;
  text-align: center;
  color: yellow; /* updated color */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: yellow; /* updated for tech stack */
  margin-bottom: 40px;
}

.tech-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

/* Education Section Styling */
.educationSection {
  padding: 60px 20px;
  background-color: #a020f0; /* light green background */
  text-align: center;
}

.educationSection h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #007bff; /* blue heading */
}

.educationTimeline {
  max-width: 800px;
  margin: 0 auto;
}

.eduItem {
  background: #fff;
  margin: 20px 0;
  padding: 20px;
  border-left: 5px solid #3498db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.eduItem h3 {
  margin-bottom: 8px;
  color: #2c3e50;
}

.eduItem p {
  margin: 4px 0;
  color: #333;
}

/* Projects Section */
.secondSection h2 {
  color: red;
  text-align: center;
  font-size: 2.8rem;
}

.secondSection {
  background-color: #007bff; /* blue background */
  padding: 60px 20px;
  color: white; /* optional: makes text more readable */
}


.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 40px;
}
.projectsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.projectCard {
  background: #0909d3;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #fff;
}
.projectCard h3 {
  font-size: 1.5rem;
  color: #ffcc00;
  margin-bottom: 10px;
}
.projectCard p {
  margin: 8px 0;
  line-height: 1.4;
}
.projectCard a {
  display: inline-block;
  margin-top: 10px;
  color: #00ffff;
  font-weight: bold;
  text-decoration: none;
}
.projectCard a:hover {
  text-decoration: underline;
}
.projectCard:hover {
  transform: translateY(-8px);
  background-color: #2a2a55;
}

/* Experience Section */

/* Skills Section */
.skillsSection h2 {
  font-size: 2.5rem;       /* makes heading bigger */
  color: darkgreen;        /* sets heading color */
  text-align: center;
  margin-bottom: 20px;
}
.skillsSection {
  background-color: #d63384; /* dark pink */
  padding: 60px 20px;
  color: white; /* optional: improves text readability */
}


.skillsGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.skillItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}
.skillItem img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}
.skillItem span {
  color: #ccc;
}

.codingProfilesSection {
  padding: 40px 20px;
  background-color: #c71585; /* Dark Pink (MediumVioletRed) */
  text-align: center;
  color: black;
}


.codolio-profile {
  text-align: center;
  margin-top: 20px;
}

.codolio-logo {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.codolio-profile a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.codolio-logo:hover {
  transform: scale(1.05);
}

/* Contact Section */
#contact {
  padding: 3rem;
  background: purple;
  text-align: center;
  color: green; /* changed to green */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  padding: 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}
.contact-form button {
  padding: 2.5rem;
  background: #00ffff;
  color: #ff00ff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Resume Section */
#resume {
  background: purple;
  text-align: center;
  color: red; /* changed to purple */
  padding: 3rem;
}

.resume-btn {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 2.5rem;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #4B0082; /* Indigo/Purple tone */
  padding: 2.5rem 1rem 1rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icons {
  margin-bottom: 1.5rem;
}

.social-icons a {
  margin: 0 15px;
  color: #ffffff;
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #00ffff; /* Aqua hover */
}

.thank-you {
  font-size: 1.2rem;
  color: #00bfff; /* DeepSkyBlue */
  margin-bottom: 0.5rem;
}

.quote {
  color: #ff4500; /* OrangeRed */
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer .copyright {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #87ceeb; /* SkyBlue */
}

/* Highlights */
.highlight {
  font-weight: 900;
  font-size: 1.8rem;
  color: #00FFFF;
  animation: pop 2s infinite alternate;
}
.emphasize {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00ffff;
  animation: pulse 1.5s infinite;
}

/* Animated Name */
/* 🎨 Animated Gradient Text for Name */
.colorful-name {
  background: linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🌙 Dark Mode Base Styles */
body.dark-mode {
  background-color: #121212;
  color: #f5f5f5;
}

.dark-mode header,
.dark-mode nav,
.dark-mode section,
.dark-mode footer {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

.dark-mode .projectCard,
.dark-mode .tech-item,
.dark-mode .skillItem,
.dark-mode .eduItem {
  background-color: #2a2a2a;
  border-color: #444;
}

.dark-mode .resume-btn,
.dark-mode .contact-form button {
  background-color: #444;
  color: white;
}

#toggle-theme {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
}

  