body {
  font-family: "poppins", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    padding-top: 60px; /* Space for fixed navbar */
    background-color: #333; /* Dark mode by default */
    color: #f8f9fa; /* Light text for contrast */
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Header Section */
header {
  background: url("images/e.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
h2,h3{
  font-weight: 600;
  color: #0d6efd;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}
/* Portfolio Cards */
.card {
  transition: 0.3s;
  background: #444;
  color: #fff;
}

.card:hover {
  transform: scale(1.05);
}

/* Cards for Experience */
#skills-experience .card {
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  background: #444;
  color: #fff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

#skills-experience .card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
}


/* Contact Form */
form {
  max-width: 500px;
  margin: auto;
}
img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
/* Contact Section */
.sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.social-icons a {
  font-size: 24px;
  margin-right: 15px;
  color: #0d6efd;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ff9800;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
  padding: 10px 20px;
}

.btn-outline-primary {
  padding: 10px 20px;
}
.btn-outline-dark:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.navbar a {
  text-decoration: none;
  padding: 10px 20px;
  color: #444;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}
.navbar a:hover {
  color: #ff9800;
}
html {
  scroll-behavior: smooth;
}
/*here section*/
/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #333, #555); /* Dark grey gradient */
  color: white;
  padding: 50px;
}

/* Container */
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  width: 100%;
}

/* Profile Section */
.profile-section {
  flex: 0 0 auto; /* Ensures it doesn't stretch */
  margin-right: 40px; /* Space between image and content */
}

/* Profile Picture */
.hero .profile-pic {
  width: 180px; /* Adjust size */
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Content */
.hero-content {
  flex: 1;
  text-align: left;
}

/* Name Styling */
.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-in-out;
}

/* Highlighted Name */
.hero .highlight {
  background: linear-gradient(45deg, #f7df1e, #61dbfb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typing Animation */
.typing {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  border-right: 3px solid white;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 3s steps(20, end) forwards, blink 0.8s infinite;
}

/* Button */
.btn-primary {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #61dbfb;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #f7df1e;
  color: black;
}
.skills-section{
    padding: 50px 0;
}
.skill{
    margin-bottom: 20px;
}
.progress{
    background-color: #555;
    border-radius: 6px;
    overflow: hidden;
    height: 12px;
}
.progress-bar{
    background-color: #0d6efd;
    height: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    line-height: 12px;
    border-radius: 6px;
    transition: width 0.6s ease-in-out;
}

/* Skill Icons */
.skill i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}

.fa-html5 { color: #f16529; }
.fa-js { color: #f7df1e; }
.fa-node { color: #68a063; }
.fa-react { color: #61dbfb; }

/* Adjust sections for small screens */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    .container {
        padding: 15px;
    }
    .navbar {
        flex-direction: column;
    }
    .navbar-nav {
        text-align: center;
    }
}

/* Fix columns stacking properly */
@media (max-width: 576px) {
    .row {
        flex-direction: column;
    }
}
/* Responsive Typography */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.3rem;
  }
}
/* Keyframe Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .profile-section {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .hero-content {
    margin-left: 0;
  }

  .typing {
    font-size: 1.2rem;
  }
}