:root {
  --font-main: 'Inter', sans-serif;
  --color-bg: #f9f9f9;
  --color-white: #ffffff;
  --color-text: #111111;
  --color-subtext: #4d4d4d;
  --color-border: #eaeaea;
  --color-primary: #000000;
  --radius: 12px;
  --sidebar-width: 240px;
  --shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  --shadow-light: 0 0 5px rgba(0, 0, 0, 0.05);
  --padding: 20px;
}

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

body,
html {
  height: 100%;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  /* width: 100%;
  overflow-x: hidden; */
}

/**button animate**/
a.kamranakhtar-contact-btn {
    -webkit-appearance: none;
    padding:10px 25px;
    color:white !important;
    border-radius: 4;
    outline: 0;
    position: relative;
    background: linear-gradient(-45deg, #0073aa, #0073aa, #0073aa, #0073aa50);
	border-radius: 8px;
    background-size: 400% 400%;
    animation: gradientBG 3s ease infinite;
	    font-size: 1rem;
    font-weight: 500;
	text-decoration:none !important

}

a.kamranakhtar-contact-btn:hover{
    transform: translateY(-2px);
   box-shadow: 0 10px 25px rgba(0, 115, 170, 0.35);
    
}
@keyframes gradientBG {
   0% {
      background-position: 0% 50%;
   }
   50% {
      background-position: 100% 50%;
   }
   100% {
      background-position: 0% 50%;
   }
}

.kamranakhtar-layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.kamranakhtar-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 95vh;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  padding: var(--padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
li.menu-item span

 {
    color: white;
}
ul li {
    list-style-type: none !important;
}
ul#menu-main-menu-1 li, ul#menu-social-menu li {
    list-style-type: none !important;
}
.mobile-header__profile img {
    width: 50px;
    height: 50px;
	object-fit:cover !important;
    border-radius: 100%;
}
aside.kamranakhtar-sidebar {
  margin-left: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #0073aa;
  Color:white;
}
.kamranakhtar-profile {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kamranakhtar-profile img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.kamranakhtar-profile h2 {
  font-size: 16px;
  font-weight: 500;
}

.kamranakhtar-profile p {
  font-size: 12px;
  color: var(--color-subtext);
  text-align: left;
  padding-top: 6px;
}

.mobile-nav ul li a span {
  color: #111111;
}

ul#menu-social-menu li a span {
    color: #111111;
}
.kamranakhtar-navigation-group {
  display: flex;
  flex: 1 0 0px;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 1px;
  justify-content: space-between;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 100%;
}
.kamranakhtar-navigation-group {
  margin-top: 30px;
}
.kamranakhtar-menu svg,
.kamranakhtar-socials svg {
  width: 20px !important;
  height: 20px !important;
}
li.menu-item svg {
    fill: white !important;
    color: white !important;
}
.kamranakhtar-menu a,
.kamranakhtar-socials a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 10px 0;
  text-decoration: none;
  color: white;
  font-weight: 400 !important;
}

.kamranakhtar-menu a.active {
  font-weight: bold;
}

/* MAIN CONTENT */
.kamranakhtar-main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 30px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  justify-content: center;
  background-color: var(--color-bg);
}

.kamranakhtar-main-inner {
  max-width: 1400px;
  width:90%;
}

/* INTRO */
.kamranakhtar-hero-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 10px;
  font-family: sans-serif;
}

.kamranakhtar-hero-text {
  font-size: 40px;
  font-weight: 500;
  font-family: var(--font-main);
}

.kamranakhtar-wave {
  display: inline-block;
  animation: kamranakhtar-waveAnim 2s infinite;
}

@keyframes kamranakhtar-waveAnim {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}

.kamranakhtar-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kamranakhtar-status {
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #333;
}

.kamranakhtar-status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #00d084; /* green */
  border-radius: 50%;
}

.kamranakhtar-status-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: #00d084;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s ease-out infinite;
  opacity: 0.6;
}
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}
span.kamranakhtar-status-dot {
  margin-right: 5px;
}
/* .kamranakhtar-contact-btn {
  background-color: #0073aa;
  color: !important;
  font-weight:500;
  padding: 8px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
} */

