* {
    font-family: "DM Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #1e1e1e;
}

@font-face {
    font-family: 'handwritting';
    src: url('./fonts/Shadows_Into_Light/ShadowsIntoLight-Regular.ttf');
    font-weight: normal;
}

body {
    background-color: #f5f5f5;
    margin: 0;
    overflow: hidden;
}

ul {
    list-style: none;
}
ul li {
    position: relative;
}
ul li:before {
    content: '';
    display: inline-block;
    margin-top: 8px;
    position: absolute;
    width: 15px;
    height: 15px;
    margin-left: -20px;
    background-image: url('./assets/list.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 57px;
}
h3 {
    font-weight: 700;
    font-size: 44px;
    line-height: 53px;
}
h4 {
    font-weight: 400;
    font-size: 24px;
    line-height: 31px;
}
h5 {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
}
h6 {
    color: rgb(82, 76, 99);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}
p {
    font-weight: 400;
}


.menu {
    height: 100vh;
    width: 25%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    padding-right: 3em;
    display: flex;
    flex-direction: column;
}
.menu a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    line-height: 1em;
    margin: 10px 0;
    transition: color 0.3s;
    border: 1px solid #dcdcdc;
    padding: .5em;
    border-radius: 16px;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
}
.menu a.active,
.menu a:hover {
    background-color: #FFF;
    border: 1px solid #FFF;

    transition: background-color .5s ease;
}

.icon {
    display: inline-block;
    height: 40px;
    width: 40px;

    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: #efefef;
    border-radius: 12px;
    margin-right: 10px;
}
.icon img {
    margin: auto;
}
.icon span {
    font-size: 20px;
}

.content {
    margin-left: 23%;
    width: 75%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
}

.portfolio-card {
    background-color: #FFF;
    border-radius: 36px;
    padding: 2em;
}
.portfolio-card:not(:last-child) {
    margin: 2em auto;
}

.inside-card {
    background-color: #fff;
    border-radius: 28px;
    padding: 28px;
}
.inside-card:not(:last-child),
.inside-img:not(:last-child) {
    margin-bottom: 2em;
}

.inside-img {
    border-radius: 28px;
    transition: all .5s ease;
}
.inside-img:hover {
    transform: scale(1.05);
}


.row.expand {
    justify-content: space-between;
}
.case-study .tag {
    border: 1px solid #dcdcdc;
}
.tag {
    font-weight: 300;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    color: #5c5c5c;
    background-color: #FFF;
    margin: 0 12px 12px 0;
}

a.primary-button {
    padding: 12px 16px;
    background-color: #000;
    color: #FFF;
    text-decoration: none;
    border-radius: 12px;
}
a.disabled {
    background-color: rgba(0, 0, 0, 0.4);
}
a.disabled:hover {
    cursor: not-allowed;
}

.thumbnail {
    object-position: center top;
    object-fit: cover;
    height: 550px;
    border-radius: 28px;
    border: 2px solid #FFF;
}

hr {
    height: 5px;
    background-color: #FFF;
    border: none;
    width: 100%;
    margin: 3em 0;
}





.steps {
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    height: min-content;
    justify-content: center;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 74%;
    margin: auto;
}
.symbol {
    align-items: center;
    border-radius: 10px;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 7px;
    height: 48px;
    justify-content: center;
    overflow: visible;
    padding: 10px;
    position: relative;
    width: 48px;
    font-size: 32px;
}
.line {
    background-color: #f5f5f5;
    border-radius: 8px;
    flex: 1 0 0px;
    height: 4px;
    overflow: hidden;
    position: relative;
    width: 1px;
}

.boxes {
    align-items: flex-start;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    height: min-content;
    justify-content: flex-start;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 100%;
}
.box {
    border: 2px solid #f5f5f5;
    align-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 28px;
    display: flex;
    flex: 1 0 0px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
    height: auto;
    justify-content: flex-start;
    overflow: visible;
    padding: 28px 24px;
    position: relative;
    width: 1px;
}
.box.active {
    background-color: #f5f5f5;
}


.contact-tag {
    font-weight: 300;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    margin: 0 12px 12px 0;

    transition: all .5s ease;
}
.contact-tag:hover {
    transform: scale(1.05);
}
.contact-tag a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
}


