/* === Base Setup === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'DM Sans', sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  scroll-behavior: smooth;
  transition: all 0.3s ease-in-out;
  line-height: 1.6;
}

#page-content {
  flex: 1;
  padding-bottom: 50px;
}

/* === Navbar === */
.navbar {
  background-color: #121212;
  box-shadow: 0 2px 8px rgba(77, 184, 255, 0.1);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-brand {
  font-weight: 700;
  font-style: italic;
  font-size: 1.8rem;
  color: #4db8ff !important;
  transition: color 0.3s ease;
}

.nav-link {
  font-weight: 600;
  margin-left: 15px;
  color: #e0e0e0 !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #4db8ff;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #4db8ff !important;
}

.nav-link:hover::after {
  width: 100%;
}

/* === Hero Banner === */
.hero-banner {
  background: linear-gradient(145deg, #080808, #1a1a1a);
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.hero-banner .btn-primary {
  background-color: #4db8ff;
  border: none;
  color: #0d0d0d;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.hero-banner .btn-primary:hover {
  background-color: #66e0ff;
  transform: scale(1.05);
}

.hero-banner .btn-outline-warning {
  border: 2px solid #ffbb33;
  color: #ffbb33;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 28px;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.hero-banner .btn-outline-warning:hover {
  background-color: #ffbb33;
  color: #0d0d0d;
}

/* === Section Headings === */
h2, h3 {
  color: #4db8ff;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* === About Section === */
.card {
  background-color: #1a1a1a;
  color: #e0e0e0;
  border: none;
  box-shadow: 0 4px 12px rgba(77, 184, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
}

.card p {
  margin-bottom: 0.8rem;
}

/* === Fix for text-muted === */
.text-muted {
  color: #bbbbbb !important;
}

/* === Timeline === */
.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -12px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: #4db8ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4db8ff;
}

.timeline-content {
  margin-left: 20px;
  border-left: 3px solid #4db8ff;
  padding-left: 15px;
}

/* === Project Cards === */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a1a;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(77, 184, 255, 0.05);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(77, 184, 255, 0.2);
}

.project-links a {
  color: #4db8ff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-links a:hover {
  text-decoration: underline;
  color: #66e0ff;
}

/* === Skills Carousel === */
.skills-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-top: 2px solid #4db8ff;
  border-bottom: 2px solid #4db8ff;
  padding: 20px 0;
  margin-bottom: 2rem;
  background-color: #111;
}

.skills-marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
  gap: 40px;
  align-items: center;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.skill-icon img {
  width: 60px;
  height: auto;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.skill-icon img:hover {
  transform: scale(1.2);
}

/* === Resume === */
.resume-preview-image {
  border: 4px solid #4db8ff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(77, 184, 255, 0.1);
}

/* === Contact Section === */
.contact-info-card, .contact-form {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(77, 184, 255, 0.05);
}

.contact-send-btn {
  background-color: #4db8ff;
  border-color: #4db8ff;
  color: #0d0d0d;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.contact-send-btn:hover {
  background-color: #66e0ff;
  transform: scale(1.05);
}

/* === Social Links === */
.social-links-footer a {
  color: #4db8ff;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2rem;
  margin: 0 10px;
}

.social-links-footer a:hover {
  transform: scale(1.2);
  color: #66e0ff;
}

/* === Footer === */
footer {
  background-color: #121212;
  color: #999;
  font-size: 0.9rem;
  padding: 1.5rem 0;
  border-top: 1px solid #2a2a2a;
  box-shadow: 0 -2px 8px rgba(77, 184, 255, 0.05);
  text-align: center;
}

/* === Animations === */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1s forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 1s forwards;
}

.animate-zoom-in {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s forwards;
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.5);
  animation: scaleIn 1s forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* === Keyframes === */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes scaleIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* === Responsive Styles === */
@media (max-width: 767px) {
  .skills-marquee-track {
    gap: 20px;
  }

  .timeline-content {
    padding-left: 10px;
  }

  .skill-icon img {
    width: 40px;
  }

  .hero-banner {
    padding: 80px 20px;
  }

  .hero-banner .btn-outline-warning {
    margin-top: 10px;
    margin-left: 0;
  }
}
