@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

/* Modern Loader Styles */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}



@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.redirecting-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.redirecting-loader.fade-out {
  animation: loaderFadeOut 0.5s ease forwards;
}

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

.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: #ffffff;
  animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-top-color: #e0e7ff;
  animation-delay: 0.4s;
}

.loader-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}



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

body {
  margin: 0;
  padding: 0;
  border: none;
  font-family: 'Roboto', helvetica;
  font-size: 16px;
  color: #868686;
  background: #eeeeee;
  line-height: 20px;
  letter-spacing: 0.01em;
  font-weight: 300;
}


.page {
  position: relative;
  overflow: hidden;
  padding: 320px 0 0 0;
}

.main-container {
  position: relative;
  background-color: #eeeeee;
}

/* Background section fixed */
.started-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
  z-index: -1;
  background-color: #3b66f3;
}

.started-bg .slide {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
}

/* Header section */
.header {
  margin: 0 0 -80px 0;
  padding: 0;
  top: -80px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: transparent;
}

.avatar {
  border-radius: 50%;
  width: 148px;
  height: 148px;
}

.name {
  font-size: 42px;
  font-weight: 100;
  color: #363636;
  margin: 1.5rem 0 1.5rem;
  font-family: 'Roboto', helvetica;
}

.domain {
  font-size: 16px;
  color: #363636;
  margin-bottom: 1rem;
  min-height: 20px;
}

/* Typing Effect */
.typing-text {
  border-right: 2px solid #3b66f3;
  animation: blink 0.75s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #3b66f3;
  }
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

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

.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.icon:hover {
  transform: scale(1.1);
}

.github {
  background-color: #000000;
}

.gmail {
  background-color: #db4437;
}

.leetcode {
  background-color: #f5c506;
}

.linkedin {
  background-color: #047acf;
}

#menu-toggle {
  position: fixed;
  top: 10px;
  right: 0px;
  background: transparent;
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 5px;
}

/* Sidebar styles (unchanged) */
.sidebar {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background: royalblue;
  color: white;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding-top: 60px;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 15px;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  padding: 8px 0;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.sidebar a i {
  font-size: 1.15em;
  min-width: 22px;
  opacity: 0.85;
  transition: color 0.2s;
}

.sidebar a:hover,
.sidebar li:hover>a,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.13);
  color: #ffe082;
  padding-left: 18px;
}

.sidebar a:hover i,
.sidebar li:hover>a i,
.sidebar a.active i {
  color: #ffe082;
  opacity: 1;
}

.resume-card-bg h5 {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 25px;
  font-weight: 700;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;


}

/* Section Headings */
.section-heading {
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading p {
  text-align: center;
}

/* About section */
.resume-card-bg {
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f8ff 100%);
  padding: 40px 0 40px 0;
}

.resume-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  box-shadow: 0 8px 32px rgba(60, 90, 200, 0.13), 0 1.5px 8px rgba(60, 90, 200, 0.08);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  max-width: 950px;
  margin: auto;
  z-index: 2;
  position: relative;
  border: 1.5px solid #e3e8f7;
  transition: box-shadow 0.3s;
}

.resume-card:hover {
  box-shadow: 0 12px 40px rgba(60, 90, 200, 0.18), 0 2px 12px rgba(60, 90, 200, 0.12);
}