/* ROLES */
 h2.rolesr {
    font-size: 32px;
    font-weight: 500;
    padding-top: 24px;
}
.kamranakhtar-roles {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.kamranakhtar-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5; /* Default for desktop/tablet */
  max-height: 6em; /* 4 lines × 1.5em */
}
button.kamranakhtar-contact-btn {
    -webkit-appearance: none;
    border: none;
    padding: 10px 25px;
    color: white !important;
    border-radius: 4;
    outline: 0;
    position: relative;
    background: linear-gradient(-45deg, #0073aa, #0073aa, #0073aa, #0073aa50);
    border-radius: 8px;
    background-size: 400% 400%;
    animation: gradientBG 3s ease infinite;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
}
form button{
    margin-top: 20px;
}
.kamranakhtar-card-text, section.kamranakhtar-roles a {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter';
    color: black;
}
section.kamranakhtar-roles a{
  text-decoration: none !important;
}
.kamranakhtar-card-description {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  opacity: 0;
  transform: translateY(20px);
   transition:
    opacity 0.2s ease 2s,         /* fade in after 1s */
    transform 0.2s ease 2s;       /* slide up after 1s */
  font-size: 14px;
  color: #555;
  pointer-events: none;
}
.card-icon,
.kamranakhtar-card-text,
.kamranakhtar-card-description {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.kamranakhtar-card.active .point {
    rotate: 180deg;
}
/* When card is active */
.kamranakhtar-card.active .card-icon,
.kamranakhtar-card.active .kamranakhtar-card-text {
  transform: translateY(-30px);
 
  
}

.kamranakhtar-card.active .kamranakhtar-card-description {
  opacity: 1;
   color:black;
  transform: translateY(0);
  pointer-events: auto;
}
.kamranakhtar-card {
  background: white;
  border-radius: var(--radius);
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 32%;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0px;
}
.kamranakhtar-card-text svg {
  transform: rotate(180deg);
  transform-origin: 50% 50% 0px;
  width: 19px !important;
  height: 19px !important;
}
.ui-des {
   width: 60px;
    height: 60px;
 
  transition: 
    width 0.4s ease, 
    height 0.4s ease, 
    top 0.4s ease, 
    left 0.4s ease, 
    transform 0.4s ease;
      
}
.kamranakhtar-projects-grid {
    padding: 0px !important;
}
.kamranakhtar-card.active .ui-des{
  width: 90px;
  height: 90px;
  top: 10px;
  left: 15px;
  transform: translate(-15%, -10%) /* centers it */ /* cancel center positioning */
}
.kamranakhtar-card.active img{
 
  height: 40px!important;
   width: 40px!important;

}
.kamranakhtar-card-text {
    font-weight: 500;
    margin-top: 30px;
}
.kamranakhtar-card-text {
    font-weight: 500;
}
.kamranakhtar-card-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
   position: relative;
    left: -5px;
    z-index: 99;
}
.kamranakhtar-card:hover {
  transform: translateY(-5px);
}

.kamranakhtar-hero-text p {
  font-size: 16px;
  max-width: 72%;
  padding-top: 24px;
  color: var(--color-subtext);
  font-weight: 400;
  line-height: 22.4px;
}

/* ABOUT */
section.kamranakhtar-about-wrapper h2 {
  font-size: 32px;
  font-weight: 500;
  padding-bottom: 24px;
}
section.kamranakhtar-about-wrapper.about-temp {
  margin-top: 24px;
}
section.kamranakhtar-about {
  padding-top: 24px;
}
.kamranakhtar-about-grid {
  display: grid;
  background: #0073aa0a;
  grid-template-columns: 1fr 1fr;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 12px;
}

.kamranakhtar-about-box {
  padding: 1.5rem;
  border-right: 1px solid rgb(247, 247, 247);
  position: relative;
}
a.kamranakhtar-about-link {
  position: absolute;
  right: 15px;
  bottom: 10px;
  margin: 0px;
}
.kamranakhtar-border-left {
  border-left: 1px solid rgb(247, 247, 247);
}

.kamranakhtar-border-top {
  border-top: 1px solid rgb(247, 247, 247);
}

.kamranakhtar-about-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.kamranakhtar-about-header h3 {
  font-size: 16px;
  font-weight: 500;
}
.kamranakhtar-about-content ul {
  padding-left: 20px;
}
.edu-list {
  font-size: 14px;
  color: var(--color-subtext);
  line-height: 19.6px;
}
.kamranakhtar-about-icon {
  font-size: 16px;
}

.kamranakhtar-about-content p {
  margin: 0;
  font-size: 14px;
  color: #444;
}

.kamranakhtar-about-date {
  display: block;
  font-size: 14px;
  color: var(--color-subtext);
  margin-top: 12px;
}

.kamranakhtar-about-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-subtext);
  text-decoration: none;
}
.exp,
.cert {
  padding-top: 48px;
}
@media (max-width: 768px) {
  .kamranakhtar-about-grid {
    grid-template-columns: 1fr;
  }

  .kamranakhtar-about-box {
    border-right: none;
  }

  .kamranakhtar-border-left,
  .kamranakhtar-border-top {
    border-left: none;
    border-top: 1px solid #eee;
  }
}

