/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root{
  /* background-color */
  --bg-white: hsla(0, 0%, 100%, 1);
  --bg-light-gray: hsla(240, 1%, 83%, 1);
  --bg-jet: hsla(0, 0%, 18%, 1);
  --bg-eerie-black: hsla(0, 0%, 13%, 1);
  --bg-rich-black-fogra-29: hsla(229, 23%, 9%, 1);
  --bg-smoky-black: hsla(0, 0%, 6%, 1);
  --bg-black: hsla(0, 0%, 0%, 1);

  /* gradient colors */
  --gradient-1: linear-gradient(to top, var(--bg-black) 0%, transparent 40%);
  --gradient-2: radial-gradient(circle at 75% 100%, hsla(79, 100%, 70%, 0.3) 0%, transparent 100%);

  /* text colors */
  --text-white: hsla(0, 0%, 100%, 1);
  --text-light-gray: hsla(240, 1%, 83%, 1);
  --text-rich-black-fogra-29: hsla(216, 42%, 12%, 1);
  --text-smoky-black: hsla(0, 0%, 6%, 1);
  --text-black: hsla(0, 0%, 0%, 1);

  /* border colors */
  --border-white: hsla(0, 0%, 100%, 1);
  --border-light-gray: hsla(240, 1%, 83%, 1);
  --border-gainsboro: hsla(220, 13%, 91%, 1);
  --border-eerie-black: hsla(0, 0%, 13%, 1);
  --border-smoky-black: hsla(0, 0%, 6%, 1);

  /* font family */
  --fontFamily-recoleta: 'Recoleta';
  --fontFamily-roboto: 'Roboto', sans-serif;

  /* font sizes */
  --fontSize-1: 4.6rem;
  --fontSize-2: 4.5rem;
  --fontSize-3: 4rem;
  --fontSize-4: 3rem;
  --fontSize-5: 2.4rem;
  --fontSize-6: 1.8rem;
  --fontSize-7: 2rem;
  --fontSize-8: 1.6rem;
  --fontSize-9: 1.5rem;
  --fontSize-10: 1.4rem;

  /* font weights */
  --weight-regular: 400;
  --weight-medium: 500;

  /* spacing */
  --section-spacing: 70px;

  /* boder radius */
  --radius-pill: 500px;
  --radius-circle: 50%;

  /* transition */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1000ms cubic-bezier(0.03, 0.98, 0.52, 0.99) 0s;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
}




/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a,
img,
span,
input,
button,
textarea,
ion-icon { display: block;}

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

img{height: auto;}

input,
button,
textarea{
  background: none;
  border: none;
  font: inherit;
}

input,
textarea{
  width: 100%;
}

button{ cursor: pointer;}

ion-icon{pointer-events: none;}

address{font-style: normal;}
html{
  font-size: 10px;
  scroll-behavior: smooth;
}


body{
  background-color: var(--bg-black);
  color: var(--text-light-gray);
  font-family: var(--fontFamily-roboto);
  font-size: var(--fontSize-8);
  line-height: 1.75;
  overflow: hidden;
  height: 300vh;
}

body.loaded{ overflow-y: auto;}

body.nav-active{ overflow: hidden;}

::-webkit-scrollbar{ width: 5px;}

::-webkit-scrollbar-track{ border-inline-start: 1px solid var(--border-eerie-black);}

::-webkit-scrollbar-thumb{ background-color: var(--bg-white);}




/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.btn\:hover {  
  position: relative;  
  z-index: 1;
}  
.btn\:hover::before,  
.btn\:hover::after {  
  content: "";  
  position: absolute;  
  top: 0;  
  left: 0;  
  width: 100%;  
  height: 100%;  
  z-index: -1;  
  transition: var(--transition-1);  
  will-change: transform;
  pointer-events: none;  
}  
.btn\:hover::after {  
  border: 1px solid var(--bg-white);  
  transform: scale(1.2);  
  opacity: 0;  
}

.btn\:hover:is(:hover, :focus-visible)::before {  
  transform: scale(0.5);  
  opacity: 0;  
}  



.btn\:hover:is(:hover, :focus-visible)::after {  
  transform: scale(1);  
  opacity: 1;  
}  

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

.has-before,
.has-after{
  position: relative;
  z-index: 1;
}
.has-before::before,  
.has-after::after {  
  content: "";  
  position: absolute;  
}  
  
