html {
  scroll-behavior: smooth;
}

html {
  font-size: 100%;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: #FF5722; /* Customize color */
  z-index: 9999;
  transition: width 0.2s ease-out;
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .contact-btn, #theme-toggle {
    margin-top: 0.5rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-text {
    padding: 0;
  }

  .hero-image {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .tags {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
  }

  .tools-container {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .edu-exp-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
  }

  .tags-bar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    gap: 10px;
  }

  .section-title, .section-subtitle {
    text-align: center;
    padding: 0 1rem;
  }
}


/* In your CSS */
body {
  transition: background-color 0.5s, color 0.5s;
}
img {
  transition: filter 0.5s;
}

#theme-toggle {
  transition: transform 0.3s ease;
}
#theme-toggle:active {
  transform: rotate(180deg);
}



:root {
  --bg-color: #fff;
  --text-color: #000;
  --accent-color: #FF5722;
  --card-bg: #fff;
  --section-bg: #f9f9f9;
  --secondary-text: #666;
  --heading-color: #000;
  --button-bg: #000;
  --button-text: #fff;
  --hover-color: #FF5722;
}

body.dark-theme {
  --bg-color: #121212;
  --text-color: #f0f0f0;
  --accent-color: #FF8A65;
  --card-bg: #1e1e1e;
  --section-bg: #181818;
  --secondary-text: #aaa;
  --heading-color: #f0f0f0;
  --button-bg: #f0f0f0;
  --button-text: #121212;
  --hover-color: #FF8A65;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header, .socials a, .contact-btn, .portfolio-btn, .tag {
  transition: all 0.3s ease;
}

#theme-toggle {
  position: absolute;
  top: 35px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-color);
}

.description {
  font-family: 'Chewy', cursive;
  font-size: 8px;
  font-weight: 400;
  color: var(--secondary-text);
  line-height: 1.6;
  text-align: left;
}

header {
  background: var(--bg-color);
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
}

header {
  position: fixed;
  background: var(--bg-color);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

nav a.active {
  color: var(--accent-color);
}

.contact-btn {
  background: var(--button-bg);
  color: var(--button-text);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--button-bg);
}

.contact-btn:hover {
  background: transparent;
  color: var(--text-color);
}

.hero {
  padding: 60px;
  padding-top: 190px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: var(--bg-color);
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--heading-color);
}

.hero-text h1 span {
  color: var(--accent-color);
}

.hero-text p {
  margin-top: 10px;
  font-size: 18px;
  color: var(--secondary-text);
}

.review {
  margin-top: 30px;
}

.review p {
  font-style: italic;
}

.stars {
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent-color);
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.portfolio-btn {
  background: var(--button-bg);
  color: var(--button-text);
}

.hire-btn {
  border: 2px solid var(--button-bg);
  color: var(--button-bg);
  background: transparent;
}

.hero-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.hero-image img {
  max-width: 70%;
  height: auto;
  border-radius: 20px;
}

.tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--button-bg);
  color: var(--button-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.tag.orange {
  background: var(--accent-color);
}

.socials {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.socials a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 22px;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--hover-color);
}

.tools-section {
  text-align: center;
  padding: 80px 40px;
  background: var(--section-bg);
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--heading-color);
}

.section-title span {
  color: var(--accent-color);
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.tool-card {
  background: var(--card-bg);
  border-radius: 40px;
  padding: 30px 20px;
  width: 120px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.tool-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.tool-card p {
  font-size: 14px;
  color: var(--secondary-text);
  margin-top: 5px;
}

/* Education & Experience Section */
.edu-exp-section {
  padding: 40px 60px;
  background-color: #f9f9f9;
  background-color: var(--section-bg);
}

.edu-exp-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.card-box {
  flex: 1;
  background: var(--card-bg);
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  min-width: 280px;
}

.card-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
}

.card-box ul {
  list-style: none;
  padding: 0;
}

.card-box li {
  margin-bottom: 20px;
}

.card-box strong {
  font-size: 16px;
  color: var(--heading-color);
}

.card-box span {
  font-size: 14px;
  color: var(--secondary-text);
}

.badge {
  background-color: var(--accent-color);
  color: white;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 5px;
}

.tags-section {
  padding: 30px 60px;
  text-align: center;
  background: var(--bg-color);
}

.tags-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.tags-bar span {
  background-color: var(--button-bg);
  color: var(--button-text);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.portfolio-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.project-card {
  display: flex;
  align-items: center;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  padding: 20px;
  gap: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  flex: 0 0 120px;
}

.project-image img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  object-fit: cover;
}

.project-content {
  flex: 1;
}

.project-content h3 {
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.project-content p {
  margin: 0 0 10px;
  color: #555;
}

.details-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.details-link:hover {
  background-color: #333;
}

.details-link {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
}

.details-link:hover {
  background-color: var(--hover-color);
}

.custom-footer {
  background-color: #ff5521;
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-heading {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
  color: white;
}

.footer-heading span {
  color: white;
  font-weight: 500;
}

.footer-line {
  border: none;
  border-top: 2px solid white;
  margin: 10px auto 30px auto;
  width: 80%;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}

.footer-left {
  max-width: 300px;
}

.footer-logo {
  background: white;
  color: #ff5521;
  width: 50px;
  height: 50px;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  margin-top: 10px;
  font-size: 20px;
}

.brand-name .dot {
  color: white;
}





.footer-description {
  margin: 15px 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;            
  gap: 12px;                   
  margin-top: 10px;
  align-items: center;
  justify-content: flex-start; 
}

.footer-social a {
  color: #ff5521;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s, transform 0.3s;
}

.footer-social a:hover {
  background: #ffe0d4;
  transform: scale(1.1);
}


.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid white;
  padding-top: 15px;
  font-size: 14px;
}


