:root {
  --bg-primary: #0f0f10; /* Dark Background */
  --bg-secondary: #000000; /* Slightly Lighter Dark */
  /* Text Colors */
  --text-primary: #ffffff; /* White Text */
  --text-secondary: #b3b3b3; /* Light Gray Text */
  --text-accent: #ff9800; /* Accent Color */
  /* Button Colors */
  --btn-primary: #ff5733; /* Red-Orange */
  --btn-primary-hover: #e64a19;
  --btn-secondary: #ee7904; /* Blue */
  --btn-secondary-hover: #0b3f6df6;

  --border-primary: #444; /* Dark Border */
  --border-secondary: #666; /* Lighter Gray Border */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-primary);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  transition: all ease 1s;
}

/* Container with padding */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header section with gradient and profile image */
header {

  background-image: url(images/laptop-2620118_1280.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-primary);
  padding: 60px 0;
  text-align: center;
  border-bottom: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in-out;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #fff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgb(16, 33, 51);
}

header h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: var(--btn-secondary);
}

header p {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* About Me section */
section#about {
  background-color: var(--bg-secondary);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}

section#about:hover {
  transform: translateY(-10px); /* Hover effect for About Me section */
}

section#about h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--btn-secondary);
}

section#about p {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align:justify;
}
/* Skills Section */
section#skills {
  margin-top: 60px;
  background-color: var(--bg-secondary);
}

section#skills h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}
.my-text {
  color: var(--text-primary);
}

.skills-text {
  color: var(--btn-secondary); /* Blue */
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
}

.skill {
  background-color: var(--bg-primary);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 45%; /* Flexible width for responsiveness */
  min-width: 250px;
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: translateY(-10px); /* Hover effect for skill box */
}

.skill-name {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.skill-name i {
  font-size: 24px;
  margin-right: 10px;
  color: var(--btn-primary);
}

.progress-bar {
  width: 100%;
  background-color: var(--border-primary);
  border-radius: 10px;
  height: 12px;
}

.progress {
  height: 100%;
  border-radius: 10px;
  background-color: var(--btn-secondary);
  transition: width 0.5s ease-out;
}

/* For smaller screens, adjust the layout */
@media (max-width: 768px) {
  .skill {
    width: 100%; /* Stack skill boxes on smaller screens */
  }
}

/* Icons font awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* Projects Section */
#projects {
  margin-top: 60px;
  background-color: var(--bg-secondary);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#projects h2,
#project ,#simple-projects{
background-color: #000;
  font-size: 2.5rem;
  text-align: center;
  margin: 20px 0;
  color: var(--btn-secondary); /* Blue color */
}

/* Grid layout for projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Individual project card */
.project-card {
  background-color: var(--bg-primary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(1, 15, 49, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px); /* Hover effect for project cards */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Project image styling */
.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  box-shadow: 0 0 0 2px rgb(255, 111, 0);
  transform: scale(1.05); /* Zoom in image on hover */
}

/* Project information */
.project-info {
  padding: 20px;
  text-align: center;
  color: var(--text-primary);
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--btn-secondary);
}

.project-info p {
  font-size: 16px;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.project-info .btn {
  padding: 5px 20px;
  font-size: 16px;
    background: linear-gradient(135deg, #f57c03, #eb6003);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.project-info .btn:hover {
  background-color: var(--btn-secondary-hover);
  box-shadow: 0 0 20px rgb(219, 120, 0);

}

/* Responsive Design */
@media (max-width: 768px) {
  section#projects h2 {
    font-size: 26px;
  }

  .projects-grid {
    grid-template-columns: repeat(
      auto-fill,
      minmax(240px, 1fr)
    ); /* Adjust grid layout */
  }

  .project-card img {
    height: 180px;
  }
}

/* education section */
section#education h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--btn-secondary);
}
section#education p {
  font-size: 1.2rem;  
  margin-bottom: 20px;
  color: var(--text-primary);
}

/* certification */
#certifications{
  background: #000;
}
section#certifications h2 {
  font-size: 3rem;
  text-align: left;
  margin-bottom: 20px;
  color: var(--btn-secondary); /* Blue color */
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  text-align: center;
}

.certificate-card {
  background: var(--bg-secondary);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.certificate-card h3 {
  font-size: 18px;
  margin: 5px 0;
}

.certificate-card p {
  font-size: 14px;
  color: gray;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Download resume button */
#download button {
  padding: 15px 30px;
  font-size: 18px;
  /* background-color: var(--btn-secondary); */
  background: linear-gradient(135deg, #f57c03, #eb6003);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s ease;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#download button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgb(219, 120, 0);
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 3rem;
  }

  header p {
    font-size: 1rem;
  }

  section#about h2,
  section#skills h2,
  section#projects h2 {
    font-size: 1.7rem;
  }

  ul li {
    /* font-size: 16px; */
    padding: 15px;
  }

  #download button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.6rem;
  }

  header p {
    font-size: 0.8rem;
  }

  section#about h2,
  section#skills h2,
  section#projects h2 {
    font-size: 1.3rem;
  }

  ul li {
    font-size: 1rem;
    padding: 12px;
  }

  #download button {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

/* Keyframe animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tools & Technologies */
#tools {
  margin-top: 16px;
background: var(--bg-secondary);
  padding: 40px 0;
}

#tools .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#tools h2 {
  font-size: 3rem;
  color: var(--btn-secondary);
  text-align: center;
  margin-bottom: 20px;
}

#tools p {
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tools-list li {
  background-color: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tools-list li:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tools-list li i {
  color: #ffffff;
  margin-right: 15px;
}

.tools-list li strong {
  font-size: 18px;
  color: var(--btn-secondary);
}

.tools-list li p {
  margin: 0;
  color: #777;
}

@media (max-width: 768px) {
  #tools h2 {
    font-size: 30px;
  }

  #tools p {
    font-size: 16px;
  }

  .tools-list li {
    padding: 15px;
  }

  .tools-list li i {
    font-size: 35px;
  }

  .tools-list li strong {
    font-size: 16px;
  }
}

#send-message {
  background-color: var(--bg-secondary);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 60px auto;
  color: var(--text-primary, #e0e0e0);
  font-family: "Segoe UI", sans-serif;
}

#send-message h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--btn-secondary, #00ffcc);
  letter-spacing: 1px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 18px;
  background-color: #2a2a2a;
  padding: 12px 16px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.contact-item:hover {
  background-color: #333;
}

.contact-item i {
  color: #ffffff;
  font-size: 22px;
  width: 30px;
  margin-right: 1rem;
  min-width: 30px;
}

.contact-item a {
  text-decoration: none;
  
  color: rgb(219, 120, 0);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ff5100;
}

@media (max-width: 600px) {
  #send-message {
    padding: 10px;
  }
}

/* Footer */
footer {
  background-color: #000000;
  color: white;
  padding: 5px;
  text-align: center;
  margin-top: 2px;
}
.contact-icons {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.contact-icons a {
  font-size: 1.6rem;
  color: var(--text-primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
  transform: scale(1.2);
  color: var(--btn-secondary);
}
