body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #007BFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #007BFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sticky-nav {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  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: #007BFF;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007BFF;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 10px;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #007BFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


 @media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 300px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    flex-direction: row; /* Keep nav bar in one line */
    align-items: center;
  }

  .section {
    padding: 60px 20px;
  }

  .home-section {
    flex-direction: column;
  }

  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
}


.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image img.editable-image {
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img.editable-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

.home-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #007BFF;
}

.home-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
}

.center-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 60px 0;
}
body {
  position: relative;
  background: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./17.jpg');
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* Adjust this number for transparency */
  z-index: -1;
  pointer-events: none;
}


.btn {
  padding: 12px 28px;
  background-color: deepskyblue;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 191, 255, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  background-color: #0099ff;
  box-shadow: 0 5px 12px rgba(0, 153, 255, 0.6);
}

footer {
  background-color: #007BFF;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.section h2 {
  color: #007BFF;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.projects-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.project,
.skill {
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project img,
.skill img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project:hover,
.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.project img:hover,
.skill img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.project p,
.skill p {
  margin-top: 15px;
  font-weight: 600;
  color: #007BFF;
  font-size: 1.1rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.about-image img {
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#contact-form button {
  padding: 15px 30px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 200px;
  margin: 20px auto 0;
}

#contact-form button:hover {
  background-color: #0056b3;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #333;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fa-github:hover { background-color: #333; color: white; }
.fa-twitter:hover { background-color: #1DA1F2; color: white; }
.fa-facebook-f:hover { background-color: #1877F2; color: white; }
.fa-instagram:hover { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); color: white; }
.fa-whatsapp:hover { background-color: #25D366; color: white; }
.fa-envelope:hover { background-color: #EA4335; color: white; }

.floating-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.floating-notification.show {
  transform: translateX(0);
}

.notification-header {
  background: #4CAF50;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.notification-header i {
  font-size: 1.2rem;
}

.notification-header h4 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
}

.notification-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

.notification-body {
  padding: 15px 20px;
}

.notification-actions {
  display: flex;
  padding: 10px;
  gap: 10px;
}

.notification-actions a {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
}

.whatsapp-btn { background: #25D366; }
.email-btn { background: #EA4335; }

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .nav-links {
    margin-top: 15px;
  }

  .section {
    padding: 60px 20px;
  }

  .home-section {
    flex-direction: column;
  }

  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
