/* --------------------------------------------------
   Teja Praveen Alamanda – Portfolio (refined)
   Section order matches index.html
--------------------------------------------------*/

/* ---------- 1. Global ---------- */
:root {
  --gradient-primary: linear-gradient(90deg, #9845FF 0%, #FF31D9 100%);
  --gradient-secondary: linear-gradient(90deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%);
  --color-primary: #9845FF;
  --color-secondary: #FF31D9;
  --color-accent: #FF7448;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Syne", "Ovo", sans-serif;
  color: #333;
  line-height: 1.5;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}





/* ---------- 2. Typography ---------- */
.h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.h4 {
  font-size: 1.25rem;
  font-weight: 400;
}

.h5 {
  font-size: 1.125rem;
  font-weight: 500;
}

.caps-heading {
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .05em;
  color: #888;
}

.body-copy--16px-1-5-spacing {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 65ch;
}

.homepage-text {
  font-size: .875rem;
  color: #666;
}

.gradient {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%) text;
}





/* ---------- 3. Hero Section ---------- */
#hero-section {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 6%;
  padding-bottom: 6%;
}

.hero_container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Flex container for image + text */
.hero-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
  z-index: 2;
  position: relative;
  padding-left: 4rem;
  padding-right: 4rem;
}

.hero-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.relative-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  width: 100%;
  z-index: 1;
}

.meditation-memoji {
  max-width: 180px;
  width: 100%;
  height: auto;
  z-index: 2;
}

.bg-gradient-shape {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  z-index: 0;
}

.bg-gradient-crown {
  position: absolute;
  top: -86px;
  right: inherit;
  max-width: 100%;
  width: 40%;
  height: auto;
  z-index: 2;
}



/* ✅ Responsive Fixes */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .hero-flex-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10rem;
    padding-right: 10rem;
    gap: 2.5rem;
  }

  .hero-text-block {
    width: 100%;
    align-items: flex-start;
  }

  .relative-container {
    margin: 0 auto;
    max-width: 220px;
  }

  .meditation-memoji {
    max-width: 160px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .hero-flex-container {
    padding-left: 8rem;
    padding-right: 8rem;
    gap: 2rem;
  }

  .hero-text-block {
    width: 100%;
    gap: 1rem;
  }

  .relative-container {
    max-width: 200px;
  }

  .meditation-memoji {
    max-width: 150px;
  }
}

/* Extra small (phones) */
@media (max-width: 480px) {
  .hero-flex-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .h4,
  .h5 {
    font-size: 1rem;
  }

  .homepage-text {
    font-size: 0.95rem;
  }

  .view-project-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}





/* ---------- 4. Counter Section ---------- */
.counter-section {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.impact-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #9845ff, #ff31d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray, #5f5f5f);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .impact-stats {
    gap: 2rem;
  }

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

  .stat-label {
    font-size: 0.8rem;
  }
}



/* ---------- 2.5. Beta Banner ---------- */

.beta-banner {
  background-color: #fff7e6;
  color: #333;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f0e0b8;
  font-weight: 500;
  z-index: 999;
  position: relative;
}


.bar {
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, #FF31D9 50%, #9845FF 100%);
  margin-right: 15px;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 78%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 2.5rem 0;
}

section {
  scroll-margin-top: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
  opacity: 1;
  transform: none;
}

._50px-padding {
  padding: 3rem 1rem;
}

.hero_container,
.w-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.2rem;
}

.horizontal-flex---30px {
  /* display: flex; */
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.vertical-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 100%;
}

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

.stretch {
  flex: 1;
}

/* ---------- 4. Chip ---------- */
.chip {
  display: inline-flex;
  gap: 0.5rem;
  background: #6fc53112;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: 0 0 0 0.8px #00FF00;
  max-width: fit-content;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;

}

.yellow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6EC531;
  flex-shrink: 0;
  animation: pulse 1.1s infinite;
}

.chip-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #008000;
  white-space: nowrap;
}

