@font-face {
    font-family: 'Montserrat';
    src: url('../images/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

body.index-page .hero-overlay h1.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

body.index-page .hero-overlay p.hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400 !important;
}

body.index-page main .hero-slider .hero-overlay h1.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

body.index-page main .hero-slider .hero-overlay p.hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400 !important;
}

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

* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
}

body:not(.index-page)::before {
    content: '';
    position: fixed;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 200px;
    background: url('../images/img001.jpg') center/cover;
    opacity: 0.03;
    border-radius: 20px;
    transform: rotate(15deg);
    z-index: -1;
}

body:not(.index-page)::after {
    content: '';
    position: fixed;
    bottom: 10%;
    left: -5%;
    width: 250px;
    height: 180px;
    background: url('../images/img002.jpg') center/cover;
    opacity: 0.03;
    border-radius: 20px;
    transform: rotate(-10deg);
    z-index: -1;
}

.content::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -8%;
    width: 150px;
    height: 100px;
    background: url('../images/img003.jpg') center/cover;
    opacity: 0.04;
    border-radius: 15px;
    transform: rotate(25deg);
    z-index: -1;
}

.content {
    position: relative;
    overflow: hidden;
}

body.index-page {
    height: 100vh;
    overflow: hidden;
}

body.index-page main {
    height: calc(100vh - 120px);
    margin: 0;
    padding: 0;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

header {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100vw;
}

.header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.logo {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    height: 60px;
}

.logo span.light {
    font-weight: 300;
    margin-left: 0.2em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

nav a:hover,
nav a.active {
    color: #E94560;
}

footer {
    background: #1A1A2E;
    color: white;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100vw;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #E94560;
}

.copyright {
    color: #666;
    font-size: 0.7rem;
}

.copyright a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #E94560;
    text-decoration: none;
}

main {
    margin-top: 60px;
    position: relative;
}

body:not(.index-page) main {
    width: 100%;
    padding: 30px 0 80px 0;
    min-height: calc(100vh - 120px);
}

body:not(.index-page) main>* {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 0.3em;
    text-align: center;
    letter-spacing: 0.5px;
    color: #1A1A2E;
    position: relative;
    z-index: 1;
}

h1 .bold {
    font-weight: 700;
}

.bold {
    font-weight: 700 !important;
}

.light {
    font-weight: 300 !important;
}

.red {
    color: #E94560 !important;
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 2em;
}

.overview-demo {
    aspect-ratio: 16/9;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.overview-demo iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.overview-demo::after {
    content: attr(data-watermark);
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6em;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    z-index: 5;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0);
    padding: 2px 6px;
    border-radius: 3px;
}

.overview-demo::before {
    content: 'PORTFOLIO';
    position: absolute;
    top: 10px;
    left: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7em;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    z-index: 5;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0);
    padding: 2px 6px;
    border-radius: 3px;
}

.overview-demo.lazy {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-demo.lazy::before {
    content: 'Loading Demo...';
    color: #666;
    font-size: 0.9em;
}

body::after {
    content: url('pro-demo.php');
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .project-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

h1::after {
    content: attr(data-light);
    font-weight: 300;
    margin-left: 0.2em;
    color: #1A1A2E;
}

body.index-page h1 {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: white;
}

.subtitle {
    color: #666;
    font-size: 1em;
    text-align: center;
    margin-bottom: 8em;
    position: relative;
}