/**projects**/

.kamranakhtar-projects-section {
  padding: 40px;
  padding-bottom: 0px;
  padding-left: 0px;
  border-radius: 12px;
  padding-right:0px;
}
h2.other-pr {
    padding-bottom: 30px;
    font-weight: 500;
}
section.kamranakhtar-hero-banner {
    display: flex
;
    flex-direction: column;
}
.pr-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
p.kamranakhtar-caption a {
    font-size: 16px;
    padding: 12px 10px;
    color: #111;
    text-decoration: none;
    padding-left: 0px;
}
.post-type-archive-project .kamranakhtar-projects-grid {
    padding: 24px !important;
}
.kamranakhtar-projects-grid a {
    text-decoration: none;
}
.kamranakhtar-projects-grid {

    padding: 24px;
    border-radius: 12px;
}
.kamranakhtar-view-icon {
  flex-direction: column;
  display: flex;
  align-items: center;
}
.kamranakhtar-view-icon a {
  font-size: 16px;
  text-decoration: none;
}
.kamranakhtar-project-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
}

.kamranakhtar-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kamranakhtar-project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.kamranakhtar-projects-box {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
}
.kamranakhtar-project-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.kamranakhtar-project-image {
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  display: block;
}

.kamranakhtar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kamranakhtar-view-icon {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: black;
}

.kamranakhtar-view-icon p {
  margin-top: 4px;
}

.kamranakhtar-project-image-wrapper:hover .kamranakhtar-overlay {
  opacity: 1;
}

.kamranakhtar-project-image-wrapper:hover .kamranakhtar-project-image {
  filter: blur(4px);
}

.kamranakhtar-caption {
  font-size: 16px;
  padding: 12px 10px;
  color: #111;
}

.kamranakhtar-view-all {
  text-align: right;
  margin-top: 24px;
}

.kamranakhtar-view-all a {
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-subtext);
}

/***stack**/
.kamranakhtar-stack-section {
  background: #f7f7f7;
}
section.kamranakhtar-stack-section {
  margin-top: 24px;
}
section.kamranakhtar-stack-section.about-temp {
  margin-top: 24px;
}
.kamranakhtar-stack-container {
  margin: 0 auto;
 background: #0073aa0a;
  border-radius: 16px;
  padding: 40px;
}
.testimonial .name {
    font-weight: 600;
}
.kamranakhtar-stack-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
}

.kamranakhtar-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.kamranakhtar-stack-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: none;
  transition: transform 0.2s ease;
}

.kamranakhtar-stack-item:hover {
  transform: translateY(-5px);
}

.kamranakhtar-stack-item img {
  width: 95px;
  height: 95px;
  padding: 25px;
  object-fit: contain;
  background: rgb(247, 247, 247);
  border-radius: 6px;
}

.kamranakhtar-stack-item span {
  font-size: 1rem;
  color: #111;
  font-weight: 500;
}

.kamranakhtar-stack-footer {
  margin-top: 30px;
  text-align: right;
}

.kamranakhtar-stack-link {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
}

.kamranakhtar-stack-link:hover {
  text-decoration: underline;
}

/***pr-idea**/
.kamranakhtar-contact-section {
  background: linear-gradient(
      to top,
      rgb(255 255 255 / 96%),
      rgba(255, 255, 255, 1)
    ),
    url(../images/lines.svg) center / contain repeat;
  padding: 96px 24px;
  text-align: center;
  border-radius: 16px;
  margin-top: 40px;
}

.kamranakhtar-contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.kamranakhtar-contact-text {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #111;
}

/* .kamranakhtar-contact-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #0073aa;
  color: white;
  font-weight:500;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.kamranakhtar-contact-btn:hover {
  background-color: white;
	color:black;
} */

