 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to right, #f8f9fa, #e0e0e0);
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background 0.5s, color 0.5s;
}

body.dark {
  background: linear-gradient(to right, #141414, #1e1e1e);
  color: #fff;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 15px 30px;
  transition: box-shadow 0.3s ease;
  z-index: 1000;
  background:#0f0707;
}
header.scrolled{
  border-bottom: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 4px 12px rgba(0,0,0,0.9);
}
.navbar-brand{
  color: #fff;
  font-weight: bold;
}
.nav-link{
  color: #fff;
  font-weight: 500;
}

.nav-link:hover{
  color: #ff8a00;
}

.hero {
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085') center/cover no-repeat;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.theme-toggle {
  margin-left: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.content {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeInDown 1s ease-in-out;
}

.content h1 {
  font-size: 50px;
}

.content p {
  margin-top: 10px;
}

.typing_text{
  border-right: 3px solid #ff9800;
  animation: blink 0.6s step-end infinite;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  color: white;
  font-weight: bold;
}

@keyframes blink {
    0%, 100%{
      border-color: #ff9800 ;
    }
    50%{
      border-color: transparent;
    }
}

.button{
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s, background 0.3s;
}

.button:hover {
  background: #e68900;
  transform: scale(1.1);
  color: #fff;
}

section {
  padding: 80px 20px;
  text-align: center;
}

/* about icon styling */
.fa-brands{
  font-size: 1.2rem;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  margin: 2px;
  background:#555;
  color: #ccc;
  font-weight: bold;
  transition: transform .4s ease background .4s ease;
}
.fa-brands:hover{
  transform: scale(1.1);
  background:#333;
}



.skills-section {
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;

}

.heading {
  margin-bottom: 20px;
  margin-top: 20px;
}

.para {
  font-size: 1.2rem;
  color: #aaa;
  font-weight: bold;
  margin-bottom: 40px;
}

.skills-container {
  display: grid;
  gap: 20px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.skill-card h2 {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.percent {
  color: #ff8a00;
  font-weight: bold;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
  position: relative;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  border-radius: 50px;
  width: 0;
  animation: fill-bar 2s ease forwards;
}

@keyframes fill-bar {
  from { 
    width: 0; 
  }
  to { 
    height: 100%; 
  }
}


.card{
  display:inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: left;
  padding: 20px;
  background:transparent;
  width:100%;
  overflow:hidden;
  margin-bottom: 1rem;
}
.card img{
  width:100%;
  height:auto;
  object-fit:cover;
  display: block;
  transition: .4s ease-in-out;
}
.card img:hover{
  filter: brightness(80%);
}
.card h2{
  margin-top: 10px;
}

.technology{
  font-style: italic;
}

.link{
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.card .link a{
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

.card .link a:hover:hover{
  text-decoration: underline;
}

h3{
  text-align: left;
}
.icons{
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

form{
  text-align: left;
}

.btn{
  background-color: #ff8a00;
}
.btn:hover{
  background-color: #e68900;
}

/* footer */
footer {
  padding: 50px 20px;
  text-align: center;
}

.footer-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.footer-container p {
  /* color: #bbb; */
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-block;
  background-color:#ff8a00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #e68900;
  color: #fff;
}

.social-links {
  margin-top: 25px;
}

.social-links a {
  /* color: #ccc; */
  margin: 0 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #e68900;
}

.copyright {
  font-size: 0.85rem;
  /* color: #555; */
  margin-top: 30px;
  display: block;
}









