:root {
  --primary: #132238;
  --accent: #1275b1;
  --muted: #000;
  --card-bg: rgba(255, 255, 255, 0.95);
}

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

html,
body {
  overflow-x: hidden;
}

.site-header {
  background: transparent;
  padding: 18px 0;
}

.brand-header {
  background: #1275b1 !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 500 !important;
}
/* auto wrinting text animation */
#typing-text::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
  font-weight: 400;
}
.cst-hero-latest-work-btn {
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-block;
  font-size: 16px;
  color: #fff;
  margin-top: 25px;
  text-decoration: none;
  background: #1275b1;
}
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.custom_size {
  font-size: 24px;
}

.cst-my-skill {
  color: var(--primary);
  font-weight: 600;
  font-size: 38px;
  margin-bottom: 25px;
}

.brand-title {
  font-size: 32px;
  font-weight: 600;
}

.brand-circle {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1275b1;
  font-weight: 500;
  font-size: 24px;
}
#menuIcon {
  transition: transform 0.3s ease;
}

/* hide show work log */

#workLogAside {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#workLogAside.hide {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.close-log {
  cursor: pointer;
  float: right;
  margin-top: 15px;
}

.work-log-toggle {
  cursor: pointer;
}
/* end */
.nav .nav-link.active {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1275b1;
}

.nav-link {
  color: #333333 !important;
  padding: 0.5rem 0.7rem;
}

.nav-link:hover {
  color: var(--accent) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.hero {
  width: 100%;
  padding-top: 80px;
  background-image: url("assets/images/hero-BG-img.jpg");
  color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 63px);
  line-height: 1.04;
  color: var(--primary);
  font-weight: 600;
}

.hero p.lead {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}
.cst-hero-sub {
  padding-bottom: 0px !important;
}

.btn.btn-primary.me-2 {
  background: #1275b1;
  color: #fff;
  border: 2px solid #1275b1;
  transition: all 0.3s ease;
}

.btn.btn-primary.me-2:hover {
  background: transparent;
  color: #1275b1;
  border-color: #1275b1;
}

.btn.btn-outline-secondary {
  background: #1275b1;
  color: #fff;
  border: 2px solid #1275b1;
  transition: all 0.3s ease;
}

.btn.btn-outline-secondary:hover {
  background: transparent;
  color: #000000;
  border-color: #1275b1;
  font-weight: 600;
}

.btn.btn-outline-secondary img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.btn.btn-outline-secondary:hover img {
  filter: brightness(1) invert(0);
}

.profile-photo {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  object-fit: cover;
}

.stat {
  background: #e7f1f7;
  border-radius: 6px;
  padding: 12px 30px;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 6px 20px rgba(12, 38, 76, 0.03);
}

.stat .num {
  font-weight: 600;
  font-size: 32px;
  color: #424e60;
}

.stat .lbl {
  font-size: 16px;
  color: #697484;
  margin-top: 4px;
}

.skills-card {
  margin-top: 100px;
  background: #fff;
  border-radius: 8px;
  padding: 70px;
  box-shadow: 0px 36px 105px 0px #2b384c1a;
  position: relative;
  margin-bottom: -90px;
}

.skill-badge {
  border-radius: 999px;
  padding: 10px 30px;
  margin: 6px 6px 15px 0;
  display: inline-block;
  border: 1px solid var(--accent);
  font-size: 16px;
  color: var(--accent);
  background: transparent;
}

.my-skill {
  padding-bottom: 23px;
  color: #556070;
  font-size: 18px;
  font-weight: 400;
}

.custom-margin {
  margin-top: 40px !important;
}

.work-process-sec {
  padding: 140px 140px;
  background-color: #f0f1f3;
  padding: 210px 0 100px 0;
}

.cst-work-process {
  width: 324px;
}