/**stack page**/
.stack-pg h2 {
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter";
  padding-bottom: 24px;
}
.kamranakhtar-stack-design {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kamranakhtar-stack-container.stack-pg {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.kamranakhtar-stack-container.stack-pg {
  padding: 24px;
}
.kamranakhtar-stack-grid.stack-pg-grid {
  grid-template-columns: repeat(2, 1fr);
}
.kamranakhtar-stack-item p {
  font-size: 14px;
  line-height: 19.6px;
  padding-bottom: 10px;
  padding-left: 5px;
}

/***contact page css***/
.kamranakhtar-lets-contact {
  padding-top: 24px;
  background: #f7f7f7;
}

.kamranakhtar-lets-contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.kamranakhtar-lets-contact .contact-card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  position: relative;
}

.kamranakhtar-lets-contact .contact-card:hover {
  transform: translateY(-2px);
}

.kamranakhtar-lets-contact .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kamranakhtar-lets-contact .icon img {
  width: 36px;
  height: 36px;
}

.kamranakhtar-lets-contact .arrow {
  margin-left: auto;
  font-size: 1rem;
}

span.arrow svg {
  width: 19px !important;
  height: 19px !important;
}




.kamranakhtar-lets-contact .icon.email {
  background: linear-gradient(135deg, #e0e0e040, #ffffff40);
}
.kamranakhtar-lets-contact .icon.call {
  background: linear-gradient(135deg, #fff6d640, #fdf2c240);
}
.kamranakhtar-lets-contact .icon.twitter {
  background: linear-gradient(135deg, #d8f4ff40, #c3f0ff40);
}
.kamranakhtar-lets-contact .icon.linkedin {
  background: linear-gradient(135deg, #f3e8ff40, #e8dbff40);
}
.kamranakhtar-lets-contact .icon.framer {
  background: linear-gradient(135deg, #ffe3ec40, #ffccd540);
}
.kamranakhtar-lets-contact .icon.instagram {
  background: linear-gradient(135deg, #e6fff240, #ccffeb40);
}
/***mb header***/
/* nav#mobileNav {
    background: white;
    position: fixed;
    top: 112px;
    right: 10px;
    background: white;
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 16px;
} */
/**ct form**/
.kamranakhtar-ct-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 48px;
}
.kamranakhtar-ct-form h3 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
  font-family: "inter";
}
.kamranakhtar-ct-form h3 {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 12px;
  font-family: "inter";
  color: rgb(77, 77, 77);
}

label.ag-chk {
  font-size: 14px;
  color: rgb(77, 77, 77);
  font-family: Inter, sans-serif;
}

.form-group.msg {
  margin-top: 24px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f7f7f7;
  font-size: 12px;
  resize: none;
  font-family: "inter";
}

textarea {
  height: 150px;
}

.form-check {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.form-check input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

button[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 16px;
  width: 100%;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #222;
}

/***single project page***/
.kamranakhtar-project-page {
  background-color: var(--color-white);
  margin: 24px auto;
  padding: 30px;
  border-radius: 12px;
}
section.kamranakhtar-content h2,
h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
}
.kamranakhtar-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.kamranakhtar-back-link {
  color: #0077cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.kamranakhtar-meta span {
  margin-left: 15px;
  color: #777;
}

.kamranakhtar-main-image img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
	object-fit: contain;
}
 .single .kamranakhtar-main-image img {
    height: 500px;
    object-fit: cover;
  }
  .project-template-default .kamranakhtar-main-image img {
    
    object-fit: contain;
  }
  .project-template-default .kamranakhtar-meta{
      display:none;
  }

.kamranakhtar-thumbnails {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kamranakhtar-thumbnails img {
  flex: 1;
  min-width: 200px;
  max-width: 32%;
  border-radius: 8px;
}

.kamranakhtar-content h2,
.kamranakhtar-content h3 {
  margin-top: 30px;
  color: #111;
}

.kamranakhtar-content p {
  margin-top: 10px;
  color: #444;
}

.kamranakhtar-content ul {
  margin-top: 10px;
  padding-left: 20px;
}

.kamranakhtar-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 14px;
}
.kamranakhtar-main-image:hover .kamranakhtar-overlay {
  opacity: 1;
}
section.kamranakhtar-main-image {
  position: relative;
}

/***review section***/
.testimonial-marquee {
  max-width: 80vw;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: scroll-horizontal 110s linear infinite;
  width: max-content;
}

.testimonial {
  width: 350px;
  flex-shrink: 0;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.name {
  font-weight: bold;
  margin: 0;
}

.role {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.stars {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 10px;
}

.quote {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

@keyframes scroll-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 9 - 24px * 9)); }
}

/* Gradient edge masks */
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9 0%, transparent 100%);
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9 0%, transparent 100%);
}


