:root {
      --dark-blue: #2b2e4a;
    --bright-red: #e84545;
    --purple: #651f50;
    --light-gray: #f0f0f0;
    --dark-gray: #333;
    --accent-color: #651f50;
    --text-color: #333;
    --white: #ffffff;
    --black: #000000;
}



/* General Body and Typography */
body {
  font-family: 'Roboto', sans-serif; /* Modern font */
  line-height: 1.6;
  background: linear-gradient(135deg, var(--dark-blue), var(--purple));
  color: var(--text-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif; /* Stronger font for headings */
  color: var(--dark-gray);
  margin-bottom: 0.5em;
}

#title {
  text-align: center;
  font-size: 3.5rem; /* Larger title */
  color: var(--bright-red); /* Professional accent color */
  margin: 5% auto; /* Center and add margin */
  position: relative;
  padding-bottom: 15px;
}



/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--dark-blue), var(--purple));
  color: var(--white);
  padding: 50px 5%;
  text-align: center;
  border-top: 2px solid var(--bright-red);
}

#footer-title {
      font-size: 2.5rem;
    color: var(--bright-red);
    margin-bottom: 30px;
    text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 280px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-left h3, .footer-right h3 {
  color: var(--bright-red);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.footer-left .social-links {
      display: flex;
    justify-content: start;
    gap: 25px;
}

.footer-left .social-links a {
  color: var(--white);
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-left .social-links a:hover {
  color: var(--bright-red);
  transform: translateY(-5px);
}



.footer-right .download-btn {
    padding: 12px 25px;
    background-color: var(--bright-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

.footer-right{
      display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.footer-right .download-btn:hover {
  background-color: var(--accent-color);
  border: solid 1px var(--bright-red) ;
  transform: translateY(-3px);
}

#footer-download-btn{
    display: flex;
    justify-content: space-around;
}


.highlight-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.highlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.highlight-title {
  color: var(--bright-red);
  font-size: 1.6rem;
  margin: 0;
  line-height: 1.3;
}

.highlight-title a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.highlight-title a:hover {
  color: var(--light-gray);
}

.photo-indicator {
  display: flex;
  align-items: center;
  color: var(--light-gray);
  font-size: 0.9rem;
  opacity: 0.7;
}

.photo-indicator svg {
  margin-right: 5px;
  color: var(--accent-color);
}

.nav-widget {
  position: fixed;
  right: 30px; /* Always pinned to the right */
  top: 50%;
  transform: translateY(-50%);
  left: auto; /* Ensure left is not fixed */
  background-color: var(--dark-gray); /* Darker, professional background */
  border-radius: 50px; /* Pill shape */
  padding: 15px; /* Increased padding */
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

.nav-widget.expanded {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: auto;
}

.nav-dot {
  width: 12px;
  height: 12px;
  background-color: var(--bright-red);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.drag-hint {
  font-size: 0.8em;
  color: var(--text-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-widget:hover .nav-dot {
  background-color: var(--bright-red); /* On hover: vibrant red */
}
.nav-widget:hover .drag-hint {
  opacity: 1;
}

.nav-links a:hover {
  background-color: var(--bright-red); /* Highlight on hover */
  transform: translateX(5px); /* Slight movement */
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: var(--white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav-widget.expanded .nav-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a {
  margin-top: 15px;
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  color: var(--dark-gray); /* Dark text on light background */
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px; /* Slightly rounded corners */
  transition: background 0.3s ease, transform 0.2s ease; /* Smooth transitions */
  font-weight: 500;
}

.nav-links a:hover {
  background-color: var(--light-gray);
}

.nav-arrows {
  display: none; /* Hidden by default on larger screens */
}

.nav-arrow {
  display: none; /* Hidden by default on larger screens */
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.highlight-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60%; /* 16:9 Aspect Ratio (height / width * 100%) */
}

.highlight-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  display: block;
  transition: transform 0.3s ease;
}

.highlight-photo img:hover {
  transform: scale(1.05);
}

.article-meta .read-link:hover {
  background-color: var(--purple);
  transform: translateY(-3px);
}


/* Resume Section */
#resume .title {
  color: var(--dark-gray);
}


.download-btn:hover {
  background-color: var(--bright-red);
  transform: translateY(-3px);
}



footer .social-links a:hover {
  color: var(--accent-color);
}

/* Utility Classes */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
  transition: transform 0.8s ease;
}

.shimmer-effect:hover::after {
  transform: translateX(200%);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}







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

html {
  scroll-behavior: smooth;
}


.nav-widget.expanded .nav-links {
  display: flex;
}


section.hidden {
  opacity: 0;
}

.projects-grid {
  display: grid;
}



.highlight-title a {
  color: inherit;
  text-decoration: underline;
}
.highlight-title a:hover {
  color: var(--dark-blue);
}

.project-card {
  background-color: var(--white);
  padding: 25px;
  margin: 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.project-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--bright-red);
}


.project-tech {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.project-image img {
  max-width: 100%;
  height: 100%;
}

.tech-tag {
  background-color: var(--purple);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9em;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.project-links a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: var(--bright-red);
  transition: all 0.3s ease;
}

.project-links a:hover {
  background-color: var(--purple);
  transform: translateY(-2px);
}

.project-image {
  width: 200px;
  height: 200px;
  margin-bottom: 10%;
  border-radius: 8%;
  background-color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

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

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 2s infinite;
}

.social-links a:hover {
  transform: translateY(-10px);
}


.read-link {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: var(--bright-red);
  transition: all 0.3s ease;
}

.read-link:hover {
  background-color: var(--purple);
  transform: translateY(-2px);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--purple);
  color: white;
  font-size: 16px;
}

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

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

.git:hover {
  transform: translateY(-10px);
}

.submit-btn {
  background-color: var(--bright-red);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--dark-red);
  transform: translateY(-2px);
}

.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.form-status.error {
  display: block;
  background-color: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}





.highlight-card {
     background-color: var(--purple);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    cursor: pointer;
    overflow: auto;
}

.highlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-title {
  color: var(--bright-red);
  font-size: 1.3em;
  margin: 0;
}

.photo-indicator {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.photo-gallery {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-gallery.active {
  display: grid;
}

.highlight-photo {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background-color: var(--dark-red);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.highlight-photo:hover {
  transform: scale(1.05);
}