.img-holder {  
  aspect-ratio: var(--width) / var(--height);  
  overflow: hidden;  
  background-color: var(--bg-jet);  
}  
  
.img-cover {  
  width: 100%;  
  height: 100%;  
  object-fit: cover;  
}  

[data-tilt] { transition: var(--transition-3); }  

.title {  
  color: var(--text-white);  
  font-family: var(--fontFamily-recoleta);  
  font-weight: var(--weight-regular);  
}  

.h1 {  
  font-size: var(--fontSize-2);  
  line-height: 1.2;  
}

.h2,
.h3,
.h4,
.h5 {
  line-height: 1.3;
}

.h2 { font-size: var(--fontSize-3); }
.h3 { font-size: var(--fontSize-4); }
.h4 { font-size: var(--fontSize-5); }
.h5 { font-size: var(--fontSize-7); }
.h6 { font-size: var(--fontSize-6); }


.btn {  
  color: var(--text-white);  
  font-size: var(--fontSize-9);  
  font-weight: var(--weight-medium);  
  display: flex;  
  align-items: center;  
  gap: 10px;  
  max-width: max-content;  
  height: 56px;  
  padding-inline: 38px;  
}  
.btn::before { background-color: var(--bg-smoky-black); }  
  
.btn ion-icon {  
  font-size: 1.8rem;  
  --ionicon-stroke-width: 50px;  
}  

.section { 
  padding-block: var(--section-spacing);
  overflow-x: hidden ;
}


/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  box-shadow: inset 55vw 0 0 0 var(--bg-white),
              inset -55vw 0 0 0 var(--bg-white);
  display: grid;
  place-items: center;
  z-index: 10;
}

.preloader.loaded{
  transition: 300ms ease 500ms;
  pointer-events: none;
  box-shadow: inset 0 0 0 var(--bg-white),
              inset 0 0 0 var(--bg-white);

}

.preloader .line{
  width: 2px;
  height: 100%;
  background-color: var(--bg-black);
  transition:  var(--transition-2);
  animation: loading 1000ms linear forwards;
}

@keyframes loading{
  0%{ transform: scaleY(0); }
  100%{ transform: scaleY(0.3);}
}
.preloader.loaded .line{ animation: loaded 500ms ease forwards;}

@keyframes loaded{
  0%{ transform: scaleY(0.3);}
  100%{ 
      transform: scaleY(1);
      opacity: 0;
  }
}
/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;
  transition: var(--transition-2);
}

.header.active1 {
  background-color: var(--bg-black);
  box-shadow: 0 2px 20px hsla(0, 0%, 0%, 0.2);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background-color: var(--bg-black);
  width: 100%;
  padding-block: 10px;
  z-index: 4;
  font-family: var(--fontFamily-recoleta);  
  font-weight: var(--weight-regular);
}

.active1 {
  position: fixed;
  background-color: var(--bg-black);
  padding-block: 5px;
  animation: slideIn 1000ms ease-out forwards;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@keyframes slideIn{
  0%{
    opacity: 0;
    transform: translateY(-100%);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  position: relative;
  width: 100%;
}

.navbar .logo {
  z-index: 1001;
}

.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle-btn .line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  transition: var(--transition-1);
}

.navbar2 {
  display: flex;
  align-items: center;
  width: auto;
  margin-left: auto;
}

.navbar-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  color: var(--text-light-gray);
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 15px;
  position: relative;
  transition: var(--transition-1);
  display: block;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-1);
}

.navbar-link:hover::after,
.navbar-link:focus-visible::after {
  width: calc(100% - 30px);
}

.navbar-link:hover,
.navbar-link:focus-visible {
  color: var(--text-white);
}

/* Active state */
.navbar-link.active {
  color: var(--text-white);
}

.navbar-link.active::after {
  width: calc(100% - 30px);
}

/* Mobile menu button */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.nav-toggle-btn .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
  position: relative;
}

.nav-toggle-btn .line-1 {
  transform-origin: 0% 0%;
}

.nav-toggle-btn .line-2 {
  transition: all 0.1s ease;
}

.nav-toggle-btn .line-3 {
  transform-origin: 0% 100%;
}

/* Active state */
.nav-toggle-btn.active .line-1 {
  transform: rotate(45deg) translate(1px, -1px);
}