/* Mobile (vertical scroll) */
@media (max-width: 767px) {
  .marquee-track {
    flex-direction: column;
    animation: scroll-vertical 60s linear infinite;
  }
	button.kamranakhtar-contact-btn {
    -webkit-appearance: none;
    border: none;
    padding: 10px 25px;
    color: white !important;
    border-radius: 4;
    outline: 0;
    position: relative;
    background: linear-gradient(-45deg, #0073aa, #0073aa, #0073aa, #0073aa50);
    border-radius: 8px;
    background-size: 400% 400%;
    animation: gradientBG 3s ease infinite;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
}
li.menu-item svg {
    fill: #0073aa !important;
    color: #0073aa !important;
}
  .testimonial-marquee {
    height: 85vh;
    max-width: 100vw;
    padding: 20px 0;
  }

  @keyframes scroll-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 50px)); }
  }

  .testimonial {
    width: 100%;
    margin: 0 auto;
    padding: 24px;
  }
	.marquee-track{
		width:100%;
	}

  .testimonial-marquee::before {
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, transparent 100%);
    width: 100%;
    height: 100px;
  }

  .testimonial-marquee::after {
    bottom: 0;
    top: auto;
    left: 0;
    background: linear-gradient(to top, #f9f9f9 0%, transparent 100%);
    width: 100%;
    height: 60px;
  }
}
/***footer***/
.footer-container {
  margin-top: 50px;
}
.footer-container span,
a {
  font-size: 12px;
  color: #4d4d4d;
}

/**mobile header***/
/* Mobile Header */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin: 10px;

}

.mobile-header__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-header__name {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

.mobile-header__role {
  font-size: 12px;
  color: #6c6c6c;
}

.mobile-header__menu-icon {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.mobile-menu span.menu-icon.svg-icon svg {
    width: 15px !important;
    height: 15px !important;
    position: relative;
    top: 2px;
    margin-right: 8px;
    
}
.mobile-header__menu-icon span {
  height: 2px;
  background: #111;
  border-radius: 2px;
}
/* Mobile nav (hidden by default) */
/* .mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  right: 10px;
  background: white;
  width: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 16px;
} */

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

.mobile-nav ul li {
  margin-bottom: 12px;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
}
.mobile-header__menu-icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-header__menu-icon.open span:nth-child(2) {
  opacity: 0;
}

.mobile-header__menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-header__menu-icon span {
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.kamranakhtar-socials {
  padding-bottom: 30px;
}
/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 95%;
    z-index: 999;
  }

  .kamranakhtar-projects-box {
    background-color: white;
    padding: 24px 14px;
    border-radius: 12px;
  }

  .initaly-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .kamranakhtar-main-inner {
    margin-top: 90px;
  }

  .kamranakhtar-sidebar,
  .desktop-header {
    display: none;
  }

  .kamranakhtar-main-content {
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
  }

  #mobileNav,
  div#mobileSocial {
    display: none !important;
  }

  #mobileSocial span.menu-icon.svg-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  div#mobileSocial {
    padding: 10px 0;
  }

  #mobileNav.mobile-nav-visible,
  #mobileSocial.mobile-nav-visible {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
    padding: 30px 12px 0 12px;
  }

  div#mobileSocial.mobile-social-visible {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
    padding-left: 12px;
    border-top: 1px solid #80808021;
  }

  .mobile-nav ul li {
    margin-bottom: 20px;
  }

  span.menu-label {
    font-size: 14px;
    font-family: 'Inter';
    font-weight: 400;
  }

  .kamranakhtar-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .kamranakhtar-hero-actions {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
  }

  .kamranakhtar-layout {
    display: block;
  }

  button.kamranakhtar-contact-btn {
    width: 100% !important;
  }

  .kamranakhtar-hero-text p {
    font-size: 16px;
    max-width: 100%;
  }

  section.kamranakhtar-about-wrapper h {
    font-size: 22px;
  }

  .kamranakhtar-project-title {
    font-size: 22px;
  }

  .kamranakhtar-hero-text {
    font-size: 32px;
  }

  .kamranakhtar-projects-section {
    padding-right: 0;
  }

  h2.review-heading {
    font-size: 22px !important;
  }

  .review-card {
    padding: 40px !important;
  }

  section.kamranakhtar-contact-section {
    margin-top: 24px;
  }

  .kamranakhtar-stack-title {
    font-size: 22px;
  }

  .kamranakhtar-stack-item span {
    display: none;
  }

  .kamranakhtar-projects-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .kamranakhtar-stack-grid {
    gap: 13px!important;
  }

  .kamranakhtar-stack-container {
    padding: 20px;
  }

  .kamranakhtar-stack-design {
    grid-template-columns: repeat(1, 1fr);
  }

  .kamranakhtar-lets-contact .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  a.kamranakhtar-back-link {
    padding-bottom: 0;
  }

  a.kamranakhtar-contact-btn {
    width: 100%;
    text-align: center;
  }

  .kamranakhtar-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .single .kamranakhtar-main-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .project-template-default .kamranakhtar-main-image img {
    width: 100%;
    object-fit: contain;
  }

  .pr-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

 
  /*** Role ***/
  .kamranakhtar-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px 20px;
    gap: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    min-width: 100%;
  }

  .kamranakhtar-card-description {
    -webkit-line-clamp: 3;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 0;
    transform: none !important;
  }

  .kamranakhtar-card.active .kamranakhtar-card-description {
    max-height: 1000px;
	color:black;
    opacity: 1;
    margin-top: 8px;
  }

  .kamranakhtar-card.active {
    height: 168px;
  }

    .kamranakhtar-card .ui-des {
        position: absolute;
        top: 15px;
        left: 10px;
        width: 80px;
        height: 80px;
        transition: width 0.3s ease, height 0.3s ease;
        opacity: 0.3;
    }
	.kamranakhtar-stack-item img {
    width: 75px;
        height: 75px;
        padding: 20px;

}

  .kamranakhtar-card.active .ui-des {
    width: 38px;
    height: 38px;
  }

  .kamranakhtar-card-text {
    margin-top: 10px;
    transform: none !important;
    left: 0;
  }

  .svg-fade {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, white 0%, transparent 250%);
    z-index: 2;
    pointer-events: none;
  }

  .kamranakhtar-card.active .svg-fade {
    width: 0;
    height: 0;
  }

  .kamranakhtar-thumbnails img {
    min-width: 0;
  }
}




