:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #8B5CF6;
  --secondary: #EC4899;
  --secondary-dark: #DB2777;
  --accent: #06B6D4;
  --dark: #1F2937;
  --darker: #111827;
  --light: #F8FAFC;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --success: #10B981;
  --warning: #F59E0B;
  
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --border-color: #E5E7EB;
  --card-bg: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.95);
}

body.dark-mode {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --border-color: #334155;
  --card-bg: #1E293B;
  --header-bg: rgba(30, 41, 59, 0.95);
  
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --primary-light: #A78BFA;
  --secondary: #F472B6;
  --accent: #22D3EE;
  --light: #1E293B;
  --dark: #F1F5F9;
  --gray: #94A3B8;
  --gray-light: #334155;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

header {
  background: var(--header-bg);
  padding: 1.2rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  font-family:cursive;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-toggle {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mode-toggle:hover {
  transform: translateY(-2px) rotate(15deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border-color: var(--primary);
  color: var(--primary);
}

nav .menu-toggle i{
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
}
.menu-toggle {
  display: none;
}

.show-ul.nav-links{
  display: flex !important;
  order: 3;
  width: 100%;
  flex-direction: column;
  padding: 1rem 0;
  gap: 0;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 1rem;
  border: 1px solid var(--border-color);
}

.show-ul.nav-links li {
  width: 100%;
}

.show-ul.nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.show-ul.nav-links a:last-child {
  border-bottom: none;
}

#hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  color: white;
}

body.dark-mode #hero {
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}

#hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -200px;
  right: -200px;
}

#hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -150px;
  left: -150px;
}

body.dark-mode #hero::before,
body.dark-mode #hero::after {
  background: rgba(139, 92, 246, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
}

#hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.usp {
  margin: 1rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.scroll-down {
  font-size: 2rem;
  margin: 2rem 0;
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.1);
  color: white;
}

section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

section h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-primary);
  font-weight: 800;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

section h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  font-weight: 300;
}

#projects {
  background: var(--bg-secondary);
}

.project-cards {
  gap: 30px;
  justify-content: center;
}

.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

body.dark-mode .project-card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.project-card img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  transition: 0.4s ease;
}

.project-card .img-container {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  position: relative;
}

.project-card .img-container .layout {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  top: 0;
  border-radius: 12px;
  transition: 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.project-card .img-container:hover .layout {
  opacity: 0.9;
}

.project-card .img-container:hover img {
  transform: scale(1.1);
}

.project-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.project-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 60px;
  line-height: 1.6;
}

.tech-stack {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-stack span {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: 0.3s ease;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.tech-stack span:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}

body.dark-mode .tech-stack span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.project-actions {
  display: flex;
  gap: 1rem;
}

.project-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
  padding: 12px 20px;
}

.project-actions .btn:first-child {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}

.project-actions .btn:last-child {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.project-actions .btn:last-child:hover {
  background: var(--primary);
  color: #fff;
}

#skills {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: white;
}

body.dark-mode #skills {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

#skills h2 {
  color: white;
}

#skills h2::after {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

#skills h2 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#skills .skill-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode #skills .skill-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#skills .skill-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

#skills img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}



#skills p {
  font-size: 1.1rem;
  color: white;
  margin-top: 0;
  font-weight: 600;
}

.owl-carousel {
  padding: 20px 5%;
}

.owl-prev, .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

body.dark-mode .owl-prev,
body.dark-mode .owl-next {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.owl-prev:hover, .owl-next:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: white !important;
  transform: translateY(-50%) scale(1.1);
}

.owl-prev {
  left: -25px;
}

.owl-next {
  right: -25px;
}

.owl-nav button span {
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
}

#education {
  background: var(--bg-secondary);
}

#education .timeline {
  position: relative;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1000px;
}

#education .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

#education .timeline-item {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  width: 45%;
  position: relative;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

#education .timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

body.dark-mode #education .timeline-item,
body.dark-mode .project-card,
body.dark-mode .contact-container form,
body.dark-mode .contact-container div {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#education .timeline-item:nth-child(even) {
  left: 0;
}

#education .timeline-item:nth-child(odd) {
  left: 55%;
}

#education .timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 24px;
  height: 24px;
  background: var(--card-bg);
  border: 4px solid var(--primary);
  border-radius: 50%;
  left: -12px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

#education .timeline-item:nth-child(even)::before {
  left: auto;
  right: -12px;
  transform: translateX(50%);
}

#education .timeline-item .date {
  font-size: 0.9rem;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  width: fit-content;
}

#education .timeline-item h3 {
  font-size: 1.4rem;
  margin: 10px 0 5px;
  color: var(--text-primary);
  font-weight: 700;
}

#education .timeline-item h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

#education .timeline-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  list-style: none;
  padding: 0;
}

.tags li {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-weight: 500;
  transition: all 0.3s ease;
}

body.dark-mode .tags li {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tags li:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

body.dark-mode .tags li:hover {
  background: var(--primary-light);
}

#contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

body.dark-mode #contact {
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}

#contact h2 {
  color: white;
}

#contact h2::after {
  background: linear-gradient(90deg, white, rgba(255,255,255,0.7));
}

#contact h2 span {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container form, .contact-container div {
  width: 45%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .contact-container form,
body.dark-mode .contact-container div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

form input, form textarea {
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 500;
}

body.dark-mode form input,
body.dark-mode form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

form input::placeholder, form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode form input::placeholder,
body.dark-mode form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

form input:focus, form textarea:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info p {
  margin: 1.5rem 0;
  color: white;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
}

body.dark-mode .contact-info p {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info p:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-info i {
  color: white;
  width: 20px;
  font-size: 1.2rem;
}

form button.btn {
  background: linear-gradient(135deg, var(--accent) 0%, #0EA5E9 100%);
  color: white;
  width: fit-content;
  padding: 1rem 2.5rem;
  margin: 1rem auto 0;
  font-size: 1.1rem;
  border: none;
}

form button.btn:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, var(--accent) 100%);
}

form p {
  margin: 0;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  color: white;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

footer {
  background: var(--darker);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

body.dark-mode footer {
  background: #0F172A;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer-socials {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

body.dark-mode .footer-socials a {
  background: rgba(255, 255, 255, 0.15);
}

.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-5px) rotate(10deg);
  color: white;
}

.scroller {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 15px;
  position: fixed;
  z-index: 1000;
  bottom: 30px;
  right: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 1.3rem;
}

.scroller:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.6);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.glow-text {
  text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

body.dark-mode .logo {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .nav-links a:hover {
  color: var(--primary-light);
}

body.dark-mode .btn {
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .contact-container form, .contact-container div {
    width: 90%;
  }
  
  nav.nav-container {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none !important;
  }
  
  #education .timeline-item {
    width: 100%;
    left: 0 !important;
  }
  
  #education .timeline::before {
    left: 20px;
  }
  
  #education .timeline-item::before {
    left: 8px !important;
    transform: translateX(0);
  }
  
  section h2 {
    font-size: 2.5rem;
  }
  
  .nav-controls {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 1rem;
  }
  
  .contact-container form, .contact-container div {
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .owl-prev, .owl-next {
    display: none !important;
  }
  
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .usp {
    font-size: 1.1rem;
  }
  
  .scroller {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .mode-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}