.nav-toggle-btn.active .line-2 {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle-btn.active .line-3 {
  transform: rotate(-45deg) translate(1px, 1px);
}

/* Responsive styles */
@media (max-width: 991px) {
  .nav-toggle-btn {
    display: flex;
  }

  .navbar2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-smoky-black);
    padding: 80px 30px 30px;
    transition: var(--transition-2);
    z-index: 1000;
    overflow-y: auto;
    justify-content: flex-start;
  }
  
  .navbar2.active {
    right: 0;
  }

  .navbar2.active {
    right: 0;
  }

  .navbar-list {
    flex-direction: column;
    gap: 15px;
  }

  .navbar-link {
    padding: 12px 0;
    font-size: 1.8rem;
  }

  .navbar-link::after {
    left: 0;
    bottom: 8px;
  }

  .navbar-link:hover::after,
  .navbar-link:focus-visible::after,
  .navbar-link.active::after {
    width: 50px;
  }
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {  
  position: relative;  
  padding-block-start: 120px;  
}  
  
.hero .container {  
  display: grid;  
  gap: 50px;  
}  
 
.banner-outline { 
  position: relative;
  max-width: max-content;
  margin-inline: auto;
}  
.banner-outline::after {  
  top: 20px;  
  right: 0;  
  width: 100%;  
  height: 100%;  
  outline: 1px solid var(--border-eerie-black);  
  border-radius: var(--radius-pill);  
}  
.hero-banner {  
  position: relative;  
  border-radius: var(--radius-pill);  
}  
.hero-banner::after {  
  top: 0;  
  left: 0;  
  bottom: 0;  
  right: 0;  
  background-image: var(--gradient-1);  
  opacity: 0.7;  
  pointer-events: none;  
}  
.banner-outline .span {  
  position: absolute;  
  bottom: 40px;  
  left: 50%;  
  transform: translateX(-50%);  
  font-size: var(--fontSize-4);  
  min-width: max-content;  
  z-index: 1;
}  
.hero.btn {  
  margin-block: 20px;  
  margin-inline: auto;  
}  
  
.hero.shape {  
  position: absolute;  
  max-width: 100%;  
  z-index: -1;  
}  
/* .hero .shape-1 {  
  top: -60px;  
  left: 120px;  
}  
.hero .shape-2 {  
  top: 180px;  
  left: 0;  
}   */

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  border-block-start: 1px solid var(--border-eerie-black);
  margin-block-start: var(--section-spacing);
}

.service .container {
  padding-inline: 0;
}

.service-item {
  border-block-end: 1px solid var(--border-eerie-black);
}

.service-card {
  position: relative;
  padding-block: 45px;
}

.service-card .card-icon {
  max-width: max-content;
  margin-inline: auto;
  transition: var(--transition-1);
}

.service-card .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--text-white);
  font-size: var(--fontSize-5);
  font-weight: var(--weight-regular);
  line-height: 1.3;
  opacity: 0;
  transition: var(--transition-1);
}