.process-box {
  transition: all 0.25s ease;
  border-radius: 12px;
  padding: 25px;
  background: #fff;
  margin-bottom: 25px;
  min-height: 250px;
  border: 1px solid #e6e8eb;
}
.process-box:hover {
  border-color: transparent;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.process-box .icon {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(18, 117, 177, 0.08);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.process-box:hover .icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.project-idea {
  background: #132238;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.project-contact,
.cst-work-process {
  font-size: 48px !important;
  font-weight: 600 !important;
}

.project-idea .btn {
  border-radius: 6px;
  background: #1275b1;
  color: #fff;
  border: none;
  border: 1px solid transparent;
}

.project-idea .btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  transition: all 0.3s ease;
  border: 1px solid;
}

.btn.btn-light {
  font-size: 16px;
  font-weight: 600;
}

.btn.btn-primary.px-4 {
  background: #1275b1;
  color: #fff;
  border: 2px solid #1275b1;
  transition: all 0.3s ease;
}

.info-card a {
  color: #132238;
  text-decoration: none;
}

.btn.btn-primary.px-4:hover {
  background: transparent;
  color: #1275b1;
  border-color: #1275b1;
}

.projects {
  padding: 100px 20px 0px !important;
}

.recent-projects {
  padding-bottom: 8px;
  font-weight: 600 !important;
  font-size: 48px;
}

.recent-text {
  padding-bottom: 60px;
  font-size: 18px;
  color: #87909d;
}

.card-body.text-start {
  padding: 32px;
}

.cst-more-margin {
  margin-top: 50px;
}

.cst-lets-discuss {
  font-size: 38px !important;
  font-weight: 600 !important;
}

.cst-text-discuss .text-muted {
  font-size: 18px !important;
}

.info-card {
  width: 360px;
}
.contact-box a {
  text-decoration: none;
  color: #132238;
}

.cst-contact-social {
  font-size: 18px;
}

.cst-submit {
  margin-top: 33px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
}

.cst-card-heading {
  font-size: 18px;
  color: #132238;
}

.cst-work-text {
  font-size: 18px;
  font-weight: 400;
  color: #697484;
}

.cst-process {
  font-size: 16px;
}

.cst-process-heading {
  font-size: 20px;
  font-weight: 600;
}

.cst-project-content {
  font-size: 18px;
  font-weight: 400;
  color: #a5acb5;
  margin: 25px 0px;
}

.text-muted {
  color: #697484 !important;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  border: 1px solid #e6e8eb;
}
.project-tec-icon {
  width: 28px;
  height: 28px;
  object-fit: contain !important;
}
.project-card:hover {
  box-shadow: 0px 12px 64px 0px #1c19191f;
  transition: transform 0.3s ease;
}

.project-card img {
  object-fit: cover;
  transition: transform 0.3s ease;
}

.btn.btn-outline-primary.btn-sm {
  color: #1275b1;
  border: 1px solid #1275b1;
  background: transparent;
  transition: all 0.3s ease;
}

.btn.btn-outline-primary.btn-sm:hover {
  background: #1275b1;
  color: #fff;
  border-color: #1275b1;
}

.btn.btn-outline-primary.btn-sm .arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.btn.btn-outline-primary.btn-sm:hover .arrow-icon {
  transform: translateX(4px);
  filter: brightness(0) invert(1);
}

.side-logs {
  background-color: #fff;
  border-left: 3px solid #0d5fc3;
  border-left: 1px solid #eee;
  position: fixed;
  top: 0px;
  right: 0;
  z-index: 1050;
  width: 18%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.log-title {
  font-size: 20px;
  font-weight: 600;
  color: #132238;
  padding: 10px 0;
  border-bottom: 2px solid;
}

.log-item {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 8px;
}

.log-item:last-child {
  border-bottom: none;
}

.log-icon {
  width: 20px;
  height: 20px;
}

.log-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.log-heading {
  font-size: 0.95rem;
  color: #132238;
  font-weight: 400;
  line-height: 1.4;
}

.side-logs::-webkit-scrollbar {
  width: 6px;
}

.side-logs::-webkit-scrollbar-thumb {
  background-color: #adb5bd;
  border-radius: 10px;
}

.side-logs::-webkit-scrollbar-thumb:hover {
  background-color: #6c757d;
}

.contact-section {
  background: transparent;
  position: relative;
  margin-top: 0;
  margin-bottom: 0px;
  padding-top: 20px;
}

.contact-box {
  z-index: 5;
  position: relative;
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0px 59px 124px 0px #0000001f;
  bottom: -90px;
  border: 1px solid #000;
}

.form-control {
  border: none;
  border-bottom: 1.5px solid #e6e8eb;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  transition: border-color 0.3s ease;
  padding: 12px 0;
  font-size: 18px;
  color: #697484;
}

.form-label {
  margin-bottom: 0.5rem;
  color: #697484;
  transition: color 0.3s ease;
  font-size: 18px;
  font-weight: 400;
}

.form-group:hover {
  color: #1275b1;
}

.cst-form-contact textarea {
  border: 1px solid #e6e8eb !important;
  padding: 10px !important;
}

.cst-form-contact textarea:focus {
  box-shadow: none !important;
}

.cst-form-contact .form-control:focus::placeholder,
.cst-form-contact .form-control:hover::placeholder {
  color: #1275b1;
}

input.form-control:hover,
input.form-control:focus {
  border-bottom-color: #1275b1;
  box-shadow: none;
}

.bi-send::before {
  content: "\f6c0";
  transform: rotate(45deg);
}

.divider {
  width: 65%;
  height: 2px;
  background-color: #e6e8eb;
  margin: 80px auto;
  border-radius: 2px;
}
/* cst cta btn css */
.cst-cta-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.cst-cta-box {
  background: #fff;
  padding: 35px;
  max-width: 520px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cst-cta-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.cst-cta-box h2 {
    color: #1275b1;
    font-weight: 600;
    font-size: 28px;
}

.cst-cta-box h3 {
  color: #132238;
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 600;
}
.cst-cta-box p {
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
}
/* Footer */
.footer {
  background: #2b384c;
  color: #b9c4d6;
  padding-top: 150px;
  padding-bottom: 50px;
  text-align: center;
  position: relative;
}

.footer:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(assets/images/footer-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}

.footer-logo {
  position: relative;
  z-index: 1;
}

.footer .nav-item a {
  color: #fff !important;
}

.text-info {
  --bs-text-opacity: 1;
  color: #0a66c2 !important;
}

.text-primary {
  --bs-text-opacity: 1;
  color: #0a66c2 !important;
}

.footer-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

.work-process-mt {
  margin-top: -25px;
}

.porject-sub-pre {
  max-width: 575px;
  margin: auto;
  color: #87909d;
  font-size: 18px;
  margin-bottom: 50px;
}

.info-card img {
  width: 50px;
  padding: 10px;
  border: 1px solid #1275b1;
  border-radius: 4px;
}

.info-card {
  box-shadow: 0px 12px 64px 0px #1c19191f;
  padding: 20px;
  border-radius: 10px;
}
.cst-footer-nav {
  z-index: 1;
}
.highlight {
  background: rgba(255, 215, 0, 0.25);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 500;
}
/* fade in right */
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.work-process-section {
  padding: 100px 0px;
}
.services-box ul {
  color: #556070;
  padding-left: 20px;
  font-family: "Work Sans";
  margin: 0;
}
.services-box .cst-process-heading {
  color: #1275b1;
  padding-bottom: 10px;
}
.services-box-1,
.services-box-3 {
  border-radius: 0 0 50px 0;
}
.services-box-2 {
  border-radius: 0 0 0 50px;
}
.services-box-4 {
  border-radius: 0 50px 0 0;
}
.services-box-5 {
  border-radius: 50px 0 0 0;
}
@media (max-width: 991px) {
  .side-logs {
    display: none;
  }
}
/* Mobile & Tablet */
@media (max-width: 767px) {
  .work-process-section {
    padding: 60px 0px;
  }
  .card-body.text-start {
    padding: 20px;
  }
  .cst-mob-mt {
    margin-top: 25px;
  }
  .process-box {
    margin-bottom: 0px;
    min-height: auto;
  }

  .cst-work-text,
  .cst-project-content,
  .my-skill,
  .hero p.lead,
  .recent-text,
  .cst-text-discuss .text-muted {
    font-size: 16px !important;
    font-weight: 400 !important;
  }

  .cst-lets-discuss,
  .recent-projects,
  .cst-my-skill,
  .cst-work-process,
  .project-contact {
    font-size: 32px !important;
    font-weight: 600 !important;
  }

  /* mobile sidebar scroll */
  #navMobile .mobile-sidebar {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
  }

  /* optional: smooth scroll */
  #navMobile .mobile-sidebar {
    scroll-behavior: smooth;
  }

  .cst-logo {
    padding-left: 10px;
  }

  .mobile-sidebar {
    padding-left: 5px;
    padding-right: 5px;
  }

  .nav-link {
    padding: 0.5rem;
  }

  .footer-title,
  .brand-title {
    font-size: 28px;
    font-weight: 600;
  }

  .brand-circle {
    width: 40px !important;
    height: 40px !important;
  }

  i#menuIcon {
    font-size: 30px !important;
  }

  .hero {
    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
  }

  #menuToggle:focus {
    outline: none;
    box-shadow: none;
    border: none;
  }

  .side-logs.bg-white.rounded-0.p-3.shadow-sm.border-start {
    display: none;
  }

  .skills-card {
    margin-top: 0px;
    padding: 30px;
    min-width: 100%;
  }

  .skill-badge {
    padding: 8px 12px;
    font-size: 12px;
    margin: 6px 6px 10px 0;
  }

  .work-process-sec {
    padding: 60px 10px 60px;
    margin-top: 180px;
  }

  .contact-box {
    margin: -60px auto 20px auto;
    padding: 20px;
    bottom: -90px;
  }

  .contact-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .work-process-mt {
    margin-top: 0px;
  }

  .custom-margin {
    margin-top: 20px !important;
  }

  .cst-form-contact {
    padding-left: 0;
  }

  .cst-experience {
    padding: 12px 64px;
  }

  .cst-happy {
    padding: 12px 53px;
  }

  .cst-text-discuss {
    padding-left: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .profile-photo {
    width: 100%;
    height: auto;
  }

  .project-idea,
  .projects,
  .footer {
    min-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .projects {
    padding: 60px 20px 0px !important;
  }

  .btn-primary.me-2 {
    margin-bottom: 10px !important;
  }

  .form-label {
    font-size: 16px;
    font-weight: 400;
  }

  .stat {
    width: 100%;
  }

  .info-card {
    box-shadow: 0px 12px 20px 0px #1c19191f;
    width: 100%;
    display: block !important;
  }

  .divider {
    width: 70%;
    margin: 60px auto;
  }
  .project-contact br,
  .cst-project-content br {
    display: none;
  }
  .work-log-toggle {
    cursor: pointer;
    display: none;
  }
  /* cta popup mobile css */
  .cst-cta-box {
    margin: 0 20px;
    padding: 25px;
}
.cst-cta-box h2 {
    font-size: 24px;
}
.cst-cta-box h3 {
    font-size: 20px;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
  .info-card {
    min-width: 200px !important;
  }

  .max-work,
  .projects {
    min-width: 100%;
    padding-left: 15px;
  }

  .contact-box {
    margin: 0 auto;
    bottom: -90px;
  }

  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-idea {
    min-width: 100%;
  }

  .footer {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .profile-photo {
    width: 100%;
    height: auto;
  }
}