.about-left {
  flex: 1 1 320px;
  padding: 2rem 2rem 2rem 0;
  border-right: 1.5px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.personal-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.about-left ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.about-left li {
  padding: 13px 0 13px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #3b466e;
}

.about-left li:last-child {
  border-bottom: none;
}

.about-left i {
  color: #3b66f3;
  font-size: 1.2rem;
  min-width: 22px;
}

.about-left strong {
  background: #e7edfa;
  color: #3b66f3;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-size: 14px;
  font-weight: 500;
}

.about-right {
  flex: 2 1 400px;
  padding: 2rem 0 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resume-title-gradient {
  margin-top: 0;
  font-size: 2.rem;
  font-weight: 700;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /*text-fill-color: transparent;*/
  margin-bottom: 1.2rem;
}

.resume-title-gradient span {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.about-right p {
  margin-top: 0.7rem;
  color: #555;
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: start;
  margin-bottom: 1rem;
}

.resume-cv-btn {
  background: linear-gradient(90deg, #3b66f3 60%, #a259ff 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(60, 90, 200, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.resume-cv-btn i {
  margin-right: 7px;
}

.resume-cv-btn:hover {
  background: linear-gradient(90deg, #a259ff 0%, #3b66f3 100%);
  box-shadow: 0 4px 16px rgba(60, 90, 200, 0.13);
}

.about-right .btn {
  margin-right: 0.7rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-right .btn i {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .resume-card {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .about-left {
    border-right: none;
    border-bottom: 1.5px solid #f0f0f0;
    padding: 2rem 0 1rem 0;
    justify-content: center;
  }

  .about-right {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 600px) {
  .resume-card {
    padding: 1rem 0.2rem;
  }

  .about-left,
  .about-right {
    padding: 1rem 0;
  }
}

.about-left,
.about-right {
  flex: 1 1 300px;
  padding: 2rem;
}

.about-left ul {
  list-style: none;
  padding: 0;
}

.about-left li {
  padding: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.about-left strong {
  display: inline-block;
  background-color: #3b66f3;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-size: 14px;
}

.about-right h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.about-right p {
  margin-top: 1rem;
  color: #555;
}

.buttons {
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  background-color: #e0e0e0;
  color: #333;
  border-radius: 5px;
  margin-right: 0.5rem;
  font-weight: bold;
}

.btn.blue {
  background-color: #3b66f3;
  color: white;
}

/* Close button inside the sidebar */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

h2 {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
}

.highlight {
  color: #3f51b5;
}

.tech-stack {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  position: relative;
  overflow: hidden;
}

.tech-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e7ff" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.tech-stack>* {
  position: relative;
  z-index: 1;
}

/* Tech Header with Logo */
.tech-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tech-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.3);
  position: relative;
  overflow: hidden;
  animation: logoFloat 3s ease-in-out infinite;
}

.tech-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: logoRotate 10s linear infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes logoRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.tech-logo i {
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.tech-header-content {
  text-align: center;
  flex: 1;
  min-width: 300px;
}

.tech-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin: 1.5rem 0 0;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 20px;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tech-category {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(59, 102, 243, 0.1);
  border: 1px solid rgba(59, 102, 243, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tech-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(59, 102, 243, 0.15);
  border-color: rgba(59, 102, 243, 0.2);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.tech-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  border-radius: 15px;
  border: 1px solid rgba(59, 102, 243, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-icon-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.15);
  border-color: rgba(59, 102, 243, 0.3);
}

.tech-icon-card i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.tech-icon-card:hover i {
  transform: scale(1.1);
}

.tech-icon-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b466e;
  text-align: center;
}



/* Tech icon colors */
.tech-icon-card .fa-html5 {
  color: #e34c26;
}

.tech-icon-card .fa-css3-alt {
  color: #1572b6;
}

.tech-icon-card .fa-js {
  color: #f7df1e;
}

.tech-icon-card .ri-reactjs-fill {
  color: #61dafb;
}

.tech-icon-card .fa-java {
  color: #f89820;
}

.tech-icon-card .devicon-spring-plain {
  color: #6db33f;
}

.tech-icon-card .fa-database {
  color: #336791;
}

.tech-icon-card .devicon-c-plain {
  color: #004482;
}

.tech-icon-card .devicon-cplusplus-plain {
  color: #00599c;
}

.tech-icon-card .fa-python {
  color: #3776ab;
}

/* Simple Tools Design */
.tools-simple {
  background: transparent;
  border: none;
  box-shadow: none;
}

.tools-simple:hover {
  transform: none;
  box-shadow: none;
}

.simple-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.simple-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  border: 1px solid rgba(59, 102, 243, 0.1);
  box-shadow: 0 4px 15px rgba(59, 102, 243, 0.1);
  min-width: 120px;
}

.simple-tool:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.2);
  border-color: rgba(59, 102, 243, 0.3);
}

.tool-icon-bg {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tool-icon-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  z-index: 0;
}

.simple-tool:nth-child(1) .tool-icon-bg::before {
  background: linear-gradient(135deg, #f05032 0%, #e74c3c 100%);
}

.simple-tool:nth-child(2) .tool-icon-bg::before {
  background: linear-gradient(135deg, #333333 0%, #24292e 100%);
}

.simple-tool:nth-child(3) .tool-icon-bg::before {
  background: linear-gradient(135deg, #ff6c37 0%, #ff8c42 100%);
}

.simple-tool i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.simple-tool:hover i {
  transform: scale(1.1);
}

.simple-tool span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b466e;
  text-align: center;
}

/* Tools Section - New Design */
.tools-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tools-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.tools-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tools-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.tool-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

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

.tool-item:hover::before {
  left: 100%;
}

.tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tool-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.8rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.tool-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -1;
}

.tool-item:nth-child(1) .tool-icon::before {
  background: linear-gradient(135deg, #f05032 0%, #e74c3c 100%);
}

.tool-item:nth-child(2) .tool-icon::before {
  background: linear-gradient(135deg, #333333 0%, #24292e 100%);
}

.tool-item:nth-child(3) .tool-icon::before {
  background: linear-gradient(135deg, #ff6c37 0%, #ff8c42 100%);
}

.tool-info {
  flex: 1;
}

.tool-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 0.3rem 0;
}

.tool-info p {
  font-size: 0.9rem;
  color: #718096;
  margin: 0;
  font-weight: 500;
}

.tool-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tool-item:nth-child(1) .tool-badge {
  background: linear-gradient(135deg, #f05032 0%, #e74c3c 100%);
  box-shadow: 0 4px 15px rgba(240, 80, 50, 0.3);
}

.tool-item:nth-child(2) .tool-badge {
  background: linear-gradient(135deg, #333333 0%, #24292e 100%);
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.tool-item:nth-child(3) .tool-badge {
  background: linear-gradient(135deg, #ff6c37 0%, #ff8c42 100%);
  box-shadow: 0 4px 15px rgba(255, 108, 55, 0.3);
}

/* Responsive Design for Tools */
@media (max-width: 768px) {
  .tools-section {
    padding: 2rem 1.5rem;
  }

  .tools-title {
    font-size: 1.5rem;
  }

  .tool-item {
    padding: 1.2rem;
  }

  .tool-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-right: 1rem;
  }

  .tool-info h4 {
    font-size: 1.1rem;
  }

  .tool-info p {
    font-size: 0.8rem;
  }

  .tool-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-category {
  animation: fadeInUp 0.6s ease forwards;
}

.tech-category:nth-child(1) {
  animation-delay: 0.1s;
}

.tech-category:nth-child(2) {
  animation-delay: 0.2s;
}

.tech-category:nth-child(3) {
  animation-delay: 0.3s;
}

.tech-category:nth-child(4) {
  animation-delay: 0.4s;
}

.tech-category:nth-child(5) {
  animation-delay: 0.5s;
}



/* Responsive Design */
@media (max-width: 768px) {
  .tech-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .tech-logo {
    width: 70px;
    height: 70px;
  }

  .tech-logo i {
    font-size: 2rem;
  }

  .tech-header-content {
    min-width: auto;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }


}





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

.timeline-line {
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #2979ff;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
}

.timeline-item .content {
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  width: 450px;
  top: 60px;
}

.timeline-item .content ul li {
  list-style: none;
}

.timeline-item .circle-icon {
  background: #2979ff;
  color: white;
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  z-index: 3;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.left .circle-icon {
  right: -23px;
  top: 0;
}

.timeline-item.left .date {
  position: absolute;
  top: 80px;
  right: -100px;
  background: #2979ff;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.circle-icon-1 {
  margin: 0 0 0 -13px;
  position: absolute;
  top: 80px;
  left: 100%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: #304fff;
  z-index: 1;
  color: rgba(255, 255, 255, 0.959);
  border-radius: 26px;
  -moz-border-radius: 26px;
  -webkit-border-radius: 26px;
  -khtml-border-radius: 26px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -khtml-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
}

.circle-icon-2 {
  margin: 0 0 0 -13px;
  position: absolute;
  top: 80px;
  left: -1px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: #304fff;
  z-index: 1;
  color: rgba(255, 255, 255, 0.959);
  border-radius: 26px;
  -moz-border-radius: 26px;
  -webkit-border-radius: 26px;
  -khtml-border-radius: 26px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -khtml-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item.right .circle-icon {
  margin: 0 0 0 -13px;
  position: absolute;
  top: 80px;
  left: 100%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: #304fff;
  z-index: 1;
  color: rgba(255, 255, 255, 0.959);
  border-radius: 26px;
  -moz-border-radius: 26px;
  -webkit-border-radius: 26px;
  -khtml-border-radius: 26px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
  -khtml-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2);
}

.timeline-item.right .date {
  position: absolute;
  top: 80px;
  left: -100px;
  background: #2979ff;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.location {
  display: inline-block;
  font-size: 12px;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 10px;
  color: #333;
}

.education-sec {
  text-align: center;
  margin-bottom: 20px;
}



.education-sec p {
  margin-top: 15px;
}

/*certifications*/
#certifications-section {
  padding: 60px 40px;
  text-align: center;
  margin-top: 100px;
}



.certifications-section h1 span {
  color: #a259ff;
  /* Purple accent */
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.cert-card {
  /*background-color: #1e1e1e;*/
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.cert-card:hover {
  transform: scale(1.03);
}

.cert-card img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-title {
  padding: 15px;
  font-weight: bold;
  font-size: 1rem;
  color: #262626;
  background-color: #fff;
}

/*projects*/
#projects {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.hero-section img {
  max-width: 400px;
  width: 100%;
  margin: 20px;
}

.hero-text {
  max-width: 400px;
  text-align: center;
  margin: 20px;
}



.hero-text span {
  color: #2979ff;
}

.hero-text p {
  margin-top: 10px;
  font-size: 1rem;
  color: #7c7575;
  margin-top: 20px;
}

.tabs {
  display: inline-flex;
  position: relative;
  background-color: #2f4fff;
  padding: 15px 30px;
  border-radius: 0;
  overflow: hidden;
}

.tab {
  color: white;
  font-weight: bold;
  margin: 0 20px;
  cursor: pointer;
  position: relative;
}

.tab-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: left 0.3s ease;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 102, 243, 0.1);
  position: relative;
  cursor: pointer;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.02) 0%, rgba(162, 89, 255, 0.01) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 102, 243, 0.15);
}

.project-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.05) 0%, rgba(162, 89, 255, 0.02) 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 24px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #e0e0e0;
  opacity: 0.9;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.2) 0%, rgba(162, 89, 255, 0.1) 100%);
  color: #fff;
  border: 1px solid rgba(59, 102, 243, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.4) 0%, rgba(162, 89, 255, 0.2) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 102, 243, 0.4);
}

.view-details {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-details:hover {
  color: #ffed4e;
  transform: translateX(4px);
}

/* Project Modal Styles */
.project-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 50%, #e0e7ff 100%);
  margin: 2% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(59, 102, 243, 0.15);
  animation: slideIn 0.4s ease;
  border: 1px solid rgba(59, 102, 243, 0.2);
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #3b66f3;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 102, 243, 0.1);
}

.close-modal:hover {
  color: #fff;
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  transform: rotate(90deg);
}

.modal-project-details {
  display: none;
  color: #3b466e;
}

.modal-project-details.active {
  display: block;
}

.modal-header {
  position: relative;
  padding: 30px 30px 20px;
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f8ff 100%);
  border-radius: 20px 20px 0 0;
  border-bottom: 2px solid rgba(59, 102, 243, 0.3);
}

.modal-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.modal-image {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 102, 243, 0.15);
  border: 2px solid rgba(59, 102, 243, 0.2);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.modal-image:hover img {
  transform: scale(1.05);
}

.modal-body {
  padding: 30px;
  background: #fff;
}

.project-section {
  margin-bottom: 30px;
}

.project-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3b66f3;
  border-bottom: 2px solid rgba(59, 102, 243, 0.3);
  padding-bottom: 8px;
  display: inline-block;
}

.project-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #3b466e;
  margin-bottom: 15px;
}