.service-card:is(:hover, :focus-visible) .card-title {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.service-card:is(:hover, :focus-visible) .card-icon {
  opacity: 0;
}



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/


.tab-container { 
  border: 1px solid var(--border-eerie-black); 
}
.tab-btn {
  width: 100%;
  padding-block: 16px;
  border-block-end: 1px solid var(--border-eerie-black);
  transition: var(--transition-1);
}

.tab-btn:is(:hover, :focus-visible, .active) { background: var(--bg-eerie-black); }

.tab-content{
  display: none;
  padding: 30px;
}

.active{
  display: block;
  animation: fade 500ms linear forwards;
}

@keyframes fade{
  0%{ opacity: 0; }
  100%{
     opacity: 1;
  }
} 

.tab-content .grid-list{
  display: grid;
  gap: 30px;

}
.tab-content .section-title { margin-block-end: 30px; }
.tab-content .section-text {margin-block-end: 20px;}
.about-item:not(:last-child) { margin-block-end: 20px; }
.about-item .span { line-height: 1.4; }

.social-list{
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-link{ color: var(--text-white);}



.skill-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: 30px 12px;
}

.skill-wrapper .span {
  font-family: var(--fontFamily-recoleta);
  font-weight: var(--weight-medium);
}

/* Skills Categories */
.tab-content .skills-grid{
  display: block;
}


.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.category-title {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title .icon {
  color: #6366f1;
  font-size: 1.6rem;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.skill-name {
  color: var(--text-light-gray);
  font-size: 1.5rem;
  font-weight: 500;
}

.skill-level {
  font-size: 1.2rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.skill-level.advanced {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.skill-level.intermediate {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.skill-level.basic {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .skills-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .skill-category {
    padding: 20px;
  }
  
  .category-title {
    font-size: 1.6rem;
  }
  
  .skill-name {
    font-size: 1.4rem;
  }
  
  .skill-level {
    font-size: 1.1rem;
  }
}

.progress-bar{
  background-color: var(--bg-smoky-black);
  height: 4px;

}

.progress-fill{
  background-color: var(--bg-white);
  height: 100%;
  
}

.interview-card {
  position: relative;
}

.interview-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--text-smoky-black);
}

.interview-card .btn::before,
.interview-card .btn::after {
  border-radius: inherit;
}

.interview-card .btn::before{ background-color: var(--bg-white);}

.interview-card .btn:is(:hover , :focus-visible) {color: var(--text-white);}

.exhibition-card {
  position: relative;
}

.exhibition-card .card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: var(--bg-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  color: var(--bg-smoky-black);
  display: grid;
  place-items: center;
}

/* Skills Tabs */
.skills-tabs {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-light-gray);
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex: 1;
    text-align: center;
}

.tab-btn i {
    font-size: 1.4rem;
}

.tab-btn:hover {
    opacity: 1;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    opacity: 1;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
}

.tab-contents {
    
    width: 100%;
    box-sizing: border-box;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.tab-content.active {
    display: block;
}

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

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    width: 100%;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.skill-name {
    color: var(--text-light-gray);
    font-size: 1.5rem;
    font-weight: 500;
}

.skill-level {
    font-size: 1.2rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.skill-level.advanced {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.skill-level.intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.skill-level.basic {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }
    
    .tab-btn {
        min-width: 150px;
        padding: 12px 15px;
        white-space: nowrap;
        justify-content: center;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        font-size: 1.3rem;
        padding: 10px 12px;
        min-width: 120px;
    }
    
    .tab-btn i {
        font-size: 1.2rem;
    }
    
    .tab-contents {
        padding: 20px 15px;
    }
    
    .skill-name {
        font-size: 1.4rem;
    }
    
    .skill-level {
        font-size: 1.1rem;
    }
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  border-block: 1px solid var(--border-eerie-black);
}

.cta .section-title::before {
  content: "";
  display: block;
  background-color: var(--bg-white);
  width: 60px;
  height: 30px;
  border-radius: 30px 30px 0 0;
  margin-inline: auto;
  margin-block-end: 15px;
}

.cta .btn {
  margin-inline: auto;
  margin-block-start: 30px;
}




/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project-card .card-banner::before {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--bg-rich-black-fogra-29);
  background-image: var(--gradient-2);
  opacity: 0;
  transition: var(--transition-1);
}

.project-card .card-banner:is(:hover, :focus-within)::before {
  opacity: 0.9;
}

.project-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  min-width: max-content;
  opacity: 0;
  transition: var(--transition-2);
}

.project-card .card-banner:is(:hover, :focus-within) .btn {
  transform: translate(-50%, -50%);
  opacity: 1;
}


.project-card .card-content { padding: 24px 30px 0; }
.project-card .card-subtitle { font-size: var(--fontSize-10); 
  text-transform: uppercase; 
  letter-spacing: 2px;
  margin-block-end: 10px;
}

.project-card .card-title {
  display: inline;
  background-image: linear-gradient(var(--bg-white), var(--bg-white));
  background-repeat: no-repeat;
  background-position: left bottom; 
  background-size: 1px;
  transition: var(--transition-1);
}

.project-card .card-title:is(:hover, :focus-visible) { background-size: 100% 1px; }

.slider-list {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  overflow: auto;
  scroll-snap-type: inline mandatory;
  padding-block-end: 5px;
}

.slider-list::-webkit-scrollbar { display: none; }

.slider-item {
  min-width: 100%;
  scroll-snap-align: start;
}

/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact .section-title{
  font-size: var(--fontSize-1);
  margin-block: 25px;
}

.contact-content{
  display: grid;
  gap: 60px;
}

.contact-form.input-field { 
  height: 50px; 
  padding-block: 12px; 
  margin-block-end: 20px;
  color: white;
  outline: none;
  border-block-end: 1px solid var(--border-eerie-black); 
  transition: border-color var(--transition-1);
}
.contact-form .input-field {
  color: white;
}
.contact-form.input-field::placeholder { color: var(--text-light-gray); }
.contact-form.input-field:focus { border-color: var(--border-light-gray); }

textarea.input-field { 
  min-height: 165px; 
  resize: none;
}
.contact-form .btn { margin-block-start: 30px; }
.contact .map {
  width: 100%;
  filter: grayscale(1);
}

.contact-item { 
  display: flex;
  justify-content: flex-start; 
  align-items: center; 
  gap: 15px;
}
.contact-item:not(:last-child) {
  padding-block-end: 30px;
  border-block-end: 1px solid var(--border-eerie-black); 
  margin-block-end: 30px;
}
.contact-item .title { color: var(--text-light-gray); }

.contact-form .input-field{
  margin: 25px 0;
  padding: 10px 0;
}
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer{ border-block-start: 1px solid var(--border-eerie-black);}

.footer .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
} 


.copyright {
  flex-grow: 1;
  font-family: var(--fontFamily-recoleta);
}

.back-top-btn .span { display: none; }

.back-top-btn {
  color: var(--text-white);
  padding: 32px 16px;
  border-inline: 1px solid var(--border-eerie-black);
}


/*-----------------------------------*\
  #CUSTOM CURSOR
\*-----------------------------------*/

.cursor-dot,
.cursor-outline{
  display: none;
}



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/* responsive for large than 575px screen */

@media (min-width: 575px){

  /* custom property */
  :root{

    /* typography */
    --fontSize-1: 5.6rem;
    --fontSize-5: 3.2rem;

  }

  /* reused style */
  
  .container{
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /* hero */

  .hero .banner-outline {
    max-width: 410px;
  }
  .hero .banner-outline::after {
    right: -15px;
  }


  /* service */
  
  .service .container { 
    max-width: unset; 
    
  }
  .service-list {
    display: flex; 
    flex-wrap: wrap;
    position: relative;
    top: -200px;
    opacity: 0;
  }
  .slider{
    top: 0px;
    opacity: 1;
    transition:0.7s ease;
  }
  .service-item { width: 50%; }
  .service-item:nth-child(2n) {
    border-inline-start: 1px solid var(--border-eerie-black);
  }

  .service-card .card-title{ --fontSize-5: 2.4rem; }

  /* about */

  .tab-btn-list { 
    display: flex;
    flex-wrap: wrap;
  }
  .tab-btn-item {
    width: 50%; 
    flex-grow: 1;
  }
  .tab-btn-item:nth-child(2n) { 
    border-inline-start: 1px solid var(--border-eerie-black);
  }

  .tab-content { padding: 40px; }
  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .interview-card {
    max-width: max-content; 
    margin-inline: auto;
  }
}

/* responsive for large than 768px screen */

@media (min-width: 768px){
  /* custom property */
  :root{

    /* typography */
    --fontSize-1: 6.6rem;
   
    /* spacing */
    --section-spacing:100px;
    
  }

  /* reused style */
  
  .container{ max-width: 720px;}

  /* hero */
  .hero { text-align: left; }
  
  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
  .banner-outline { order: 1; }
  .hero .btn { margin-inline: 0; }

  /* service */
  
  .service-item { width: 25%; }
  .service-item:not(:last-child){
    border-inline-end: 1px solid var(--border-eerie-black);
  }
  
  .tab-btn-item { width: 20%; }
  .tab-btn-item:not(:first-child) {
    border-inline-start: 1px solid var(--border-eerie-black);
  }
  :is([data-tab-content="interview"],
  [data-tab-content="exhibition"]) .grid-list { 
    grid-template-columns: 1fr 1fr;
  }

  
  /* CTA */
  .cta { padding-block: 40px; }
  .cta.section-title { display: flex;
    align-items: center;
  }
  .cta.section-title::before { 
    border-radius: 0 30px 30px 0;
    width: 30px;
    height: 60px; 
    flex-shrink: 0;
    margin-block-end: 0;
  }


  /* projects */
  .slider-item{ min-width: calc(50% - 15px)}


  /* custom cursor */

  
  .cursor-dot, 
  .cursor-outline {
    display: block;
    position: fixed;
    top: -60px;
    left: -60px;
    transform: translate(-50%, -50%);
    border-radius:var(--radius-circle);
    z-index: 10;
    transition-property:opacity,transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    pointer-events: none;
  }

  .cursor-dot{
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    transform: translate(-50%, -50%) scale(0.1);
  }
  .cursor-dot.hovered {
    transform: translate(-50%, -50%) scale(1); 
    mix-blend-mode: exclusion;
  }
  .cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-white);
    opacity: 0.9;
    transition-duration: 120ms;
  }
  .cursor-outline.hovered { opacity: 0; }    
  .cursor-outline1{
    width:15px;
    height:15px;
    transition-duration: 100ms;
    opacity: 0.8;
  }
}

/* responsive for large than 992px screen */

/* Responsive styles */
@media (max-width: 991px) {
  .nav-toggle-btn {
    display: flex;
  }

  .navbar2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-smoky-black);
    padding: 100px 30px 30px;
    transition: var(--transition-2);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -5px 0 20px hsla(0, 0%, 0%, 0.2);
  }

  .navbar2.active {
    right: 0;
  }

  .navbar-list {
    flex-direction: column;
    gap: 10px;
  }

  .navbar-link {
    padding: 12px 0;
    font-size: 1.8rem;
  }

  .navbar-link::after {
    left: 0;
    bottom: 8px;
  }

  .navbar-link:hover::after,
  .navbar-link:focus-visible::after,
  .navbar-link.active::after {
    width: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar2 {
    max-width: 350px;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  .navbar2 {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  
  .nav-toggle-btn {
    display: none !important;
  }

  .navbar-list {
    flex-direction: row;
    align-items: center;
  }

  /* custom property */

  :root{

    --fontSize-2: 7rem;
  }

  /* reused style */

  .container{
    max-width: 960px;
  }

  /* header */

  .header .container{
    margin-inline: 0; 
    min-width: 100%;
  }
  .nav-open-btn,
  .navbar-top { display: none; }

  
  .navbar-list {
    display: flex; 
    gap: 16px;
  }
  .header .btn { display: flex; }

  .hero .container { grid-template-columns: 1fr 0. 7fr; }
  .hero .banner-outline { max-width: 366px; }
  .hero .wrapper {
    display: flex;
    align-items: center; 
    gap: 30px;
  }
  .hero .btn { flex-shrink: 0; }

.hero-content{
  position: relative;
  left: -1000px;
  transition: 1s ease;
}



  /* SERVICE */
  .service { border-block-end: 1px solid var(--border-eerie-black); }

  .service-list{
    gap: 158px;
    flex-wrap: nowrap;

  }

  .service .service-item{
    border-inline: 1px solid var(--border-eerie-black);
    border-block-end: none;
  }

  /* about */
  .tab-content .grid-list { 
    grid-template-columns:1fr 1fr; }
  :is([data-tab-content="interview"],
  [data-tab-content="exhibition"]) .grid-list { 
    grid-template-columns: repeat (3, 1fr);
  }
  .cta .container { 
    display: flex;
    align-items: center; 
    justify-content: space-between;
  }
  .cta.section-title {
    text-align: left;
    gap: 30px;
  }
  .cta .btn { 
    flex-shrink: 0; 
    margin: 0;}

  .slider-item{ min-width: calc(33.33% - 20px);}
  .contact-content {
      grid-template-columns: 0.8fr 1fr 0.6fr; 
      gap: 30px;
      align-items: center;
  }
  .back-top-btn .span { display: block; }
  .back-top-btn {
    display: flex;
    align-items: center;
    gap: 10px;
  }


}

/* responsive for large than 1200px screen */

@media (min-width: 1200px){

  :root{


    --fontSize-2: 9rem;
    --fontSize-4: 4rem;
    --fontSize-5: 4rem;
    --fontSize-6: 2rem;
  }

  /* reused style */
  .container,
  .service .container{ max-width: 1200px;}

  .h1{ line-height: 1.1;}

  .header {
    padding-block: 10px;
  }
  .header .container{ padding-inline: 60px;}

  .navbar-list{ gap: 50px;}

  .hero{ padding-block-start: 160px;}
  .hero .banner-outline { 
    max-width: 410px;
    position: relative;
    right: -800px;
    transition: 1s ease;
   }
  .hero-text { max-width: 30ch; }

  .tab-content{ padding: 60px;}

  .tab-content .grid-list{
    gap: 50px;
  }

  @media (min-width:1400px){

    .container,
    .service .container{
      max-width: 1320px;
    }

    .header{ padding-inline: 90px;}

    .hero .container{ grid-template-columns: 1fr 0.85fr;}
  }
}