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


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

navbar {
  position: sticky;
  top: 0;
  z-index: 100; /* biar ga ketutupan elemen lain */
}

.navbar.bg-body-tertiary {
  background-color: #460a0a !important; 
  transition: background-color 0.3s ease;
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: white !important;
  font-family: 'Source Sans 3';
}

.navbar .nav-link:hover {
  color: #f0a1a1 !important; 
}

.navbar-toggler {
border-color: rgba(255, 255, 255, 0.3) !important;}

.navbar-toggler-icon {
 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
 box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2) !important;}


 
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.85;
}

.hero-bg-wrapper {
   position: relative;
    width: 100vw;
    margin: 0 auto;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}
.sliding-wrapper {
    max-width: 100vw; 
    margin: 0 auto;
    overflow: hidden;
}



.masthead-new {
    background-color: transparent !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    max-width: 100%; 
    margin: 0 auto;    
    overflow: visible;  
}


.masthead-welcome {
    position: absolute;
    top: 330px;
    left: 47%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.masthead-welcome span {
    font-family: 'Source Sans 3';
    font-size: 20px;
    color: #ffffff !important;
    letter-spacing: 2px;

}


@media (max-width: 991.98px) {
    .masthead-welcome {
        top: 200px; 
        padding-bottom: 20px !important;

    }
    
    .masthead-welcome span {
        font-size: 14px;
        
    }
}

@media (max-width: 767.98px) {
    .masthead-welcome {
        top: 250px; 
    }
    
    .masthead-welcome span {
        font-size: 13px;
        letter-spacing: 1.5px;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .masthead-welcome {
        top: 200px;  
  
    }
    
    .masthead-welcome span {
        font-size: 12px;
        letter-spacing: 1px;
        padding-bottom: 20px !important;
        text-align: center !important;
    }
}

.masthead-content {
    position: relative;
    z-index: 10; 
    padding-top: 50px;
}

.masthead-title {
    font-family: 'Playfair Display', serif !important;
    padding-top: 20px;
    font-size: 100px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    min-height: 120px;
    text-align: center !important;
}

.masthead-title::after {
    content: '|';
    color: #ffffff;
    font-weight: 400;
    animation: blink-cursor 0.8s step-end infinite;
    margin-left: 5px;
}

@keyframes blink-cursor {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}


@media (max-width: 991.98px) {
    .masthead-title {
        font-size: 80px !important;
        min-height: 100px !important;
    }
}

@media (max-width: 767.98px) {
    .masthead-title {
        font-size: 60px !important;
        min-height: 80px !important;
    }
}

@media (max-width: 575.98px) {
    .masthead-title {
        font-size: 45px !important;
        min-height: 60px !important;
    }
}



.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}


.section-subtitle {
    font-family: 'Playfair Display', serif !important;
    font-size: 80px !important;
    color: #7d0e0e !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    letter-spacing: -1px;
}

.skill .section-header .section-subtitle-wrapper {
    padding-right: 50px;
}


h1 {
    font-family: 'Playfair Display', serif !important;
    font-weight: bolder;
    font-style: italic;
    color: #7d0e0e !important;
    letter-spacing: -0.5px;
  }

p { 
    font-size: 13pt !important;
    font-family: "Source Sans 3", sans-serif !important;
    color: #333;
  }

h2 {
    font-size: 100pt !important;
    font-family: "Pinyon Script";
    color: #7d0e0e !important;
    letter-spacing: -0.5px;
  }

  

.konten-about {
    padding: 100px 50px;
}

.hero-text {
  font-family: "Source Sans 3";
  font-size: 20pt;     
  font-weight: 400;
  text-align: left;
  color: #333;
  padding-top: 20px;
  
}

.hero-text #typed {
  color: #7d0e0e;    
}

.typed-cursor {
  font-size: 2rem;
  color: #7d0e0e;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.accordion-button {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600;
  color: #333;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  font-family: 'Source Sans 3', sans-serif !important;
  color: #fff !important;  
  background-color: #7d0e0e !important;  
  box-shadow: none;
}