@keyframes pulse {

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

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

.blinking-text {
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}




@media (max-width: 600px) {
  .chip {
    font-size: 12px;
    padding: 0.4rem 0.75rem;
    max-width: fit-content;
  }

  .chip-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .chip {
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 0 0 0.4px #6EC531;
    padding: 0.3rem 0.5rem;
    max-width: fit-content;
  }

  .chip-text {
    font-size: 10px;
  }

}




/* ---------- 4.1. Horizontal Flex with 30px Gap ---------- */


@media (max-width: 768px) {
  .horizontal-flex---30px {
    flex-direction: column;
    gap: 2rem;
    align-items: start;
    /* text start header*/
    text-align: start;
    padding: 0 1.2rem;
  }

  .vertical-flex {
    align-items: flex-start;
  }

  .h1-gradient {
    text-align: start;
  }

  .relative-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 240px;
    /*  Limit container width */
    margin: 0 auto;
  }

  .bg-gradient-shape {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    z-index: 0;
  }

  .meditation-memoji {
    position: relative;
    max-width: 160px !important;
    width: 100%;
    height: auto !important;
    z-index: 1;
  }

  .h1 {
    font-size: 1.75rem;
  }

  .h4,
  .h5 {
    font-size: 1rem;
  }

  .homepage-text {
    font-size: 0.95rem;
  }
}


/* ---------- 5. Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 78%;
  max-width: 1400px;
  margin: 1rem auto;
  border-radius: 1rem;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.252);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  transition: background .3s, box-shadow .3s, transform .3s;
}

.navbar.transparent {
  background: transparent;
  box-shadow: none;
}

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

.brand img {
  height: 56px;
}

/* Hamburger */
#menu-button {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;

}

#menu-button span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  transition: 0.3s;
  transform: translateY(-50%);
}

#menu-button span::before,
#menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

#menu-button span::before {
  top: -10px;
}

#menu-button span::after {
  top: 10px;
}

/* Open state transformation */
#menu-button.open span {
  background: transparent;
}

#menu-button.open span::before {
  top: 0;
  transform: rotate(45deg);
}

#menu-button.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Nav links */
.nav-menu {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-weight: 500;
}

.nav-link {
  position: relative;
  padding: .25rem 0;
  transition: color .3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%);
  transition: width .3s;
}

.nav-link:hover {
  color: #000;
  font-weight: 600;
}

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

/* Mobile nav */
@media(max-width:768px) {
  .navbar {
    padding: .75rem 1rem;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + .75rem);
    right: 0;
    background: rgba(255, 255, 255, .95);
    border-radius: .75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    display: none;
  }

  #nav-menu.open {
    display: flex;
  }

  #menu-button {
    display: block;
  }
}

/* ---------- 6. Hero Section ---------- */
.new-hero.project-hero-section {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 140px);
  background: none;
}

.relative-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
}

.bg-gradient-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 300px;
  z-index: 1;
}

.meditation-memoji {
  position: relative;
  z-index: 2;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}






/* ---------- 7. Featured Case Studies ---------- */

#featured-work {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  height: auto !important;
  transform: none !important;
}

.smoothscroll-wrapper {
  overflow: visible !important;
  position: relative !important;
}


.collection-item {
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.collection-item:hover {
  transform: translateY(-4px);
}

.featured-work-bg {
  background-image:
    linear-gradient(112.5deg, #d6d6d6 0%, #c3c3c3 53%, #999999 100%),
    linear-gradient(157.5deg, #d6d6d6 0%, #c3c3c3 53%, #999999 100%),
    linear-gradient(135deg, #d6d6d6 0%, #c3c3c3 53%, #999999 100%),
    linear-gradient(90deg, #c3c3c3, #e4e4e4);
  background-blend-mode: overlay, overlay, overlay, normal;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem;
  align-items: center;
}

.case-study-details {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.caps-heading {
  font-size: 1rem;
  color: #555;
}

.body-copy--16px-1-5-spacing {
  font-size: 1rem;
  line-height: 1.5;
}

.view-project-button,
.view-project-button1 {
  align-self: start;
  border-radius: .25rem;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 600;
}

.view-project-button {
  padding: 0.5rem 1.25rem;
  border: 1px solid #333;
  background: transparent;
  font-weight: 500;
}

.view-project-button:hover {
  background: #ff704e;
  border: none;
  color: #fff;
}

.view-project-button1 {
  padding: 16px 20px;
  border: 1px solid transparent;
  text-align: start;
}

.view-project-button1:hover {
  color: #ff704e;
}

#featured-work {
  min-height: 100vh;
}

#featured-work .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-wrap: nowrap;
  align-items: stretch;
}

.featured-image {
  width: 100%;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center;
}

.featured-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.shimmer-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffdd00;
}

.shimmer-only {
  background: linear-gradient(90deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%) text;
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 1s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}


/* ------------------ Responsive Fixes ------------------ */

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .project-grid {
    grid-template-columns: 1fr !important;
    /* Force single column */
    gap: 1.5rem !important;
    padding: 1.5rem !important;
    /* Consistent padding */
  }

  .case-study-details {
    padding: 1rem;
  }

  .featured-work-bg {
    /* background: linear-gradient(to bottom, #d6d6d6, #999) !important;
    background-blend-mode: normal !important; */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

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

  .caps-heading {
    font-size: 0.9rem;
  }

  .view-project-button1 {
    padding: 16px 20px;
    font-size: 12px;
  }

  .collection-item,
  .project-grid,
  .case-study-details,
  .featured-image {
    width: 100% !important;
  }

  .featured-image img {
    width: 100% !important;
    height: auto !important;
  }
}


/* ---------- 8. Bento Grid / Carousel ---------- */



.view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  /* space between text and arrow */
  cursor: pointer;
  margin-bottom: 2.5rem;
}

.view-all h2 {
  font-size: 18px;
  margin: 0;
}





.carousel-container {
  position: relative;

}


.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-inline: 2rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);

}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.carousel-btn.left {
  left: -1.5rem;
}

