:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
 /* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.btn-download {
  background-color: #007BFF;
  color: white;
  border: 2px solid #007BFF;
  display: inline-flex;
  align-items: center;
}

.btn-download:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-download i {
  margin-right: 10px;
  font-size: 18px;
}

.btn-download:focus,
.btn-download:active {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Focus state */
}
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0 1rem;
}

/* Remove or modify the scrolled class to prevent shrinking */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  /* Remove the transform property that causes the movement */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}

/* Remove the transform on hidden state if you want to keep this effect */
.nav-content.hidden {
  opacity: 0;
}

/* Rest of your existing styles remain the same */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.0rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-5px); 
}

@keyframes navbarAppear {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  animation: navbarAppear 0.5s ease-out;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a i {
  font-size: 1.5rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.social-links a:hover i {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    position: absolute;
    top: 4rem;
    right: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .social-links {
    display: flex;
  }
}
  /* Adjusting button size for smaller screens */
  .btn {
    padding: 0.5rem 1rem; 
    font-size: 0.875rem; 
  }

  .btn-primary {
    background-color: var(--primary);
    color: white;
  }

  .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
  }

  .btn-download {
    background-color: #007BFF;
    color: white;
    border: 2px solid #007BFF;
  }

  .btn-download i {
    font-size: 16px; 
  }

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Define the float animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Styling for random symbols */
.random-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.type-wrap {
  min-height: 3rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  animation: bounce 2s infinite;
  z-index: 2; 
}

  /* About Section */
  .about {
    padding: 5rem 0;
    background-color: var(--background-alt);
  }
  
  .about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .skill-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .skill-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  :root {
    --background-alt: #f4f4f4;
    --text: #333;
    --primary: #0090f0;
    --shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
    --shadow-lg: rgba(0, 0, 0, 0.2) 0px 10px 30px;
  }
  

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Body and container styling */
body {
  background-color: #fff;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(to right, #0099ff, #8e44ad); 
  -webkit-background-clip: text;
  color: transparent;
}

/* Filter Buttons */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background-color: var(--background-alt);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: capitalize; 
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  transition: opacity 0.3s ease;
}

/* Individual Project Cards */
.project-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Image Styling */
.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Overlay Effect on Image */
.project-card .project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
  opacity: 1;
}

/* Project Content Styling */
.project-content {
  padding: 1.5rem;
  text-align: left;
}

.project-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.project-content p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Flexbox for Technology Tags and Links */
.project-content .flex {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.project-content .flex a {
  color: var(--text);
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-content .flex a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.project-content .flex a i {
  font-size: 1.25rem;
}

.project-content .flex a span {
  font-size: 1rem;
}

/* Technology Tags */
.tech-box {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--background-alt);
  color: var(--text);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tech-box:hover {
  background-color: var(--primary);
  color: white;
}

@media (max-width: 768px) {
  .tech-box {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .tech-box {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

  
/* Skills Section */
.skills {
  padding: 5rem 0;
  background-color: var(--background-alt);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: -10rem;
}

.skills .container {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin-top: 2rem;
}

.skills .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.skills .gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  margin-bottom: 3rem;
}

.skill-group {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.skill-group.fade-in {
  animation-delay: 0.2s;
}

.skill-group .flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-group .p-2 {
  padding: 0.5rem;
  background-color: var(--primary-light);
  border-radius: 0.75rem;
  color: var(--primary);
}

.skill-group h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.skill-bar {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.skill-progress {
  height: 0.5rem;
  background-color: var(--background-alt);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 9999px;
  width: 0;
  transition: width 1s ease;
}

.skill-progress-bar[data-progress] {
  width: var(--progress);
}

/* Additional Skills Section */
.additional-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  justify-items: center;
}

.skill-item {
  background-color: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.skill-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.skill-item span {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .skills .container {
    padding: 1rem;
  }

  .skill-group {
    padding: 1.5rem;
  }

  .skill-group h3 {
    font-size: 1.1rem;
  }

  .skill-info {
    font-size: 0.75rem;
  }

  .skill-progress-bar {
    height: 0.4rem;
  }
}

/* Experience */
.experience {
  padding: 5rem 0;
  margin-top: -5rem;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  width: calc(50% - 2rem);
  margin-left: 0;
  margin-right: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5rem;
  height: 1.5rem;
  background-color: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline {
    padding: 0 0.5rem;
  }

  .timeline-content {
    padding: 1rem;
    width: 100%;
  }

  .timeline-item {
    margin-bottom: 2rem;
  }

  .timeline-dot {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (min-width: 769px) {
  .timeline-item {
    flex-direction: row;
    align-items: center;
  }
}
  
  /* Contact Section */
  .contact {
    padding: 5rem 0;
    background-color: var(--background-alt);
    margin-top: -7rem;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  @media (min-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .contact-info {
    padding-right: 2rem;
  }
  
  .contact-methods {
    margin-top: 2rem;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .method-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(247, 248, 248, 0.776);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
  }
  
  .method-details h4 {
    margin-bottom: 0.25rem;
  }
  
  .method-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .method-details a:hover {
    color: var(--primary);
  }
  
  .contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  @media (min-width: 640px) {
    .form-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(255, 255, 255);
  }

/* Quote Section */
.quote {
  padding: 2rem 0;
  margin-top: -4rem;
}

.quote-container {
  position: relative;
  text-align: center;
  padding: 30px 15px;
  background-color: #f3f4f6;
  border-radius: 10px;
  box-shadow: 0 4px 8px #f3f4f6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.quote-container.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease-out;
}

.quote-icon {
  position: absolute; 
  font-size: 1.5rem;
  color: #333;
  animation: rotateIcon 4s infinite linear;
}

/* Top-left icon */
.quote-icon.top-left {
  top: 10px; 
  left: 10px; 
}

/* Bottom-right icon */
.quote-icon.bottom-right {
  bottom: 10px; 
  right: 10px; 
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  margin: 15px 0;
}

.quote-author {
  font-size: 1rem;
  color: #777;
  font-weight: bold;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.quote-container:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

:root {
  --background: #f3f4f6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
  
   /* Footer Section */
  .footer {
    background-color: var(--background);
    color: #ffffff;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
    text-align: center;
    margin-top: auto;
  }
  
  .footer .footer-info h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .footer .footer-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
  }
  
  .footer .footer-social a {
    color: #333333;
    font-size: 18px;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }
  
  .footer .footer-social a:hover {
    color: #007bff;
  }
  
  .footer .footer-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
  }
  
  .footer .footer-bottom p {
    font-size: 14px;
    color: #888888;
  }
  
  #current-year {
    font-weight: bold;
  }
  
