/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
  transform: scale(1.1); /* Slight scale-up on hover */
  color: #ff6347; /* Change color on hover */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px; /* Space between links */
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 10px;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ff6347;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  color: #ff6347; /* Change text color on hover */
}

/* Hero Section */
.hero {
  height: calc(100vh - 60px);
  background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  animation: fadeIn 2s ease-in-out;
  color: #333;
}

.hero-content h1 .highlight {
  color: #ff6347;
}

.hero-content p {
  font-size: 1.5rem;
  animation: fadeIn 3s ease-in-out;
  color: #333;
}

.cta-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6347;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 10px;
  transition: background 0.3s ease;
}
section {
  scroll-margin-top: 80px;
} 
.btn-outline {
  background: transparent;
  border: 2px solid #ff6347;
  color: #ff6347;
}

.btn:hover {
  background: #e5533d;
}

.btn-outline:hover {
  background: #ff6347;
  color: #fff;
}

/* About Section */
.about {
  padding: 25px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  color: #333;
}
.about h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #ff6f61, #ffcc99);
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.about h2:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* Projects Section */
.projects {
  padding: 100px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  color: #333;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Unique Colors for Each Project Card */
.project-card:nth-child(1) {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.project-card:nth-child(2) {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.project-card:nth-child(3) {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.project-card:nth-child(4) {
  background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

/* Hover Effects for Each Project Card */
.project-card:nth-child(1):hover {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.project-card:nth-child(2):hover {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.project-card:nth-child(3):hover {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}
.project-card:nth-child(4):hover {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}
/* Certifications Section */
.certifications {
  padding: 100px 20px;
  text-align: center;
}

.certifications h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  color: #333;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Certification Card Styles */
.certification-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Unique Colors for Each Certification Card */
.certification-card:nth-child(1) {
  background: linear-gradient(135deg, #ff6f61, #ffcc99);
}

.certification-card:nth-child(2) {
  background: linear-gradient(135deg, #6b5b95, #a8c0ff);
}

.certification-card:nth-child(3) {
  background: linear-gradient(135deg, #88d8b0, #cbf1f5);
}

/* Hover Effects for Each Certification Card */
.certification-card:nth-child(1):hover {
  background: linear-gradient(135deg, #ff4a4a, #ff9a8b);
}

.certification-card:nth-child(2):hover {
  background: linear-gradient(135deg, #4a4e69, #8e9aaf);
}

.certification-card:nth-child(3):hover {
  background: linear-gradient(135deg, #66cc99, #99e6e6);
}

/* Contact Section */
.contact {
  padding: 100px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ff6347;
}

.contact-link i {
  margin-right: 10px;
}

.skills{
  margin-top: 80px;
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f4f4f4;
}
.skills h2{
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  color: #333;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 50px auto;
 }
.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tech-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.tech-logo p {
  margin-top: 10px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px); /* Blur background */
}

.modal-content {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  animation: slideIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 2rem;
  margin: 0;
}

.modal-header p {
  font-size: 1rem;
  color: #ddd;
}

.modal-body {
  padding: 10px 0;
}

.details {
  margin-bottom: 20px;
}

.details h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ff6347;
}

.details ul {
  list-style: none;
  padding: 0;
}

.details ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.details ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #ff6347;
}

.tech-icons {
  display: flex;
  gap: 10px;
}

.tech-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.tech-icons img:hover {
  transform: scale(1.2);
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
}

.modal-footer .btn {
  margin: 0 10px;
}

.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff6347;
}
#github-projects .project-card:nth-child(1) {
  background: linear-gradient(135deg, #f6d365, #fda085);
}
#github-projects .project-card:nth-child(2) {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}
#github-projects .project-card:nth-child(3) {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}
#github-projects .project-card:nth-child(4) {
  background: linear-gradient(135deg, #cfd9df, #e2ebf0);
}