.carousel-btn.right {
  right: -1.5rem;
}

.carousel-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-50%) scale(1.1);
}

.modern-project-card {
  flex: 0 0 50%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;



}

.modern-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.project-image img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.project-content {
  background-color: white;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.project-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #222;
}

.project-content .duration {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.5rem;
  display: block;
}

.project-content p {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.5;
}

.view-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #f0f0f0;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-project-card:hover .view-btn {
  opacity: 1;
}

/* ✅ Image zoom on card hover */
.modern-project-card:hover .project-image img {
  transform: scale(1.08);
  transition: transform 0.4s ease;
}

/* ✅ Card background color change */
.modern-project-card:hover .project-content {
  background-color: #c0c2c5;
  /* Light blue tint – customize as needed */
}




@media (max-width: 768px) {
  .project-image img {
    max-height: 380px;
    height: auto;
    object-fit: contain;
    width: auto;
    margin: 0 auto;
    overflow: hidden;
  }

  .modern-project-card {
    flex: 0 0 100%;
  }

  .project-content h3 {
    font-size: 1rem;
  }

  .project-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .project-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .project-image img {
    max-height: 380px;
    height: auto;
    object-fit: contain;
    width: auto;
    margin: 0 auto;
    overflow: hidden;
  }

  .modern-project-card {
    flex: 0 0 110%;
  }

  .project-content h3 {
    font-size: 1rem;
  }

  .project-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .project-content {
    padding: 20px;
  }
}






/* ----- 9. Skills Section Styles ----- */

.skills-section {
  background: linear-gradient(135deg, #f8f9ff, #f5f7ff, #f0f4ff);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(152, 69, 255, 0.1) 0%, rgba(255, 49, 217, 0) 70%);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  /* background: linear-gradient(90deg, #9845ff, #ff31d9); */
  background-color: #ff704e;
  ;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.skills-tabs {
  flex: 0 0 250px;
  background: linear-gradient(180deg, #f9f9ff, #f4f5ff);
  padding: 30px 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.skill-tab:hover {
  background: rgba(152, 69, 255, 0.1);
  background: linear-gradient(58deg, #ff734816 0%, #ff31d916 50%, #9945ff16 100%);

}

.skill-tab.active {
  background: linear-gradient(58deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(152, 69, 255, 0.2);
  font-weight: 700;
}

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

.skills-panels {
  flex: 1;
  padding: 30px;
}

.skill-panel {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.skill-panel.active {
  display: block;
}

.panel-content {
  padding: 10px;
}

.panel-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-group {
  background: rgba(248, 249, 255, 0.5);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-category {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #666;
}

.skill-list {
  list-style: none;
}

.skill-list li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}

.skill-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ff704e;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

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

  }

  .skills-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px;
    padding-inline: 10px;
  }

  .skills-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); */
  }

  .skills-tabs::-webkit-scrollbar {
    display: none;
  }

  .skill-tab {
    flex: 0 0 auto;
    width: 40%;
    /* roughly 3 on screen */
    padding: 10px 60px;
    /* tighter padding */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    border-radius: 6px;
    border: 1px solid #ddd;
    /* background: #f7f7f7; */
    font-size: 0.8rem;
    transition: background 0.3s ease;
    height: fit-content;
  }

  .skill-tab.active {
    background-color: #ff704e;
    color: #fff;
    border-color: transparent;
  }

  .tab-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
    line-height: 1;
  }

  .tab-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
  }

  .skills-panels {
    padding: 16px 10px;
  }

  .scroll-hint {
    font-size: 0.7rem;
    color: #888;
    text-align: right;
    margin: 4px 10px 8px;
  }

  .skills-tabs {
    flex: 0 0 auto;
    /* background: linear-gradient(180deg, #f9f9ff, #f4f5ff); */
    padding: 30px 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }

}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ---------- 10. Testimonials Section ---------- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 1.5rem 1rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}