.project-section ul {
  list-style: none;
  padding: 0;
}

.project-section ul li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: #3b466e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #3b66f3;
  font-weight: bold;
  font-size: 1.2rem;
}

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

.tech-item {
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.1) 0%, rgba(162, 89, 255, 0.05) 100%);
  color: #3b66f3;
  padding: 10px 15px;
  border-radius: 25px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(59, 102, 243, 0.3);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-item:hover {
  background: linear-gradient(135deg, rgba(59, 102, 243, 0.2) 0%, rgba(162, 89, 255, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 102, 243, 0.2);
}

.modal-footer {
  padding: 25px 30px;
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f8ff 100%);
  border-radius: 0 0 20px 20px;
  border-top: 2px solid rgba(59, 102, 243, 0.3);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 140px;
  justify-content: center;
}

.github-btn {
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  color: #fff;
  border-color: #3b66f3;
}

.github-btn:hover {
  background: linear-gradient(135deg, #a259ff 0%, #3b66f3 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.3);
  border-color: #a259ff;
}

.live-btn {
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  color: #fff;
  border-color: #3b66f3;
}

.live-btn:hover {
  background: linear-gradient(135deg, #a259ff 0%, #3b66f3 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 102, 243, 0.3);
  border-color: #a259ff;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .project-card {
    border-radius: 12px;
  }

  .project-content {
    padding: 20px;
  }

  .project-title {
    font-size: 1.3rem;
  }

  .project-description {
    font-size: 0.85rem;
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px 20px 15px;
  }

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

  .modal-image {
    height: 200px;
  }

  .modal-body {
    padding: 20px;
  }

  .project-section h3 {
    font-size: 1.2rem;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }

  .tech-item {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .modal-footer {
    padding: 20px;
    flex-direction: column;
    align-items: center;
  }

  .project-btn {
    width: 100%;
    max-width: 250px;
  }

  .close-modal {
    right: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-image {
    height: 150px;
  }

  .project-section {
    margin-bottom: 20px;
  }

  .project-section h3 {
    font-size: 1.1rem;
  }

  .project-section p,
  .project-section ul li {
    font-size: 0.9rem;
  }
}

/*footer*/
.custom-footer {
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  padding: 30px 0;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #333;
  border-top: 2px solid rgba(59, 102, 243, 0.1);
  position: relative;
  box-shadow: 0 -4px 20px rgba(59, 102, 243, 0.05);
}

.custom-footer .footer-links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(59, 102, 243, 0.1);
}

.footer-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.footer-link:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 102, 243, 0.3);
  border-color: rgba(59, 102, 243, 0.3);
}

.footer-link:hover::before {
  left: 0;
}

.custom-footer .footer-credit {
  font-weight: 400;
  margin-bottom: 20px;
  color: #666;
}

.scroll-to-top {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b66f3 0%, #a259ff 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 102, 243, 0.3);
  opacity: 0.8;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 102, 243, 0.4);
  opacity: 1;
}

.scroll-to-top i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .custom-footer .footer-links {
    gap: 10px;
  }

  .footer-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .scroll-to-top i {
    font-size: 16px;
  }
}

/*contact us*/


#contact p {
  text-align: center;
  margin: 5px;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 100px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact-section h3 {
  margin-bottom: 10px;
}

.contact-section h3 span {
  color: #f01409;
  font-weight: bold;
}

.contact-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #3b66f3 30%, #a259ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mail {
  line-height: 1;
}

.email-link {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  text-decoration: underline;
  padding-bottom: 4px;
  margin-bottom: 50px;
}

.contact-via-social-apps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.info-block {
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

.location-icon {
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 10px;
  vertical-align: top;
}

.footer-links a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}