/* Base Styles & Variables */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #8338ec;
  --accent-color: #ff006e;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
}

[data-theme="dark"] {
  --dark-color: #f8f9fa;
  --light-color: #1a1a2e;
  --gray-color: #adb5bd;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  gap: 0.9rem; /* or even 0.1rem for tighter spacing */
}


.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #2a75e6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.highlight {
  color: var(--primary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-color);
  font-size: 1.1rem;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  margin-top: -10px; /* Moves the text upward */
  display: inline-block; /* Required for margin to take effect */
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  display: inline-block;
  transform: translateY(-38px); /* Also moves text upward */
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* Horizontal center */
  gap: 30px; /* Spacing between links */
  padding: 0;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: #fff; /* Change to your preferred color */
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #00ffe1; /* Hover color */
}


/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  animation: rotate 2s linear infinite;
}

.spinner-track {
  stroke: rgba(0, 0, 0, 0.1);
}

.spinner-path {
  stroke: var(--primary-color);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.loader-name {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.name-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-status {
  color: var(--gray-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-dots::after {
  content: '';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@keyframes dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60% {
    content: '...';
  }
  80%, 100% {
    content: '';
  }
}

/* Navigation */

.navbar-brand img {
  margin-top: 10px; /* Adjust value as needed */
}

.navbar-brand img {
  transform: translateY(15px); /* Moves image 10px downward */
}

.navbar-brand img {
  width: 80px;       /* Increase size - adjust as needed */
  height: 80px;      /* Keep it same as width for perfect circle */
  margin-top: 10px;  /* Move the logo down */
}



.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background-color: rgba(26, 26, 46, 0.95);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.navbar-brand img {
  border-radius: 50%;
}

.navbar-nav ul {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(58, 134, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  position: relative;
  transition: var(--transition);
}

[data-theme="dark"] .hamburger {
  background-color: var(--light-color);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  transition: var(--transition);
}

[data-theme="dark"] .hamburger::before,
[data-theme="dark"] .hamburger::after {
  background-color: var(--light-color);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.navbar-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.navbar-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.dark-mode-toggle:hover {
  transform: translateY(-3px) scale(1.1);
}

.toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.light-icon,
.dark-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}

.light-icon {
  opacity: 1;
}

.dark-icon {
  opacity: 0;
}

[data-theme="dark"] .light-icon {
  opacity: 0;
}

[data-theme="dark"] .dark-icon {
  opacity: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray-color);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo img {
  width: 500px;           /* मोठा सर्कल */
  height: 500px;
  border-radius: 50%;     /* सर्कल बनवण्यासाठी */
  object-fit: cover;      /* फोटो नीट crop होईल */
  object-position: center top; /* फेस सर्कलमध्ये वरच्या बाजूला मधोमध बसवण्यासाठी */
  box-shadow: var(--shadow);
}


.about-text {
  flex: 1;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-item {
  background-color: rgba(58, 134, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.about-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skills-category {
  background-color: rgba(58, 134, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.skills-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.skills-category h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-info img {
  width: 24px;
  height: 24px;
}

.skill-level {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="dark"] .skill-level {
  background-color: rgba(255, 255, 255, 0.1);
}

.level-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

.skills-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-level {
  width: 20px;
  height: 8px;
  border-radius: 4px;
}

.legend-level.beginner {
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
}

.legend-level.intermediate {
  background: linear-gradient(90deg, #a1c4fd, #c2e9fb);
}

.legend-level.advanced {
  background: linear-gradient(90deg, #84fab0, #8fd3f4);
}

.legend-level.expert {
  background: linear-gradient(90deg, #a6c1ee, #fbc2eb);
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.timeline-content {
  position: relative;
  width: calc(50% - 2rem);
  padding: 1.5rem;
  background-color: rgba(58, 134, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 1rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.timeline-content ul {
  padding-left: 1rem;
}

.timeline-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

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

.project-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

[data-theme="dark"] .project-card {
  background-color: #25253a;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  height: 200px;
  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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(58, 134, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-link {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.project-link:hover {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-description {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  min-height: 4rem;
}

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

.project-tech span {
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Certificates Section */
.certificates-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.certificate-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .certificate-card {
  background-color: #25253a;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.certificate-image {
  height: 200px;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.certificate-meta {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0 1rem;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.certificate-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.certificate-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-photo img {
  width: 400px;              /* मोठा सर्कल */
  height: 400px;
  border-radius: 50%;        /* गोल करणे */
  object-fit: cover;         /* फोटो नीट crop होईल */
  object-position: center top; /* फेस वर मधोमध बसवण्यासाठी */
  box-shadow: var(--shadow); /* existing shadow variable */
}


.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-social {
  display: flex;
  gap: 1rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  transition: var(--transition);
}

.contact-social a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .contact-form {
  background-color: #25253a;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
  background-color: transparent;
  color: inherit;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  border-color: #444;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 0;
}

[data-theme="dark"] .footer {
  background-color: #0d0d1a;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-brand span {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-brand p {
  opacity: 0.8;
}

.footer-quote {
  font-style: italic;
  opacity: 0.7;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-services li {
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-bottom i {
  color: var(--danger-color);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-date {
    left: 0;
    transform: none;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }

  [data-theme="dark"] .navbar-nav {
    background-color: var(--dark-color);
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar-toggle {
    display: block;
  }

  .social-links {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .certificates-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}