.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 80%;
  max-width: 80%;
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-photo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.25rem;
}

.author {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  margin: 0;
}

.role {
  font-size: 0.85rem;
  color: #777;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dot.active {
  background: #ff704e;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 90%;
    max-width: 90%;
    padding: 1.5rem;
  }

  .quote {
    font-size: 0.95rem;
  }
}


/* ---------- 11. Form Section ---------- */
.form-block {
  display: flex;
  gap: 2rem;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 2rem;
}

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

.horizontal-flex {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 1rem;
}

.text-field,
.textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #ccc;
  border-radius: .25rem;
  font: inherit;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-button {
  align-self: flex-end;
  padding: .5rem 1.5rem;
  background: #2b2b2b;
  color: #fff;
  border: none;
  border-radius: .25rem;
  cursor: pointer;
  transition: .25s;
}

.submit-button:hover {
  background: #000;
}

@media(max-width:600px) {
  .form-block {
    flex-direction: column;
  }
}

/* ---------- 12. Footer ---------- */
.footer-holder {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 2rem 1rem;
}

.footer-div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.social-wrapper {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 32px;
  height: 32px;
}

.reserved-rights {
  font-size: .875rem;
  color: #666;
}

/* ---------- 13. Utility Classes ---------- */
.hidden {
  display: none !important;
}

.section-top-margin {
  margin-top: 4rem
}



/* ---------- 14. Coming Soon Section ---------- */
.coming-soon-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  min-height: 80vh;
  text-align: center;
  background-color: #f9f9f9;
}

.coming-soon-container {
  max-width: 600px;
}

