/* ===================================================================
 * # preloader
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #050505;
    z-index: 500;
    height: 100vh;
    width: 100%;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    margin-left: -30px;
    margin-top: -30px;
}

#loader:before {
    content: "";
    border-top: 6px solid rgba(255, 255, 255, 0.1);
    border-right: 6px solid rgba(255, 255, 255, 0.1);
    border-bottom: 6px solid rgba(255, 255, 255, 0.1);
    border-left: 6px solid #cf1767;
    animation: load 1.1s infinite linear;
    display: block;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

@keyframes load {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================================================
 * # header 
 * ------------------------------------------------------------------- */
.s-header {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 100;
}

.s-header.sticky {
    background-color: #050505;
    position: fixed;
    top: 0;
    left: 0;
}

.header-social {
    position: absolute;
    top: 0;
    right: 40px;
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 78px;
}

.header-social a {
    color: #ffffff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: #cf1767;
}

.header-nav-wrap {
    display: inline-block;
}

.header-nav-wrap ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-main-nav {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .3rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0 4px;
}

.header-main-nav li {
    display: inline-block;
    margin: 0 2rem;
}

.header-main-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    line-height: 78px;
    transition: color 0.3s ease;
}

.header-main-nav a:hover,
.header-main-nav .current a {
    color: #ffffff;
}

/* ===================================================================
 * # intro 
 * ------------------------------------------------------------------- */
.s-intro {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content {
    text-align: center;
    padding: 2rem;
}

.intro-text h3 {
    font-family: "Roboto", sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.333;
    color: #cf1767;
    margin-bottom: 1rem;
}

.intro-text h1 {
    font-family: "Frank Ruhl Libre", serif;
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.intro-scroll {
    margin-top: 4rem;
}

.intro-scroll-link {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .3rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.intro-scroll-link:hover {
    color: #ffffff;
}

/* ===================================================================
 * # sections common
 * ------------------------------------------------------------------- */
.s-about,
.s-services,
.s-works,
.s-contact {
    padding: 8rem 0;
    width: 100%;
}

.s-about {
    background-color: #ffffff;
}

.s-services,
.s-contact {
    background-color: #050505;
    color: #ffffff;
}

.s-works {
    background-color: #f5f5f5;
}

/* Heading styles */
.heading-block {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1.176;
    text-transform: uppercase;
    letter-spacing: .5rem;
    margin: 0;
    padding-bottom: 2rem;
    position: relative;
}

.section-heading::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: #cf1767;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===================================================================
 * # about
 * ------------------------------------------------------------------- */
.about-me__text {
    max-width: 800px;
    margin: 0 auto;
}

.about-me__text p {
    font-family: "Lora", serif;
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.about-me__text p.lead {
    font-size: 2.2rem;
    font-weight: 300;
    color: #000;
}

.about-me__buttons {
    margin-top: 4rem;
    text-align: center;
}

/* ===================================================================
 * # projects
 * ------------------------------------------------------------------- */
.services-list {
    max-width: 1200px;
    margin: 0 auto;
}

.item-service {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

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

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

.item-title {
    font-family: "Frank Ruhl Libre", serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
}

.item-service p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* ===================================================================
 * # buttons
 * ------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .5rem;
    padding: 1.5rem 3rem;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
    background-color: #d3d3d3;
    border: 0.2rem solid #d3d3d3;
}

.btn--primary {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn--primary:hover {
    background: #cf1767;
    border-color: #cf1767;
}

.btn--stroke {
    background: transparent;
    border: 0.2rem solid #cf1767;
    color: #cf1767;
}

.btn--stroke:hover {
    background: #cf1767;
    color: #ffffff;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* ===================================================================
 * # contact
 * ------------------------------------------------------------------- */
.contact-main {
    text-align: center;
}

.contact-email,
.contact-phone {
    font-size: 2rem;
    margin: 1rem 0;
}

.contact-email a,
.contact-phone a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: #cf1767;
}

.contact-social ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-social a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.contact-social a:hover {
    color: #cf1767;
}

.section-desc {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

/* ===================================================================
 * # footer
 * ------------------------------------------------------------------- */
footer {
    background-color: #050505;
    color: rgba(255, 255, 255, 0.3);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* ===================================================================
 * # back to top button
 * ------------------------------------------------------------------- */
.ss-go-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ss-go-top.show {
    opacity: 1;
    visibility: visible;
}
/* ===================================================================
 * # experience timeline
 * ------------------------------------------------------------------- */
.s-works {
    background-color: #ffffff;
    padding: 8rem 0;
}

.about-experience__timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
    padding: 4rem 0 0 0;
}

.timeline::before {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    position: absolute;
    left: 0;
    top: 0;
}

.timeline__block {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 4rem;
}

.timeline__bullet {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: #cf1767;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 0;
    z-index: 1;
}

.timeline__header {
    margin-bottom: 1.5rem;
}

.timeline__timeframe {
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2rem;
    color: #cf1767;
    margin-bottom: 0.5rem;
}

.timeline__header .item-title {
    font-family: "Frank Ruhl Libre", serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.timeline__header h5 {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    font-style: italic;
}

.timeline__desc {
    font-family: "Lora", serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #444;
}

.timeline__desc p {
    margin: 0;
}

.timeline__desc strong {
    color: #000000;
    font-weight: 600;
}

/* Center heading styles */
.heading-block--center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-heading--centerbottom {
    text-align: center;
    padding-bottom: 2rem;
}

.section-heading--centerbottom::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive timeline */
@media screen and (max-width: 768px) {
    .timeline__block {
        padding-left: 3rem;
    }
    
    .timeline__header .item-title {
        font-size: 2rem;
    }
    
    .timeline__header h5 {
        font-size: 1.5rem;
    }
    
    .timeline__desc {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .timeline__block {
        padding-left: 2.5rem;
    }
    
    .timeline__header .item-title {
        font-size: 1.8rem;
    }
    
    .timeline__header h5 {
        font-size: 1.4rem;
    }
    
    .timeline__desc {
        font-size: 1.4rem;
    }
}
.ss-go-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    border: 2px solid #cf1767;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ss-go-top a:hover {
    background: #cf1767;
    transform: translateY(-3px);
}

/* ===================================================================
 * # responsive
 * ------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .header-main-nav {
        display: none;
    }
    
    .intro-text h1 {
        font-size: 3.5rem;
    }
    
    .intro-text h3 {
        font-size: 2rem;
    }
    
    .item-service {
        padding: 2rem;
    }
    
    .ss-go-top {
        right: 20px;
        bottom: 20px;
    }
    
    .ss-go-top a {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .intro-text h1 {
        font-size: 2.8rem;
    }
    
    .intro-text h3 {
        font-size: 1.8rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .ss-go-top {
        right: 15px;
        bottom: 15px;
    }
    
    .ss-go-top a {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

/* ===================================================================
 * # grid system
 * ------------------------------------------------------------------- */
.row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.column {
    float: left;
    padding: 0 1rem;
    box-sizing: border-box;
}

.large-12 { width: 100%; }
.large-6 { width: 50%; }
.large-half { width: 50%; }

@media screen and (max-width: 768px) {
    .column {
        float: none;
        width: 100% !important;
        margin-bottom: 2rem;
    }
    
    .tab-full { width: 100% !important; }
    .mob-full { width: 100% !important; }
}