/* Global Styles */
.container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  color: #333;
  padding-top: 70px;
}

/* Navbar */
.navbar-custom {
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.brand-name {
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  position: relative;
  color: #495057;
  font-weight: 500;
  padding: 0.3rem 0.9rem !important;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #0d6efd;
  background-color: #f8f9fa;
}

.nav-link.active {
  color: white !important;
  background: linear-gradient(90deg, #0d6efd, #de0284);
}

/* Shared Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.name-highlight {
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Main Content */
.main-content {
  margin-top: 20px;
}

.for-strong {
  font-weight: 500 !important;
  color: black;
}

.cert-badge {
  color: #62748e;
  font-weight: 600;
  font-size: 18px;
}

/* Skills & Tags */
.skill-tag {
  background-color: #f1f5f9;
  border: 1px solid #dee2e6;
  padding: 2px 12px;
  border-radius: 8px;
  margin: 0 6px 8px 0;
  display: inline-block;
  font-weight: 500 !important;
  font-size: 0.7rem;
  transition: all 0.3s;
}

.skill-tag {
    position: relative;
    transition: all 0.4s ease !important;
    z-index: 1;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #de0284);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: inherit;
}

.skill-tag:hover {
    color: white !important;
}

.skill-tag:hover::before {
    left: 0;
}

/* Buttons */
.work-btn,
.btn-details,
.btn-view-all {
  background-color: #0d6efd;
  color: white;
  font-size: 14px !important;
  padding: 7px 25px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.work-btn:hover,
.btn-details:hover,
.btn-view-all:hover {
  background-color: #061b75;
}

/* Social Icons */
.social-icon,
.social-link {
  width: 36px;
  height: 36px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #6c757d;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid #eaeaea;
}

.social-icon:hover,
.social-link {
    position: relative;
    transition: all 0.3s ease !important;
    z-index: 1;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #de0284);
    transition: left 0.4s ease;
    z-index: -1;

}

.social-link:hover {
    color: white !important;
   
}

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

/* Profile Image */
.profile-wrapper {
  width: 230px;
  height: 230px;
  margin-left: 40px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0d6efd, #de0284);

  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Achievements */
.Achievements {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.Achievements-sub,
.Achievements-sub-2 {
  display: flex;
  align-items: center;
  padding: 10px;
  justify-content: center;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.Achievements-sub {
  color: #1447e6;
  background-color: #eff6ff;
}

.Achievements-sub-2 {
  color: #ff6900;
  background-color: #fff7ed;
}

.Achievements-sub h5,
.Achievements-sub-2 h5 {
  font-size: 14px;
  margin: 0;
}

.achievement-icon {
  margin-right: 10px;
  font-size: 0.8rem;
}

.mvp-icon {
  color: #ff6b35;
}

.aws-icon {
  color: #ff9900;
}

/* Stats */
.stats-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-box,
.stats-card {
  text-align: center;
  border: 2px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 15px;
  width: 184px;
  background: #ffffff;
  margin-left: 69px;
}
.stats-card-2 {
  text-align: center;
  border: 2px solid #e2e8f0;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  margin-bottom: 15px;
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 14px !important;
  color: #45556c !important;
  margin-top: 8px;
  font-weight: 500 !important;
}
/* Page Load Animations */
.main-content {
  margin-top: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.name-highlight,
.cert-badge,
.Achievements,
.skill-tag,
.work-btn,
.social-icon {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.name-highlight {
  animation-delay: 0.2s;
}
.cert-badge {
  animation-delay: 0.4s;
}
.Achievements {
  animation-delay: 0.6s;
}
.skill-tag {
  animation-delay: 0.8s;
}
.work-btn {
  animation-delay: 1s;
}
.social-icon {
  animation-delay: 1.2s;
  animation-fill-mode: both;
}

.stats-main .stat-box:nth-child(2) {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 1.6s forwards;
}
.stats-main .stat-box:nth-child(3) {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 1.8s forwards;
}

/* Enhanced Hover Animations */
.skill-tag:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #e2e8f0;
}

.work-btn:hover,
.btn-details:hover,
.btn-view-all:hover {
  background-color: #1926e1;
}

.profile-wrapper {
  animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {
  0%,
  100% {
    box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.1),
      inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.15),
      inset 0 0 40px rgba(255, 255, 255, 0.4);
  }
}

.stat-box:hover {
  border: 2px solid #de0284;
  transform: translateY(-5px) !important;
}

.Achievements-sub:hover,
.Achievements-sub-2:hover {
  border: 2px solid #de0284;
  border: 2px solid #de0284 !important;
  transform: translateY(-5px);
}

/* Smooth transitions for all interactive elements */
.work-btn,
.btn-details,
.btn-view-all,
.social-icon,
.social-link,
.skill-tag,
.stat-box,
.Achievements-sub,
.Achievements-sub-2,
.profile-wrapper {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Sections */
.featured-projects,
.skills-container {
  padding: 60px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172b;
}

.section-subtitle {
  color: #6c7a91;
  max-width: 700px;
  margin: auto;
  font-size: 16px;
}

/* Project Cards */
.project-cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project-card-wrapper {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  min-height: 613px;
}

.project-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  background: #ffffff;
  transition: 0.2s ease-in-out;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.project-card:hover {
  border: 2px solid #de0284 !important;
  transform: translateY(-5px);
}
.project-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.badge-cat,
.badge-status {
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
}

.badge-cat {
  background: #e2e8f0;
  color: #2b20fc;
  border: 1px solid #dee2e6;
}

.badge-status.completed {
  background: #dcfce7;
  border: 1px solid #dee2e6;
  color: #166534;
}

.badge-status.ongoing {
  background: #fef9c3;
  color: #a16207;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 12px;
}

.project-desc {
  color: #45556c;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tags {
  padding-bottom: 20px;
  border-bottom: 1px solid #d1d8e0;
}

.tag {
  background: transparent;
  color: #475569;
  font-size: 13px;
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px solid #d1d8e0;
  margin-right: 6px;
  margin-bottom: 6px;
  display: inline-block;
  font-weight: 500;
}

.stats-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.stats-bottom p {
  font-size: 12px !important;
  font-weight: 600;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 15px;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 10px;
}

.btn-icon {
  border: none;
  background: none;
  cursor: pointer;
}

/* Skills & Technologies */
.skill-category-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #eaeaea;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-category-card:hover {
  transform: translateY(-5px);
  border: 2px solid #de0284;
}
.stats-card-2:hover {
  transform: translateY(-5px);
  border: 2px solid #de0284;
}
.skill-category-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-align: center;
  display: flex;
  align-items: center;
}

.skill-category-title {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  margin-bottom: 0;
  text-align: center;
  composes: gradient-text;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  width: 100%;
}

.skill-icon {
  font-size: 16px;
  width: 32px;
  text-align: center;
  margin-right: 0.75rem;
}

.skill-name {
  flex: 1;
  font-weight: 500;
  color: #34495e;
  font-size: 14px;
  font-weight: 500;
}

.skill-experience {
  font-weight: 600;
  color: #3498db;
  min-width: 35px;
  text-align: right;
  font-size: 0.9rem;
}

.skill-progress {
  height: 12px !important;
  border-radius: 30px;
  background-color: #f0f0f0;
  overflow: hidden;
  margin-top: 0.25rem;
}

.progress-bar {
  border-radius: 30px;
}

/* Complementary Technologies */
.complementary-section {
  padding: 1rem;
}

.complementary-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.complementary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.complementary-item {
  background: #f2f5f8;
  border: 1px solid #e6e9ed;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #2c3e50;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.complementary-item:hover {

    position: relative;
    transition: all 0.4s ease !important;
    z-index: 1;
    overflow: hidden;
}

.complementary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #de0284);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: inherit;
}

.complementary-item:hover {
    color: white !important;
}

.complementary-item:hover::before {
    left: 0;
}

.stats-number {
  font-size: 30px !important;
  font-weight: 600 !important;
}
/* Footer */
.footer-section {
  background-color: transparent;
  border-top: 1px solid #eaeaea;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info {
  padding-right: 2rem;
}

.footer-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-title {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.footer-location {
  font-size: 1rem;
  color: #34495e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon {
  font-size: 1.2rem;
}

.footer-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.25rem;
}

.footer-links {
  padding: 0 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: #262626;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 0;
  display: inline-block;
}

.footer-nav a:hover {
  background: linear-gradient(90deg, #0d6efd, #de0284);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-connect {
  padding-left: 1rem;
}

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

.footer-bottom {
  border-top: 1px solid #eaeaea;
}

.copyright,
.footer-update {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-section{
    padding: 16px !important;
  }
  .row {
    flex-direction: row !important;
  }

  .main-content {
    margin-top: 0px !important;
  }

  .col-lg-5 {
    order: -1;
    max-width: 100% !important;
    width: 100%;
    margin-top: 0 !important;
  }

  .profile-wrapper {
    margin: 0 auto 30px auto !important;
    width: 300px;
    height: 300px;
  }

  .display-4 {
    font-size: 2.5rem !important;
    text-align: center;
  }
  .stats-card {
    text-align: center;
    font-size: 13px !important;
    border: 2px solid #e2e8f0;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    width: 162px;

    margin-left: 0px;
  }
  .col-lg-8 {
    text-align: center;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .col-lg-8 p {
    font-size: 16px !important;
    line-height: 1.6;
    text-align: center;
  }

  .Achievements {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .mb-4:has(.skill-tag) {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .mb-4:has(.work-btn) {
    text-align: center;
  }

  .d-flex {
    justify-content: left;
    margin-top: 0px !important;
  }

  .stats-main {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 30px;
  }

  .stats-main .col-md-4 {
    flex: 0 0 auto;
    width: auto;
  }

  .stat-box {
    min-width: 140px;
    padding: 15px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
.skill-progress{
  height: 7px !important;
}
  .cert-badge {
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
  }

  .fs-4.fw-semibold {
    font-size: 1.25rem !important;
    text-align: center;
  }
.skill-category-title{
  font-size: 1rem !important;
}
  .project-card-wrapper {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .stats-card-2{
    font-size: 12px !important ;
    padding: 6px !important;
  }
  body {
    padding-top: 60px;
  }
  .container {
    margin-top: 0px !important;
    overflow: hidden !important;
  }
  .stat-box {
    margin-bottom: 15px;
    padding: 20px 15px;
  }

  .Achievements {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .Achievements-sub,
  .Achievements-sub-2 {
    width: 100%;
    margin-bottom: 5px;
  }

  .project-card-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px !important;
  }
  .tech-mini-cards {
    display: flex !important;
  }
  .section-title {
    font-size: 2rem;
  }

  .col-xl {
    width: 50%;
  }

  .complementary-section {
    padding: 0.8rem !important;
  }

  .complementary-grid {
    justify-content: center;
  }

  .stat-box {
    padding: 1.25rem;
    margin-left: 0px !important;
  }
.footer-links{
  padding: 0px !important;
}
  .stats-number {
    font-size: 2rem;
  }

  .skills-container {
    padding: 0 15px;
  }
}

@media (min-width: 992px) {
  .col-lg-5 {
    display: block !important;
  }

  .profile-wrapper {
    margin-left: 40px;
  }

  .stats-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card-wrapper {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 576px) {
  .navbar-custom {
    padding: 0.5rem 0;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .stats-main {
    flex-direction: row !important;
    align-items: center;
  }

  .stat-box {
    width: 100%;
    max-width: 200px;
  }

  .Achievements {
    flex-direction: column;
    gap: 10px;
  }

  .social-icon,
  .social-link {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }

  .section-title {
    font-size: 32px;
  }

  .col-xl {
    width: 100%;
  }


  .stats-number {
    font-size: 1.75rem;
  }

  .btn-view-all {
    padding: 0.65rem 2rem;
    font-size: 0.95rem;
  }

  .skills-container {
    padding: 0 10px;
  }

  .footer-name {
    font-size: 1.5rem;
  }

  .footer-container {
    padding: 0 10px;
  }

  .social-links {
    justify-content: left;
  }

  .footer-update {
    text-align: left !important;
  }
  .footer-connect{
  padding-left: 0px !important;
  }
}

@media (max-width: 375px) {
  .display-4 {
    font-size: 1.75rem !important;
  }

  .profile-wrapper {
    width: 160px;
    height: 160px;
  }

  .stat-box {
    min-width: 120px;
    padding: 12px;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* Progress bar colors for each category */
.frontend-progress {
  background: linear-gradient(90deg, #00b8db, #2b7fff);
  -webkit-text-fill-color: transparent;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.backend-progress {
  background: linear-gradient(90deg, #f6339a, #ad46ff);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.database-progress {
  background: linear-gradient(90deg, #00bc7d, #00c950);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.devops-progress {
  background: linear-gradient(90deg, #fb2c36, #ff6900);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.aiml-progress {
  background: linear-gradient(90deg, #e12afb, #8e51ff);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Optional: Add hover effects */
.skill-progress .progress-bar {
  transition: all 0.3s ease;
}

.skill-progress:hover .progress-bar {
  transform: scaleY(1.05);
}
.expert-skill-name {
  font-size: 18px !important;
}