.accordion-button:hover {
  background-color: #f4e7e7; 
  color: #7d0e0e;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(125, 14, 14, 0.25) !important;
  border-color: #7d0e0e !important;
}


.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  padding: 15px 20px;
}


.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #7d0e0e;  
}


.flip-card {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.hovercontainer {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 50vh;
  transition: 0.3s;
  
}

.hovercontainer li {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.hovercontainer li img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.hovercontainer li .content {
  position: absolute;
  inset: 0;
  padding: 15px;
  color: #fff;
  background: linear-gradient(0deg, rgb(0 0 0 / 70%) 10%, rgba(255,255,255,0) 100%);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease;
}

.hovercontainer li .content span {
  position: absolute;
  left: 50%;
  bottom: 10px;
  translate: -50%;
  text-align: center;
  opacity: 0;
  transition: 0.3s;
}

.hovercontainer h1 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}

.hovercontainer p {
  color: #ddd;
  font-size: 12px;
}

.hovercontainer li:hover {
  scale: 1.08;
  z-index: 5;
}

.hovercontainer li:hover .content {
  opacity: 1;
  visibility: visible;
}

.hovercontainer li:hover .content span {
  opacity: 1;
}


.contact-new {
    background-color: #7d0e0e;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.contact-new::before {
    position: absolute;
    bottom: -200px; 
    left: 50%;
    transform: none;
    z-index: 0;
    opacity: 0.95;
}

.container-about {
   width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-contact-new {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
    padding-left: 50px;
    padding-right: 50px;
}

.contact-header-wrapper {
    text-align: right;  
    max-width: 600px;
    margin-left: auto; 
}

.contact-header-content {
    display: flex;
    flex-direction: column;
    gap: 15px;  
    align-items: flex-end;  
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 100px;  
    color: #fffbed !important;
    margin: 0;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -1px;
    text-align: right;
    line-height: 0.9;
}

.contact-description {
    font-family: 'Source Sans 3', sans-serif;  
    font-size: 18px !important;  
    line-height: 1.6;
    color: #cac0ac;
    margin: 0;
    text-align: right;
    max-width: 500px; 
}

@media (max-width: 991px) {
    .contact-header-wrapper {
        text-align: center;
        margin: 0 auto;
    }

    .contact-header-content {
        align-items: center;
    }

    .contact-title {
        font-size: 70px;  
        text-align: center;
    }

    .contact-description {
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .contact-title {
        font-size: 60px;  
    }

    .contact-description {
        font-size: 14px;
    }
}



.social-side {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.icon-box .icon {
    font-size: 48px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.icon-box::before {
    content: "";
    width: 120%;
    height: 120%;
    position: absolute;
    top: 90%;
    left: -110%;
    transform: rotate(45deg);
    transition: all 0.4s cubic-bezier(0.31, -0.105, 0.43, 1.59);
    z-index: 1;
}


.icon-box.instagram .icon {
    color: #E4405F;
}

.icon-box.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}


.icon-box.tiktok .icon {
    color: #000000;
}

.icon-box.tiktok::before {
    background: linear-gradient(135deg, #69C9D0 0%, #EE1D52 50%, #000000 100%);
}

.icon-box.linkedin .icon {
    color: #0077b5;
}

.icon-box.linkedin::before {
    background-color: #0077b5;
}

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

.icon-box:hover::before {
    top: -10%;
    left: -10%;
}

.social-username {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fffbed;
    margin: 0;
    text-align: center;
    transition: color 0.3s ease;
}

.social-item:hover .social-username {
    color: #d8baba(255, 236, 216) !;
}

.find-out-more {
    text-align: left;
    max-width: 450px;
}

.find-out-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
    margin-top: 20px;
    text-align: left;
}

@media screen and (max-width: 991px) {
    .container-contact-new {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .social-side {
        justify-content: center;
    }

    .social-grid {
        max-width: 450px;
        gap: 30px;
    }

    .icon-box {
        width: 110px;
        height: 110px;
    }

    .icon-box .icon {
        font-size: 44px;
    }

    .find-out-more {
        text-align: center;
    }

    .find-out-more h3 {
        font-size: 64px;
    }

    .find-out-desc {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .contact-new {
        padding: 60px 20px;
    }

    .social-grid {
        gap: 25px;
        max-width: 380px;
    }

    .icon-box {
        width: 95px;
        height: 95px;
    }

    .icon-box .icon {
        font-size: 38px;
    }

    .social-username {
        font-size: 13px;
    }

    .find-out-more h3 {
        font-size: 56px;
        margin: -10px 0;
    }

    .find-out-desc {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .contact-new {
        padding: 50px 15px;
    }

    .social-grid {
        gap: 20px;
        max-width: 320px;
    }

    .icon-box {
        width: 85px;
        height: 85px;
    }

    .icon-box .icon {
        font-size: 34px;
    }

    .social-username {
        font-size: 12px;
    }

    .find-out-more h3 {
        font-size: 48px;
    }

    .find-out-desc {
        font-size: 14px;
    }
}

.carousel-inner {
    padding-bottom: 100px;
}


.portfolio-carousel * {
      margin: 0;
      padding-top: 20px;
      box-sizing: border-box;
    }

    .portfolio-carousel {
    font-family: "Source Sans 3", sans-serif; 
    background: transparent;
    width: 100%;
    overflow: hidden;
}

 .category-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    width: 100%;
    gap: 12px;
    padding-top: 70px !important;
    padding-bottom: 30px !important;

}

.category-tabs .tab-btn {
    justify-content: center !important;
    align-items: center;
    width: 100% !important;
    height: auto !important;          
    padding: 12px 16px;                 
    min-height: 42px;                
    white-space: normal;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 20px;              
    background: transparent;
    font-size: 13px;                    
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    word-wrap: break-word;
    max-width: 500px !important;
    gap: 10px;
}

.tab-btn:hover {
    border-color: #7d0e0e;
    color: #7d0e0e;
}

.tab-btn.active {
    background: #7d0e0e;
    color: white;
    border-color: #7d0e0e;
}


@media (max-width: 991px) and (min-width: 768px) {

    .col-lg-6.d-flex.justify-content-end {
    justify-content: center !important;
  }
    .category-tabs {
    max-width: 400px;
    margin: 0 auto; 
    align-content: center !important; 
    padding-top: 2px !important;

  }
  
  .tab-btn {
    font-size: 12px;
  }
}



.polaroid-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.polaroid-carousel:active {
    cursor: grabbing;
}

.polaroid-track {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    will-change: transform;
}

.photo-strip {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 0;
    animation: scroll 30s linear infinite;
}

.polaroid-photo {
    flex-shrink: 0;
    width: 200px;
    height: 250px;
    background: transparent;
    padding: 15px;
    padding-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.3s ease;
}

.polaroid-photo:nth-child(odd) {
    --rotation: -3deg;
}

.polaroid-photo:nth-child(even) {
    --rotation: 3deg;
}

.polaroid-photo:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


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

.konten-about .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-col h2 {
    margin-bottom: 0;
}

.text-col .hero-text {
    margin-top: 0;
    padding-top: 20px;
}

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

.photo-col img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.accordion-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accordion-col > p {
    margin-bottom: 20px;
}
@media (max-width: 767.98px) {
    .konten-about .row {
        align-items: flex-start;
    }
    
    .text-col, .photo-col, .accordion-col {
        margin-bottom: 30px;
    }
    
    .text-col h2 {
        font-size: 60pt !important;
    }
    
    .hero-text {
        font-size: 16pt;
    }
}

.skill {
  width: 100%;
  background-position: center;
  background-color: #e3d4bd!important;
  border-radius: 80px 80px 0 0;
}

.skill-layout-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.skill-header-wrapper {
  flex: 0 0 300px;
  position: sticky;
  top: 120px;
}

.skill-cards-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .skill-cards-wrapper {
        flex-direction: column;
    }
    .skill-header-wrapper {
      font-size: 60px;
      align-items: center !important;
    text-align: center !important;
    padding-left: 100px !important;
    padding-right: 10px !important;
    }
}


@media (max-width: 991px) {

  .skill-layout-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .skill-header-wrapper {
    position: relative;
    flex: none;
    width: 100%;
    max-width: 600px;
    text-align: center !important;
    align-items: center !important;
    padding-left: 100px !important;
    font-size: 60px;
    padding-right: 10px !important;
    
  }


  .skill-cards-wrapper {
    width: 100%;
    max-width: 600px;
  }


  .skill-description {
    font-size: 14px;
  }
}


hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.5rem;
  }
}

h2, .h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

h4, .h4 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 1.5rem;
  }
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.sliding-pictures {
    overflow: hidden;
    background-color: transparent;
    width: 100vw;
    margin: 0 auto;   
}

.sliding-track {
    display: flex;
    gap: 0;
    animation: scrollLeft 40s linear infinite;
    will-change: transform;     
    position: relative;
    
}

.sliding-item {
    flex: 280px;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sliding-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Auto-scroll animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0px));
    }
}

