body {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  color: #e0f7fa;
  min-height: 100vh;
}

html,
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif !important;
  scroll-behavior: smooth;
}

.navbar {
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: #00e5ff;
  cursor: pointer;
}
.navbar-brand:active {
  color: #00e5ff;
}
.navbar-brand:hover {
  color: #00e5ff;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 400;
  letter-spacing: 1px;
}

.nav-link:hover {
  color: aqua !important;
  border-radius: 5px;
  transition: all 0.1s ease;
}

.hero-section {
  background: rgba(55, 55, 55, 0.292);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.06);
  padding: 40px 30px;
}

.hero-section h1 {
  color: #ffffff;
  font-weight: 700;
}

.hero-section p {
  color: #ffffff;
}

.card {
  background: #23272b;
  color: #e0f7fa;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 229, 255, 0.07);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.18);
}

.card-title {
  color: #00e5ff;
}

.form-control {
  background: #181c1f;
  color: #e0f7fa;
  border: 2px solid #00bcd4;
}

.form-control:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.15);
  background: #23272b;
  color: #e0f7fa;
}

.btn-primary {
  background: linear-gradient(90deg, #00e5ff 0%, #0097a7 100%);
  border: none;
  color: #111418;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0097a7 0%, #00e5ff 100%);
  color: #fff;
}

footer {
  background: #111418;
  color: #b2ebf2;
  border-top: 1px solid #00bcd4;
}

::-webkit-scrollbar {
  width: 8px;
  background: #23272b;
}

::-webkit-scrollbar-thumb {
  background: #00bcd4;
  border-radius: 4px;
}

#abt-sec {
  line-height: 30px;
}

.lead {
  font-size: 18px;
}

.tech-btn {
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid;
  letter-spacing: 0.5px;
  cursor: pointer;
  pointer-events: auto;
}

#skills .skill-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1rem;
  background: #181c24;
  color: #fff;
  box-shadow: 0 4px 24px 0 #00e5ff22;
  min-height: 170px;
  max-width: 140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#skills .skill-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 32px 0 #00e5ff55;
  background: #232a36;
}

#skills .skill-img {
  filter: drop-shadow(0 0 8px #00e5ff55);
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

#skills .skill-label {
  font-size: 1rem;
  font-weight: 800;
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  #skills .skill-card {
    max-width: 100%;
    min-height: 140px;
  }
}

.footer-text {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icon:hover {
  transform: scale(1.05);
  transition: all 0.1s ease-in-out;
}

input::placeholder,
textarea::placeholder {
  color: #544848 !important;
  font-size: 16px;
  font-weight: 550;
  opacity: 1;
}
.result-message {
  padding: 12px 20px;
  margin-top: 10px;
  border-radius: 8px;
  font-weight: bold;
  font-family: sans-serif;
  text-align: center;
  opacity: 1;
  transition: opacity 1s ease, transform 0.5s ease;
}

.loading {
  background-color: #f0f0f0;
  color: #333;
  animation: pulse 1s infinite;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.projects-section {
  padding: 80px 0;
  color: #e6f1ff;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.section-title .highlight {
  color: aqua;
  font-weight: 700;
  font-size: 30px;
}

.section-title .title-decoration {
  display: block;
  height: 2px;
  width: 100px;
  background: #64ffda;
  margin-top: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: #252525;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-links {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 15px;
  background: rgba(10, 25, 47, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-links {
  opacity: 1;
}

.link-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  margin: 0 5px;
  background: #64ffda;
  color: #0a192f;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.link-button.github {
  background: transparent;
  color: #64ffda;
  border: 1px solid #64ffda;
}

.link-button:hover {
  background: #52d1b8;
}

.link-button.github:hover {
  background: rgba(100, 255, 218, 0.1);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  margin: 0 0 15px;
  color: aqua;
  font-size: 1.4rem;
}

.project-info p {
  margin: 0 0 20px;
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.tech-tags span {
  font-size: 0.75rem;
  color: aqua;
  background: rgba(0, 200, 153, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}
