/* Global */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #4facfe, #00f2fe);
}
.navbar-brand {
  font-weight: bold;
  color: white !important;
}
.nav-link {
  color: white !important;
  font-weight: 500;
}
.nav-link:hover {
  color: #ffc107 !important;
}
.navbar .form-switch {
  display: flex;
  align-items: center;
}
.navbar .form-check-label {
  margin-left: 0.5rem;
  color: white;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}
.hero p {
  font-size: 1.2rem;
}

/* Section Titles */
.section-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* About Section */
#about {
  background: #e0f7fa;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Projects */
#projects .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#projects .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.card-title {
  font-weight: 600;
}
.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Testimonials */
#testimonials .card {
  border-left: 5px solid #0d6efd;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
}
#testimonials .card:hover {
  transform: translateY(-5px);
}

/* Contact */
#contact {
  background: linear-gradient(to right, #ffecd2, #fcb69f);
}
#contact .form-label {
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #343a40;
  color: white;
}

/* Dark Mode Styling */
.dark-mode {
  background-color: #121212 !important;
  color: #f1f1f1 !important;
}

.dark-mode .navbar {
  background-color: #212121 !important;
}
.dark-mode .navbar-brand,
.dark-mode .nav-link,
.dark-mode .form-check-label {
  color: #f1f1f1 !important;
}

.dark-mode #about,
.dark-mode #projects,
.dark-mode #testimonials,
.dark-mode #contact {
  background-color: #1c1c1c !important;
  color: #f1f1f1 !important;
}

.dark-mode .section-title {
  color: #ffc107 !important;
}
.dark-mode p,
.dark-mode .card-text,
.dark-mode .card-title {
  color: #ddd !important;
}

.dark-mode .card {
  background-color: #2b2b2b;
  border: 1px solid #444;
}
.dark-mode footer {
  background-color: #000;
}
.form-check-input {
  cursor: pointer;
}
.navbar .form-check-label {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: white;
}
#about .border {
  background-color: #fff;
}

.dark-mode #about .border {
  background-color: #2c2c2c;
  border-color: #444;
}
.dark-mode #skills {
  background-color: #1c1c1c;
  color: #f1f1f1;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.timeline li {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid #007bff;
}

.timeline li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -9px;
  width: 12px;
  height: 12px;
  background-color: #007bff;
  border-radius: 50%;
}