.sliding-pictures:hover .sliding-track {
    animation-play-state: paused;
}

body {
  margin: 0;
  padding: 0;                                   
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: #eee8de !important; 
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (max-width: 991.98px) {
    .sliding-item { flex: 0 0 240px; }
    .sliding-item img { width: 240px; }
}

@media (max-width: 767.98px) {
    .sliding-item { flex: 0 0 200px; }
    .sliding-item img { width: 200px; }
}

@media (max-width: 575.98px) {
    .sliding-item { flex: 0 0 160px; }
    .sliding-item img { width: 160px; }
}


.skill-header-content {
    max-width: 500px;
    text-align: left;
}

.skill-header-wrapper .skill-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 90px;
    color: #7d0e0e !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    letter-spacing: -1px;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: right;
}

.skill-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}



.works-layout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; 
  gap: 60px;
  align-items: flex-start;
}

.works-layout-wrapper .row {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.works-header-content {
  display: flex;
  flex-direction: column;  
  gap: 15px;  
  
}

.works-title {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: #7d0e0e;
  margin: 0;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -1px;
}

.works-description {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: left;
  max-width: 500px;
}

@media (max-width: 991px) {
  .works-layout-wrapper {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .works-layout-wrapper .row {
    flex-direction: column;
    align-items: center; 
    justify-content: center;
  }

  .works-layout-wrapper .row > [class*='col-'] {
    width: 100% !important;
    max-width: 600px;
    text-align: center; 
  }

  .works-header-content {
    align-items: center;
    text-align: center;
  }

  .works-title {
    font-size: 120px !important;  
    text-align: center;
  }

  .works-description {
    font-size: 16px !important; 
    text-align: center;
  }

  .category-tabs {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
    .works-layout-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .works-title {
    font-size: 90px !important; 
  }

  .works-description {
    font-size: 16px !important; 
  }

  .category-tabs {
    max-width: 320px;
  }
}




.find-out-more {
    text-align: right;
    max-width: 500px;
    margin-left: auto;
    padding-right: 50px;
}

.find-out-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 80px !important;
    color: #7d0e0e !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    font-style: italic !important;
    letter-spacing: -1px;
    display: inline-block;
}

.find-out-description {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.6 !important;
    margin-top: 10px !important;
    text-align: right !important;
}
@media (max-width: 991px) {
    .works-header-section {
        flex-direction: column;
        gap: 40px;
    }
    .skill-header-wrapper {
        text-align: center !important;
        padding-left: 0 !important;
    }

    .skill-title {
        font-size: 65px !important;
        text-align: center !important;
    }

     .skill-description {
        text-align: center;
    }

    .find-out-more {
        padding-right: 30px;
    }

    .find-out-title {
        font-size: 70px !important;
    }
    
}

@media (max-width: 767px) {


    .category-tabs {
        justify-content: center !important;
        padding-top: 10px !important;
        padding-left: 20px;
    }


    .skill-description {
        text-align: center !important;
    }

    .find-out-more {
        text-align: center;
        padding-right: 0;
    }

    .find-out-title {
        font-size: 60px !important;
    }

    .find-out-description {
        text-align: center !important;
    }

     .skill-title {
        font-size: 65px !important;
     }
}

@media (max-width: 400px) {
  .skill-title {
        font-size: 65px !important;
        padding-top: 10px;
        padding-left: 20px !important;
        text-align: center !important;
    }
}


    .carousel-wrapper {
      width: 100%;
      display: none;
  position: relative;
    }

    .carousel-wrapper.active {
      display: block;
    }

    .team-carousel {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    padding-right: 40px !important;
       padding-left: 40px !important;
    }

    .team-carousel__title {
      font-family: 'Pinyon Script', cursive !important;
      font-size: 130px;
      position: absolute;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      pointer-events: none;
      white-space: nowrap;
      -webkit-background-clip: text;
      background-clip: text;
      color: #7d0e0e !important;
      z-index: 0;
      display: none;
    }
    
    .team-carousel__title.loaded {
      display: block;
    }

    .team-carousel__container {
      width: 100%;
      height: 450px;
      margin-top: 130px;
      position: relative;
      perspective: 1000px;
      overflow: hidden;
    }
    

    .team-carousel__track {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
    }

    .team-carousel__card {
      position: absolute;
      width: 280px;
      height: 380px;
      background: transparent;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
      transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
      cursor: pointer;
    }

    .team-carousel__card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
    }

    .team-carousel__card.center { 
      z-index: 10; 
      transform: scale(1.1) translateZ(0); 
    }

    .team-carousel__card.left-1 { 
      z-index: 5; 
      transform: translateX(-200px) scale(0.9) translateZ(-100px); 
      opacity: 0.9; 
      filter: grayscale(100%); 
    }

    .team-carousel__card.left-2 { 
      z-index: 1; 
      transform: translateX(-400px) scale(0.8) translateZ(-300px); 
      opacity: 0.7; 
      filter: grayscale(100%); 
    }

    .team-carousel__card.right-1 { 
      z-index: 5; 
      transform: translateX(200px) scale(0.9) translateZ(-100px); 
      opacity: 0.9; 
      filter: grayscale(100%); 
    }

    .team-carousel__card.right-2 { 
      z-index: 1; 
      transform: translateX(400px) scale(0.8) translateZ(-300px); 
      opacity: 0.7; 
      filter: grayscale(100%); 
    }

    .team-carousel__card.hidden { 
      opacity: 0; 
      pointer-events: none; 
    }

    .team-carousel__member-info { 
      text-align: center; 
      margin-top: 40px; 
      transition: all 0.5s ease-out; 
    }

      .team-carousel .team-carousel__member-info .team-carousel__member-name,
    .portfolio-carousel .team-carousel__member-name {
      font-family: 'Source Sans 3', sans-serif !important;
      color: #7d0e0e;
      font-size: 40px !important; 
      font-weight: 600;
      margin-bottom: 8px;
      position: relative;
      display: inline-block;
      transition: all 0.5s ease-out;
    }

  
    .team-carousel__member-role {
      font-family: 'Source Sans 3', sans-serif !important;
      color: #333;
      font-size: 0.95rem;
      font-weight: 400;
      opacity: 0.85;
      text-transform: none;
      letter-spacing: 0.02em;
      padding: 5px 0;
      margin-top: -5px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.5;
      transition: all 0.5s ease-out;
    }


    .team-carousel__dots { 
      display: flex; 
      justify-content: center; 
      gap: 10px; 
      margin-top: 60px; 
      padding-bottom: 30px;
    }

    .team-carousel__dot { 
      width: 12px; 
      height: 12px; 
      border-radius: 50%; 
      background: rgba(125, 14, 14, 0.2); 
      cursor: pointer; 
      transition: all 0.3s ease; 
    }

    .team-carousel__dot--active { 
      background: #7d0e0e; 
      transform: scale(1.2); 
    }

    .team-carousel__nav {
      position: absolute; 
      top: 50%; 
      transform: translateY(-50%);
      background: rgba(125, 14, 14, 0.6); 
      color: white !important; 
      width: 40px; 
      height: 40px; 
      border-radius: 50%;
      display: flex; 
      align-items: center; 
      justify-content: center; 
      cursor: pointer; 
      z-index: 20; 
      font-size: 1.5rem; 
      border: none; 
      outline: none;
    }

    .team-carousel__nav:hover { 
      transform: translateY(-50%) scale(1.1); 
      background: #7d0e0e; 
    }

    .team-carousel__nav--left { left: 20px; }
    .team-carousel__nav--right { right: 20px; }

    /* Lightbox */
    .team-carousel__lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0);
      display: flex;
      justify-content: center;
      align-items: center;
      visibility: hidden;
      opacity: 0;
      transition: all 0.4s ease;
      z-index: 1000;
      backdrop-filter: blur(0px);
    }

    .team-carousel__lightbox.show {
      visibility: visible;
      opacity: 1;
      background: rgba(0,0,0,0.92);
      backdrop-filter: blur(10px);
    }

    .team-carousel__lightbox img {
      max-width: 85%;
      max-height: 85%;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      transform: scale(0.9);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .team-carousel__lightbox.show img {
      transform: scale(1);
      opacity: 1;
    }

    .team-carousel__lightbox-close {
      position: absolute;
      top: 30px;
      right: 40px;
      font-size: 3rem;
      color: #fff;
      cursor: pointer;
      z-index: 1001;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
      opacity: 0;
      transform: rotate(0deg);
    }
    
    .team-carousel__lightbox.show .team-carousel__lightbox-close {
      opacity: 1;
    }
    
    .team-carousel__lightbox-close:hover {
      background: rgba(255,255,255,0.2);
      transform: rotate(90deg);
    }

    @media (max-width: 768px) {

      .team-carousel__container {
    width: 100vw !important;  
    max-width: 100vw !important; 
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    margin-top: 40px !important;
    }
      .team-carousel__title {
        font-size: 80px;
        top: 10px; 
      }
      
      .team-carousel__card {
        width: 200px;
        height: 280px;
      }
      
      .tab-btn {
        font-size: 16px;
        padding: 10px 20px;
      }
    }
    
    blockquote {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 96px;
        padding-top: 192px;
        padding-bottom: 192px;
    }


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

    .pol {
        width: 75%;
        max-width: 400px;
        position: sticky;
        top: 192px;
        box-shadow: 0 9.5px 19.5px 0 rgba(0, 0, 0, 0.1);
    }

    .pol:nth-child(1) {
        transform: rotate(4deg) translateX(38.5px);
    }
    .pol:nth-child(2) {
        transform: rotate(-6deg) translateX(-38.5px);
    }
    .pol:nth-child(3) {
        transform: rotate(8deg) translateX(40px);
    }
    .pol:nth-child(4) {
        transform: rotate(-6deg) translateX(-38.5px);
    }

    .card1{
        aspect-ratio: 1.5;
        border: 2px solid #333;
        background-color: #fff;
        position: relative;
        transition: 0.15s ease;
        font-size: clamp(1.25rem, 77px, 1.5rem);
    }

    .card1 p{
        margin-top: 5%;
        text-align: center !important;

    }

    .image {
        width: 100%;
        border: 2px solid #333;
        position: relative;
    }

    .image img{
        aspect-ratio: 1;
        object-fit: cover;
        filter: none;
    }