.text-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-top {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.extra-space {
    margin: 6em 0;
}


  
.carrousel img {
    display: block;
    width: 100%;
    transition: all .5s ease;
    object-fit: contain; 
    object-position: center top;
    border-radius: 32px;
    border: 2px solid #f5f5f5
}
.carrousel img:hover {
    transform: scale(1.02);
}
  
.carrousel {
    width: 100%;
    overflow: hidden;
}
  
.carrousel article {
    display: flex;
    width: 800%;
    animation: bannermove 70s linear infinite;
}
  
.carrousel ul {
    display: flex;
    list-style-type: none !important;
    padding-left: 0;
    margin: 0;
    padding: 20px;
}

.carrousel li {
    width: 480px;
    height: 680px;
    margin-right: 40px;
}

.carrousel li:before {
    display: none;
}

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




.quote {
    background-color: #FFF;
    padding: 30px;
    border-radius: 32px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.quote-icon {
    font-size: 150px;
    line-height: 0;
    padding-top: .4em;
    margin-left: -10px;
    font-style: italic;
    color: #428cdb;
}

.text p {
    font-size: 18px;
    line-height: 27px;
    color: #292929;
}
.text h4 {
    font-size: 24px;
    line-height: 29px;
    color: #292929;
}
.text h4:not(:first-child),
.text p:not(:first-child) {
    margin-bottom: 40px;
}
.avatar {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.avatar img {
    object-fit: fill;
    object-position: center;
    margin-right: 1em;
    border-radius: 12px;
}
.quote .text h4 {
    font-weight: 600;
}
.avatar .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.avatar .info h5 {
    font-size: 18px;
    line-height: 23px;
    color: #000;
    font-weight: 300;
}
.avatar .info p {
    font-size: 18px;
    line-height: 23px;
    color: #000;
    font-weight: 500;
    margin-bottom: 0;
}


.inside-case {
    border-radius: 34px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    margin-top: 3em;
    margin-bottom: 5em;
    border: 2px solid #efefef
}
.inside-case-2 {
    border-radius: 34px;
    width: 100%;
    object-fit: fill;
    object-position: center top;
    margin-top: 3em;
    margin-bottom: 5em;
    border: 2px solid #efefef
}
iframe {
    border-radius: 34px;
    width: 100%;
    margin-top: 3em;
    border: 2px solid #efefef
}

.insight-card {
    background-color: #FFF;
    padding: 1.5em 2em;
    border-radius: 20px;
    margin-bottom: 1.5em;

    display: flex;
    flex-direction: row;
    align-items: center;
}
.insight-card h2 {
    margin-right: 20px;
    font-weight: 600;
}
.insight-card p {
    font-weight: 300;
    line-height: 20px;
}



/* slider */
.slider-container{
    width: 100%;
    height: auto;
    padding: 2em 0 5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
}
.slider-box__inner{
    width: 900px;
}
#before_after img {
    border-radius: 34px;
}


.header-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}


.proccess {
    background-color: #FFF;
    padding: 2em;
    border-radius: 24px;
}
.proccess h5 {
    margin-top: .5em;
    margin-bottom: 1em;
    color: #1e1e1e;
    font-family: 'handwritting';
    font-size: 40px;
    line-height: 55px;
}
.proccess span {
    font-size: 50px;
    margin-right: 20px;
}

table {
    width: 100%;
    border: none;
    margin-top: 20px;
    background-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}
table td,
table th {
    padding: 20px 15px !important;
}
table thead th {
    background-color: #000;
    color: #FFF !important;
    border: none;
}
table th:last-child {
    border-radius: 0 12px 0 0 !important;
}
table th:first-child {
    border-radius: 12px 0 0 0 !important;
}
table tbody tr:nth-child(odd) {
    background-color: #efefef;
}
table tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}
table tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}
.table-responsive {
    overflow: visible;
}


/* ===== Responsive Design ===== */

/* Tablet (768px and above) */
@media (max-width: 1024px) {
    .menu {
        width: 30%;
    }
    .content {
        margin-left: 30%;
        width: 70%;
    }
    h2 {
        font-size: 36px;
        line-height: 43px;
    }
    h3 {
        font-size: 32px;
        line-height: 40px;
    }
    a.primary-button {
        font-size: 14px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    .menu a {
        font-size: 14px;
        margin: 5px;
        padding: 0.4em;
    }
    .content {
        margin: 0;
        width: 100%;
        padding: 10px;
    }
    h2 {
        font-size: 38px;
        line-height: 44px;
    }
    h3 {
        font-size: 34px;
        line-height: 40px;
    }
    .portfolio-card {
        padding: 1em;
    }

    .boxes {
        flex-direction: column;
    }
    .box {
        width: 100%;
        margin: auto;
    }

    .row {
        gap: 34px;
    }
    
    table {
        box-shadow: none;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}