* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: white;
}

.navbar {
  position: fixed;
  width: 95%;
  top: 0;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba (0, 0, 0, 0.9);
  border-bottom: 2px solid #4b0000;
  backdrop-filter: blur(15px);
  z-index: 2;
}

.logo {
  font-size: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #8b0000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
}

.login-btn {
  padding: 8px 18px;
  border: 1px solid #8b0000;
  border-radius: 20px;
  background: transparent;
}
.section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}
.banner {
  background: radial-gradient(circle, #4b0000 10%, #000000 40%);
}
.hero-container {
  width: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: wheat; */
}
.hero-left {
  width: 50%;
}
.hero-left h1 {
  font-size: 50px;
  margin-bottom: 20px;
  background-color: #dddddd37;
  backdrop-filter: blur(5px);
  padding: 10px;
  border-radius: 12px;
}
.hero-left span {
  color: #8b0000;
}
.hero-text {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #ddd;
  padding: 10px;
}
.hero-btn {
  text-decoration: none;
  padding: 12px 20px;
  color: white;
  background-color: #8b0000;
  border-radius: 12px;
  margin-left: 8px;
  margin-top: 50px;
}
.hero-right {
  width: 40%;
  text-align: center;
}
.hero-right img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  /* object-fit: cover; */
  border: 5px solid white;
}

/* about */
.about {
  background: #000;
  padding: 0.5%;
  border: 1px solid #1a1a1a;
}
.about-container {
  width: 85%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* flex-direction: column; */
  gap: 50px;
}
.about-text {
  flex: 1;
}
.about-tile {
  font-size: 45px;
  margin-bottom: 20px;
}
.about-tile span {
  color: #8b0000;
}
.about-text p {
  font-size: 18px;
  color: #ccc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btnm {
  margin-top: 25px;
  margin-left: -10px;
}

.info-item {
  font-size: 15px;
  color: #aaa;
}
.info-item strong {
  color: #8b0000;
}
.about-card {
  flex: 1;
  background: rgba(139, 0, 0, 0.5);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #4b0000;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.about-card h3 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.skill-point {
  background-color: #111;
  border: 1px solid #4b0000;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.5s ease;
}
.skill-point:hover {
  background: #8b0000;
  transform: translateY(-5px);
}
/* about */

/* Education */
.education {
  background: radial-gradient(circle at bottom, #1a0000 0%, #000 70%);
  overflow: hidden;
}
.edu-container {
  width: 90%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.edu-title {
  font-size: 45px;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.education span {
  color: #8b0000;
}
.timeline {
  width: 100%;
  position: relative;
}
/* .timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(transparent, #8b0000, transparent);
  top: 0;
  left: 50%;
  bottom: 50%;
  margin-left: -2px;
} */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}
.left {
  left: 0;
  text-align: right;
}
.right {
  left: 50%;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #8b0000;
  border: 4px solid #000;
  border-radius: 50%;
  top: 25px;
  z-index: 10;
  box-shadow: 0 0 10px #8b0000;
}
.left .timeline-dot {
  right: -10px;
}
.right .timeline-dot {
  left: -10px;
}
.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 30px;
  border-radius: 15px;
  border: 1px solid rgba(139, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  transition: 0.4s ease;
}
.timeline-content:hover {
  border-color: #8b0000;
  transform: scale(1.03);
  background: rgba(139, 0, 0, 0.3);
}
.timeline-yr {
  display: block;
  color: #8b0000;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 14px;
}
.timeline-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

/* ex */
.experience {
  background-color: #000;
  min-height: 100vh;
  padding: 80px 0;
}

.exp-container {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exp-title {
  font-size: 45px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.exp-title span {
  color: #8b0000;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  width: 100%;
}
.exp-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid #333;
  padding: 30px;
  border-radius: 15px;
  transition: 0.4 ease;
  position: relative;
  overflow: hidden;
}
.exp-card::before {
  contain: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #8b0000;
}
.exp-card:hover {
  transform: translateY(-10px);
  border-color: #8b0000;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
  background: rgba(139, 0, 0, 0.05);
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.exp-role h3 {
  font-size: 22px;
  color: white;
}

.exp-card p {
  color: #8b0000;
  font-weight: bold;
  margin-top: 5px;
}

.exp-details {
  list-style: none;
}

.exp-details li {
  list-style: none;
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.exp-details li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #8b0000;
  font-weight: bold;
}

/* projects */
.projects {
  background-color: #000;
  min-height: 100vh;
  padding: 100px 0;
}
.proj-container {
  width: 85%;
  text-align: center;
}

.proj-title {
  font-size: 45px;
  margin-bottom: 50px;
}

.proj-title span {
  color: #8b0000;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.proj-card {
  background-color: #111;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #222;
  transition: 0.3s;
}

.proj-card:hover {
  border-color: #8b0000;
  transform: scale(1.1);
}
.proj-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.proj-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.5s;
}
.proj-card:hover .proj-overlay {
  opacity: 1;
}

.proj-card:hover .proj-img img {
  transform: scale(1.1);
}

.overlay-text p {
  font-size: 14px;
  margin-bottom: 15px;
  color: white;
}

.view-btn {
  display: inline-block;
  padding: 8px 20px;
  background: white;
  color: #8b0000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 14px;
}

.proj-info {
  padding: 20px;
  text-align: left;
}
.proj-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.proj-tags {
  display: flex;
  gap: 10px;
}

.proj-tags span {
  font-size: 12px;
  background-color: #fff;
  color: #8b0000;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #4b0000;
}

.contact {
  background: radial-gradient(circle at top, #1a0000 0%, #000 70%);
  min-height: 100vh;
}

.contact-container {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conatct-title {
  font-size: 45px;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  gap: 50px;
  width: 100%;
  align-items: flex-start;
  padding: 25px;
  
}
.contact-content h2{
  
}
.contact-info-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.3s;
}
.contact-card:hover {
  border-color: #8b0000;
  transform: translateX((10px));
}
.contact-card .icon {
  font-size: 25px;
  color: #8b0000;
}

.contact-card h4 {
  font-size: 18px;
  color: white;
}

.contact-card p {
  color: #aaa;
  font-size: 14px;
}

.contact-form {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: white;
  font-family: Arial, sans-serif;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8b0000;
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.contact-form button {
  cursor: pointer;
  border: none;
  align-self: flex-start;
}

.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  background: #000;
}

.footer p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: #8b0000;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
}

.social-links a:hover {
  color: white;
}