/*Single Fonts*/
/* Desktop - More Compact */
.single .kamranakhtar-content h2 {
  font-size: 28px;  /* reduced from 32px */
  line-height: 1.3;
  margin-bottom: 20px; /* reduced from 24px */
}

.single .kamranakhtar-content h3 {
  font-size: 22px;  /* reduced from 26px */
  line-height: 1.35;
  margin-bottom: 16px; /* reduced from 20px */
}

.single .kamranakhtar-content h4 {
  font-size: 18px;  /* reduced from 22px */
  line-height: 1.4;
  margin-bottom: 14px; /* reduced from 16px */
}

.single .kamranakhtar-content h5 {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.single .kamranakhtar-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.single .kamranakhtar-content li {
  font-size: 15px; /* slightly smaller */
  line-height: 1.5;
  margin-bottom: 10px;
}

.single .kamranakhtar-content a {
  font-size: inherit;
  color: #0066cc;
  text-decoration: underline;
}

/* Mobile - Even Tighter */
@media (max-width: 767px) {
  .single .kamranakhtar-content h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .single .kamranakhtar-content h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .single .kamranakhtar-content h4 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .single .kamranakhtar-content h5 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .single .kamranakhtar-content p {
    font-size: 15px;
    margin-bottom: 14px;
  }
}
.kamranakhtar-card-description {
  display: -webkit-box;        /* Needed for line clamping */
  -webkit-box-orient: vertical; /* Vertical orientation */
  -webkit-line-clamp: 2;        /* Show only 2 lines */
  overflow: hidden;             /* Hide the rest */
  text-overflow: ellipsis;      /* Show "…" at the end */
  line-height: 1.5em;           /* Optional: adjust line height */
  max-height: 3em;              /* Optional: line-height * 2 lines */
}
form button {
    -webkit-appearance: none;
    padding: 15px 25px !important;
    color: white !important;
    border-radius: 10px !important;
    outline: 0;
    position: relative;
    background: linear-gradient(-45deg, #0073aa, #0073aa, #0073aa, #0073aa50);
    border-radius: 8px;
    background-size: 400% 400%;
    animation: gradientBG 3s ease infinite;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
}