.coming-soon-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
  animation: shimmer-text 2s infinite linear;
  background: linear-gradient(58deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coming-soon-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.coming-soon-back {
  font-size: 0.95rem;
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.coming-soon-back:hover {
  color: #005fcc;
}

/* Shimmer animation */
@keyframes shimmer-text {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}



/* ---------- 15. Recentr Cards ---------- */
.cta-section {
  padding: 10px 4px;
  margin-left: 10%;
  margin-right: 10%;
}


.cta-banner {
  background: linear-gradient(58deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%);
  border-radius: 12px;
  padding: 60px 40px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-banner-recentworks {
  /* background: linear-gradient(60deg, #FF7448 20%, #FF31D9 30%, #9845FF 80%); */
  background-image: linear-gradient(216deg, rgba(77, 77, 77, 0.05) 0%, rgba(77, 77, 77, 0.05) 25%, rgba(42, 42, 42, 0.05) 25%, rgba(42, 42, 42, 0.05) 38%, rgba(223, 223, 223, 0.05) 38%, rgba(223, 223, 223, 0.05) 75%, rgba(36, 36, 36, 0.05) 75%, rgba(36, 36, 36, 0.05) 100%), linear-gradient(44deg, rgba(128, 128, 128, 0.05) 0%, rgba(128, 128, 128, 0.05) 34%, rgba(212, 212, 212, 0.05) 34%, rgba(212, 212, 212, 0.05) 57%, rgba(25, 25, 25, 0.05) 57%, rgba(25, 25, 25, 0.05) 89%, rgba(135, 135, 135, 0.05) 89%, rgba(135, 135, 135, 0.05) 100%), linear-gradient(241deg, rgba(55, 55, 55, 0.05) 0%, rgba(55, 55, 55, 0.05) 14%, rgba(209, 209, 209, 0.05) 14%, rgba(209, 209, 209, 0.05) 60%, rgba(245, 245, 245, 0.05) 60%, rgba(245, 245, 245, 0.05) 69%, rgba(164, 164, 164, 0.05) 69%, rgba(164, 164, 164, 0.05) 100%), linear-gradient(249deg, rgba(248, 248, 248, 0.05) 0%, rgba(248, 248, 248, 0.05) 32%, rgba(148, 148, 148, 0.05) 32%, rgba(148, 148, 148, 0.05) 35%, rgba(202, 202, 202, 0.05) 35%, rgba(202, 202, 202, 0.05) 51%, rgba(181, 181, 181, 0.05) 51%, rgba(181, 181, 181, 0.05) 100%), linear-gradient(92deg, hsl(214, 0%, 11%), hsl(214, 0%, 11%));
  border-radius: 12px;
  padding: 60px 40px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}




.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.cta-text {
  flex: 1 1 60%;
  min-width: 280px;
}

.cta-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
}

.cta-button-wrapper {
  flex: 1 1 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cta-btn {
  background: #ffffff;
  color: #212121;
  font-weight: 600;
  padding: 16px 28px;
  font-size: 1rem;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn span {
  margin-left: 6px;
}

.cta-btn:hover {
  background: #ffffff50;
  color: #212121;
}



/* Modal Base Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

.modal-content {
  background: #f7f7f7;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

/* Special Fix for Select Dropdowns */
.modal {
  transform: translateZ(0); /* Creates new stacking context */
}

select {
  position: relative;
  z-index: 1; /* Regular state */
}

select:focus {
  z-index: 2147483647 !important; /* Maximum value when focused */
}

/* Form Elements */
.input-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

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

.input-group.full {
  width: 100%;
}

input, textarea, select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 4px;
  width: 100%;
  height: 50px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Custom Select Styling */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
  padding-right: 30px;
}

/* Other Elements */
.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
}

.submit-btn {
  /* background: linear-gradient(58deg, #FF7448 0%, #FF31D9 50%, #9845FF 100%); */
  background: #ff704e;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  height: 50px;
}

.submit-btn:hover {
  opacity: 0.9;
}



/* Responsive */
@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-button-wrapper {
    justify-content: center;
  }

  .modal-content {
    width: 90%;
  }

  .input-row {
    flex-direction: column;
  }

  .cta-section {
    padding: 60px 4px;
    margin: 11%;
  }

  .iti-mobile .iti--container{
   scale: 0.9;
   margin: auto;
  }

}

@media (max-width: 480px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-button-wrapper {
    justify-content: center;
  }

  .modal-content {
    margin: 10% auto;
    padding: 20px;
  }
  
  .input-row {
    flex-direction: column;
    gap: 15px;
  }

  .input-row {
    flex-direction: column;
  }

  .cta-section {
    padding: 60px 4px;
    margin: 6%;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .cta-button-wrapper {
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 20px;
  }

  
}















/* ---------- Tablet (1024px and below) ---------- */
@media (max-width: 1024px) {

  /* Global Container */
  .container {
    width: 90%;
    padding: 0 2rem;
    /* Slightly more padding for mid-sized screens */
  }

  /* Hero Section */
  .hero-flex-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Navbar */
  .navbar {
    width: 90%;
    padding: 0.75rem 2rem;
  }

  /* Cards & Sections */
  .collection-item,
  .modern-project-card,
  .cta-banner {
    /* padding-left: 2rem !important;
    padding-right: 2rem !important; */
  }

  /* Footer */
  .footer-holder {
    padding: 2rem;
  }
}

/* ---------- Small Tablet (768px and below) ---------- */
@media (max-width: 768px) {

  /* Global Container */
  .container {
    padding: 0 1.5rem;
    /* Standardized padding */
  }

  /* Hero Section */
  .hero-flex-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    gap: 1.75rem;
  }

  /* Navbar */
  .navbar {
    padding: 0.75rem 1.5rem;
  }

  /* Project Grid */
  .project-grid {
    padding: 1.5rem !important;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1rem;
  }

  /* Skills Section */
  .skills-container {
    padding: 1rem;
  }
}

/* ---------- Mobile (480px and below) ---------- */
@media (max-width: 480px) {

  /* Global Container */
  .container {
    padding: 0 1rem;
    /* Compact padding */
  }

  /* Hero Section */
  .hero-flex-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    gap: 1.25rem;
  }

  /* Navbar */
  .navbar {
    padding: 0.5rem 1rem;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 1.5rem 1rem !important;
  }

  /* Cards */
  .modern-project-card .project-content,
  .collection-item {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Footer */
  .footer-holder {
    padding: 1.5rem 1rem;
  }
}












/* Recent Projects CSS */

.back-button {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.25);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.4);
}


header.hero {
  height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: .5rem;
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, var(--g-from), var(--g-via), var(--g-to));
  filter: blur(120px);
  opacity: .45;
  z-index: 0;
}

header.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  z-index: 1;
}

header.hero span.subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sec);
  letter-spacing: .15em;
  z-index: 1;
}





