/* =========================
   ROOT & GLOBAL STYLES
========================= */

:root {
  --primary: #2065aa;
  --text-primary: #4b4b4b;
  --text-secondary: #696868;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  position: relative;
}
.page-wrapper {
  min-height: 100vh;
}

/* =========================
   UTILITIES
========================= */

.pt-100 {
  padding-top: 70px;
}

.pb-100 {
  padding-bottom: 70px;
}

.row-gap {
  gap: 25px;
}

.primary-text {
  color: var(--text-primary);
}

.secondary-text {
  color: var(--text-secondary);
}

/* =========================
   ALERT / FIXED ELEMENTS
========================= */

.under-construction {
  background-color: red;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 2rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9;
  padding: 10px 20px;
}

.button-dark {
  border-radius: 100%;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 22px;
  left: 22px;
  border: 0;
  background: #0b0f1a;
  color: #fff;
  padding: 12px;
  font-size: 12px;
}

/* =========================
   TYPOGRAPHY
========================= */

.title-name {
  font-family: "Poppins", sans-serif;
}

.title-tag {
  font-size: 1.2rem;
  font-weight: 600;
}

.aboutme {
  font-size: 20px;
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
  color: #fff;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: unset !important;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.portfolio-btn {
  background: #2065aa;
  padding: 10px 20px;
  color: black;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 50px;
}

.portfolio-btn:hover {
  color: black;
  text-decoration: none;
  transition: 0.3s;
}

.chip-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 30px;
  background: #2b6cb0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.chip-btn:hover {
  background: #1e4e8c;
  color: white;
  text-decoration: none;
}

.npm-package-btn {
  background: #ffeaea;
  border: 1px solid #cc3534;
  border-radius: 50px;
  display: flex;
  padding: 10px 20px;
  color: #cc3534;
  text-decoration: none;
}
.flutter-package-btn {
  background: #b8f0ff;
  border: 1px solid #185899;
  border-radius: 50px;
  display: flex;
  padding: 10px 20px;
  color: #185899;
  text-decoration: none;
}

.npm-package-btn:hover:hover {
  color: #cc3534;
  text-decoration: none;
}

/* =========================
   FORMS
========================= */

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: var(--primary) !important;
  outline: 0;
  box-shadow: unset;
}

.custom-input {
  height: 50px;
  border-radius: 50px;
}

.custom-input-area {
  border-radius: 20px;
}

/* =========================
   AVATAR / IMAGES
========================= */

.avatar-img img {
  border-radius: 100%;
}

.badge-img {
  width: 45px;
  margin: 5px;
}

/* =========================
   BADGES & SKILLS
========================= */

.pBadge {
  background: #f3f3f3;
  border-radius: 50px;
  padding: 5px 15px;
  text-align: center;
}

