* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #00bfff;
  --accent-color: #00bfff;
  --dark-bg: #0f0f0f;
  --darker-bg: #191919;
  --light-text: #fff;
  --medium-bg: #222;
  --card-bg: #1a1a1a;
  --skill-bg: #161616;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background-color: var(--medium-bg);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  align-items: center;
}

.logo img {
  width: 150px;
}

.navbar {
  display: flex;
}

.navbar div {
  padding: 0 15px;
}

.navbar a {
  color: var(--light-text);
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  color: var(--light-text);
  font-size: 24px;
  cursor: pointer;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 15px;
}

.avatar img {
  width: 200px;
  border-radius: 50%;
}

.about {
  text-align: center;
  padding-top: 100px;
}

.about-text {
  max-width: 700px;
  margin: 30px auto;
}

.about-text h1 {
  font-size: 40px;
  line-height: 1.2;
  color: var(--light-text);
  margin-bottom: 20px;
}

.about-text h1 > span {
  color: var(--accent-color);
}

.about-text p {
  font-size: 18px;
  margin-top: 30px;
  line-height: 1.6;
}

.about-btn {
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  width: 180px;
  height: 55px;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.btn-primary {
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #000;
  font-weight: 600;
}

.btn-secondary {
  background: none;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-weight: 600;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: #000;
}

.primary-heading {
  text-align: center;
  font-size: 35px;
  margin-bottom: 50px;
  color: white;
}

.heading-project {
  color: white;
}

.projects {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 40px 0;
}

.project-item {
  background: var(--card-bg);
  margin: 20px;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  min-width: 300px;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-10px);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-title {
  padding: 20px;
}

.project-title p {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.project-title h3 {
  color: var(--light-text);
  font-size: 22px;
}

/* Skills Section */
.skills-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.category {
  background: var(--skill-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.1);
}

.category h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.category h3 i {
  margin-right: 0.5rem;
}

.skill {
  margin-bottom: 1rem;
}

.skill span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.bar {
  background: #333;
  border-radius: 6px;
  height: 10px;
  position: relative;
  overflow: hidden;
}

.fill {
  background: var(--primary-color);
  height: 100%;
  width: var(--p);
  transition: width 0.5s ease;
  position: relative;
}

.fill::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -28px;
  right: 0;
  background: var(--primary-color);
  color: #000;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.fill:hover::after {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background-color: var(--primary-color);
  padding: 0;
  width: 100%;
  border-top: 1px solid #333;

}

.role {
  margin-top: 5px;
  font-size: 16px;
  color: #ccc;
}

.contact {
  width: 100%;
  
}

.contact p {
  margin: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .projects {
    flex-direction: column;
    align-items: center;
  }
  
  .project-item {
    width: 100%;
    max-width: 500px;
  }
  
  .about-text h1 {
    font-size: 36px;
  }
  
  .container {
    padding: 50px 0;
  }
  
  .skills-section {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 0;
  }
  
  .logo img {
    width: 110px;
  }
  
  .navbar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: var(--medium-bg);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: all 0.3s ease;
  }
  
  .navbar.active {
    left: 0;
  }
  
  .navbar div {
    padding: 15px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .about {
    padding-top: 100px;
  }
  
  .avatar img {
    width: 150px;
  }
  
  .about-text h1 {
    font-size: 32px;
  }
  
  .about-text {
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 150px;
    height: 50px;
    font-size: 16px;
    margin: 0 5px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 40px 0;
  }
  
  .skills-section {
    padding: 1.5rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 40px 0;
  }
  
  .about {
    padding-top: 80px;
  }
  
  .avatar img {
    width: 120px;
  }
  
  .about-text h1 {
    font-size: 28px;
  }
  
  .about-text p {
    font-size: 16px;
  }
  
  .btn-primary, .btn-secondary {
    width: 140px;
    height: 45px;
    font-size: 14px;
    margin: 5px;
    display: block;
    margin: 10px auto;
  }
  
  .about-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .project-item {
    margin: 10px 0;
  }
  
  footer p {
    padding: 0 15px;
  }
  
  .skills-section {
    padding: 1rem 0.5rem;
  }
  
  .contact p {
    font-size: 13px;
  }
}
.footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-left h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-left p {
  margin: 0.25rem 0;
}

.footer-left a {
  color: var(--light-text);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  
}
.footer-separator {
  margin: 2rem auto 1rem;
  border-top: 1px solid #333;
  opacity: 0.7;
} 
.social-icons {
justify-content: center;
display: flex;
gap: 16px;
align-items: center;
}
.social-icons a svg {
width: 36px;
height: 36px;
    fill: white;
    transition: fill 0.3s ease;
    }
.social-icons a:hover svg.instagram { fill: #e1306c; }
.social-icons a:hover svg.twitter { fill: #1da1f2; }
.social-icons a:hover svg.github   { fill: #888; }