.pSkill {
  background: linear-gradient(360deg, #f9f9f9, #f9f9f9);
  font-size: 16px;
}

/* ===== Navbar Base ===== */
.custom-navbar {
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 0;
  transition: all 0.3s ease;
  z-index: 999;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Light mode tweak */
body:not(.dark) .custom-navbar {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== Brand ===== */
.navbar-brand {
  font-size: 22px;
  color: var(--text-primary) !important;
  letter-spacing: 1px;
}

.brand-accent {
  color: #2065aa;
}

/* ===== Links ===== */
.nav-link {
  position: relative;
  color: #313131 !important;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: #2065aa !important;
}

/* Animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #2065aa, #6a5cff);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* Active Link */
.nav-link.active {
  color: #2065aa !important;
}

/* ===== Mobile Fix ===== */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Spacing Fix for Fixed Navbar ===== */
body {
  padding-top: 80px;
}

/* =========================
   ABOUT SECTION
========================= */

.aboutcard {
  background: #2065aa;
  border: 1px solid #c9c9c9;
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

.aboutcard:after {
  background-color: #2065aa;
  border-left: 1px solid #c9c9c9;
  border-top: 1px solid #c9c9c9;
  content: "";
  height: 20px;
  left: 7%;
  position: absolute;
  top: -10px;
  transform: rotate(45deg);
  width: 20px;
}

/* =========================
   WORK SECTION
========================= */

.work-wrapper {
  padding: 80px 0;
}

.work-title {
  color: #244863;
  font-size: 0.8rem;
  font-weight: 600;
}

.upwork-github-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

/* Equal height columns */
.work-wrapper .row > div {
  display: flex;
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 30px 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  text-align: center;
}

.profile-card:hover {
  transform: translateY(-8px);
}

.profile-content {
  flex-grow: 1;
}

.jss {
  display: flex;
  flex-flow: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.jss-percentage {
  font-size: 26px;
  font-weight: bold;
  color: #222;
}

.jss-title {
  font-size: 14px;
  color: #666;
}

/* =========================
   REVIEW SECTION
========================= */

.review-wrapper {
  background: #f8f9fb;
  padding: 80px 0;
}

.review-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
}

.review-subtitle {
  color: #777;
}

.swiper {
  padding: 40px 10px;
}

.review-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-6px);
}

.review-text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.reviewer-name {
  font-weight: 600;
  color: #222;
}

.reviewer-meta {
  font-size: 13px;
  color: #777;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2b6cb0;
}

/* =========================
   GET STARTED SECTION
========================= */

.get-started-title {
  color: #283250;
  font-weight: 900;
  font-size: 3rem;
}

.get-started-title span {
  color: var(--primary);
}

/* =========================
   FOOTER
========================= */

.footer-wrapper {
  padding: 10px 0;
  border-top: 1px solid var(--primary);
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.developed-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
}

/* =========================
   ANIMATIONS
========================= */

.bounce {
  animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  -moz-animation: bounce 2s infinite;
  -o-animation: bounce 2s infinite;
}

/* =========================
   RESPONSIVE
========================= */

@media only screen and (max-width: 600px) {
  .pt-100 {
    padding-top: 40px;
  }

  .pb-100 {
    padding-bottom: 40px;
  }

  .avatar-img {
    display: flex;
    justify-content: center;
  }

  .avatar-img img {
    width: 50% !important;
  }

  .pLara {
    margin-bottom: 10px;
  }

  .work-title {
    font-size: 1.3rem;
    text-align: center;
  }

  .get-started-title {
    font-size: 2rem;
  }

  .social-card {
    margin-bottom: 20px;
  }

  .review-card {
    margin-bottom: 30px;
  }

  .copyright-text,
  .developed-text {
    text-align: center;
  }
}

/* Portfolio page style  */
.portfolio-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
}
.project-inprogress {
  font-size: 12px;
  position: absolute;
  background: #ffa630;
  border-radius: 5px;
  padding: 2px 10px;
  bottom: 15px;
  right: 15px;
}

.project-inprogress-single {
  font-size: 12px;
  background: #ffa630;
  border-radius: 5px;
  padding: 2px 10px;
  width: auto;
}

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

.portfolio-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-body {
  padding: 20px;
}

.btn-custom {
  border-radius: 50px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  background-color: #2065aa;
}

.btn-custom:hover {
  transform: scale(1.05);
  background-color: #114c88;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.tech-badge {
  display: inline-block;
  background: #e5e5e5;
  color: #353535;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin: 3px;
}

.tech-badge-2 {
  display: inline-block;
  background: #e5e5e5;
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin: 3px;
}

/* NPM Packages style  */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--primary);
  background-color: transparent !important;
}

/* Timesheet Management Page Style  */
.section-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.carousel img {
  border-radius: 10px;
  object-fit: cover;
  height: auto;
}

.btn-custom {
  border-radius: 50px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  background-color: #2065aa;
}

#projectCarousel .carousel-item {
  height: 500px; /* desktop height */
}

#projectCarousel img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* important: keeps full image without crop */
  background: #000; /* optional: adds black background for empty space */
}

/* Mobile */
@media (max-width: 768px) {
  #projectCarousel .carousel-item {
    height: 350px;
  }
}

.ios-note {
  color: var(--text-primary);
}
