@font-face {
    font-family: 'GC Epic Pro Thin';
    src: url('gc-epic-pro-demo/GCEpicProDemo-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: 'GC Epic Pro ExtraLight';
    src: url('gc-epic-pro-demo/GCEpicProDemo-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: 'GC Epic Pro Light';
    src: url('gc-epic-pro-demo/GCEpicProDemo-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'GC Epic Pro Regular';
    src: url('gc-epic-pro-demo/GCEpicProDemo-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'GC Epic Pro Medium';
    src: url('gc-epic-pro-demo/GCEpicProDemo-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'GC Epic Pro SemiBold';
    src: url('gc-epic-pro-demo/GCEpicProDemo-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'GC Epic Pro Bold';
    src: url('gc-epic-pro-demo/GCEpicProDemo-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'GC Epic Pro ExtraBold';
    src: url('gc-epic-pro-demo/GCEpicProDemo-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

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

body {
    background-color: #edf1f5;
    color: #000;
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    overflow-x: hidden;
    font-weight: 200;
}

/* --- GLOBAL IMAGE LOCKING --- */
img {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.text-blue {
    color: #0145f2;
}

.vertical-sections section,
.horizontal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.vertical-sections section.reveal-active,
.horizontal-section.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    opacity: 0;
    animation: heroFadeIn 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

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

.vertical-sections section {
    min-height: 100vh;
    padding: 3rem 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.services {
    min-height: 100vh;
    padding: 2rem 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    background-color: #edf1f5;
    overflow: hidden;
}

.hero-nav {
    position: absolute;
    top: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 10;
}

.hero-nav a {
    text-decoration: none;
    color: #0145f2; /* Electric Blue */
    font-size: 0.9rem; /* Very small */
    font-weight: 200 !important;
    letter-spacing: 0.15em;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.hero-nav a:hover {
    opacity: 0.7;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16rem;
    width: 100%;
    max-width: 1400px;
    padding: 0 5rem;
}

.hero-left {
    flex: 0 0 auto;
}

.profile-circle {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    user-select: none;
    -webkit-user-drag: none;
}

.locked-img {
    user-select: none;
    -webkit-user-drag: none;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.welcome-text {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #444;
    margin-bottom: 0.4rem;
    font-weight: 200 !important;
    text-transform: uppercase;
}

.main-name {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200 !important;
    font-size: 85px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.design-build-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.design-build-text {
    font-size: 14px;
    letter-spacing: 0.12em;
    white-space: nowrap;
    font-weight: 200 !important;
    text-transform: uppercase;
}

.thin-line {
    flex: 1;
    height: 0.15px;
    background-color: #000;
    max-width: 250px;
}

.roles h2 {
    font-size: 30px;
    letter-spacing: 0.1em;
    line-height: 1.2;
    font-weight: 200 !important;
    text-transform: uppercase;
}

.role-blue {
    color: #0145f2;
}

.role-black {
    color: #000;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 3.5rem;
    text-decoration: none;
}

.cta-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid rgba(1, 69, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.cta-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.hero-cta:hover .cta-icon::after {
    height: 100%;
}

.cta-icon svg {
    width: 20px;
    height: 20px;
    color: #0145f2;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.hero-cta:hover .cta-icon svg {
    color: #fff;
}

.cta-label {
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.12em;
    color: #555;
    font-weight: 200 !important;
    text-transform: uppercase;
    text-decoration: none;
}

.roadmap-thumbnail {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 300px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    z-index: 5;
}

.roadmap-thumbnail:hover {
    transform: scale(1.05) translate(-10px, -10px);
}

.roadmap-thumbnail img {
    width: 100%;
    display: block;
}

/* Roadmap Modal */
.roadmap-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.roadmap-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    cursor: zoom-out;
}

.modal-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #0145f2;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    font-weight: 100 !important;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover {
    transform: scale(1.1);
}

.modal-content {
    position: relative;
    z-index: 10;
    max-width: 90%;
    max-height: 90%;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-modal.active .modal-content {
    transform: scale(1);
    pointer-events: auto;
}

.modal-content.zoomed {
    max-width: none;
    max-height: none;
    transform: scale(1.5);
    cursor: grab;
}

.modal-content.zoomed.dragging {
    cursor: grabbing;
    transition: none !important;
}

.modal-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- WORKS SECTION --- */
.works {
    min-height: 100vh; /* Changed to fit in one screen */
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative; /* Add for absolute child */
}

.works .section-title {
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-weight: 100;
    font-size: 28px;
    color: #0145f2;
    text-transform: uppercase;
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.works-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* Reduced gap */
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.work-item {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 80px; /* Reduced from 155px to fit 100vh */
    text-transform: uppercase;
    line-height: 1.1;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.work-item:hover {
    color: #0145f2;
}

.view-more {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    padding: 1rem 3.5rem;
    background: transparent;
    border: 1px solid rgba(1, 69, 242, 0.2);
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    margin-top: 2rem;
    position: relative;
    z-index: 10; /* Ensure on top of images */
    overflow: hidden;
    color: #000;
}

.view-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: -1;
}

.view-more:hover::after {
    height: 100%;
}

.view-more:hover {
    color: #fff;
    border-color: #0145f2;
    transform: translateY(-3px);
}

/* Works Image Preview */
.works-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.works-preview-container {
    position: absolute; /* Pinned to section */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 600px; /* Fixed square size for 1:1 */
    height: 600px;
    aspect-ratio: 1 / 1;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.2, 1, 0.3, 1), transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), top 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    border-radius: 30px; /* Small curves */
    overflow: hidden;
}

.works-preview-container.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.works-preview-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
}

.works-preview-container img.current {
    opacity: 1;
    z-index: 1;
}

.works-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.work-item {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 80px;
    text-transform: uppercase;
    line-height: 1.1;
    cursor: pointer;
    transition: all 0.4s ease;
    color: #000;
    text-decoration: none;
}

.works-list:hover .work-item {
    opacity: 0.1;
}

.works-list .work-item:hover {
    opacity: 1;
    color: #0145f2;
    transform: scale(1.05);
}


/* --- HORIZONTAL SCROLL SECTION --- */
.horizontal-scroll-wrapper {
    height: 600vh; /* 5 sections horizontally = 600vh total scroll distance */
    position: relative;
}

.horizontal-scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    width: 300vw; /* Default for 3 sections */
    will-change: transform;
}

#horizontal-block-2 .horizontal-scroll-container {
    width: 200vw; /* 2 sections: About & Contact */
}

#horizontal-block-2 {
    height: 300vh; /* 2 sections = 300vh scroll */
}

.horizontal-section {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    padding: 3rem 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}


/* --- SERVICES ("WHAT I OFFER") SECTION --- */
/* --- NEW SERVICES SECTION --- */
.services-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.services {
    overflow: hidden;
    background-color: #edf1f5;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    width: 100%;
}

.services-title {
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-weight: 100;
    font-size: 68px;
    text-transform: uppercase;
    color: #000;
}

.services-tagline {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 1rem;
    text-align: right;
    line-height: 1.4;
    text-transform: uppercase;
    color: #555;
}

.services-main-divider {
    width: 90%;
    height: 1px;
    background-color: #000;
    margin: 0.6rem 0;
    opacity: 1;
    z-index: 10;
}

.skills-section {
    padding: 0;
    margin: 0.4rem 0;
    width: 100%;
}

.skills-label {
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.15em;
}

.skills-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.8rem 0;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee-rtl 20s linear infinite;
}

.marquee-track img {
    height: 55px;
    width: 55px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.05));
    transition: transform 0.3s ease;
}

.marquee-track img:hover {
    transform: scale(1.15);
}

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

.services-cards {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0;
    flex: 1;
    align-items: center;
}

.s-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem 1.8rem;
    width: 42%;
    min-height: 220px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.04);
}

.card-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 55px;
    height: 55px;
    background: #f8faff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0145f2;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(1, 69, 242, 0.05);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.blue-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #0145f2;
    border-radius: 50%;
    z-index: 3;
}

.dashed-circle {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 86px;
    height: 86px;
    border: 1px dashed rgba(0,0,0,0.1);
    border-radius: 50%;
    z-index: 1;
}

.s-card h3 {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.s-card p {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    max-width: 90%;
}

.card-arrow {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-arrow svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.card-arrow:hover {
    background: #0145f2;
}

.card-arrow:hover svg {
    color: #fff;
}

.services-footer {
    text-align: center;
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-size: 22px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-text {
    position: relative;
    z-index: 2;
    background: transparent; /* Text directly on video */
    padding: 2rem;
    max-width: 80%;
}

.service-box.white-text .service-text {
    color: #fff;
}

.service-box.black-text .service-text {
    color: #000;
}

.service-heading {
    font-family: 'GC Epic Pro Light', sans-serif;
    font-weight: 300;
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-weight: 100;
    font-size: 2rem;
    line-height: 1.2;
}




/* --- TESTIMONIALS SECTION --- */
.testimonials-title {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 80px; /* updated to 80px */
    position: absolute;
    top: 3rem;
    left: 3rem;
    line-height: 1.1;
}

.testimonial-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 4rem; /* reduced from 6rem */
    max-width: 1000px; /* reduced from 1100px */
    margin: 8rem auto 0;
}

.testimonial-images {
    position: relative;
    width: 320px; /* reduced from 400px */
    height: 320px; /* reduced from 400px */
    flex-shrink: 0;
}

.image-backdrop {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background-color: #dbe1eb;
    border-radius: 20px;
    z-index: 1;
}

.t-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8) translateX(60px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.t-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Image Transitions and Stacking */
.t-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 5;
}

.t-image.next {
    opacity: 0.6;
    transform: scale(0.9) translateX(30px);
    z-index: 4;
}

.t-image.prev {
    opacity: 0;
    transform: scale(0.8) translateX(-60px);
    z-index: 3;
}

.testimonial-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 350px;
}

.testimonial-texts {
    position: relative;
    flex: 1;
}

.t-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Text Transitions */
.t-text.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.1s;
}

.t-text.prev {
    opacity: 0;
    transform: translateY(-20px);
}

.client-name {
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 1.8rem; /* reduced from 2.2rem */
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.client-role {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.client-opinion {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 1.2rem; /* reduced from 1.5rem */
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: auto;
}

.slider-counter {
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-size: 1.2rem;
    font-weight: 100;
}

.slider-arrows {
    display: flex;
    gap: 1rem;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.arrow-btn:hover {
    background-color: #0145f2;
}

.arrow-btn svg {
    width: 20px;
    height: 20px;
}


/* --- FAQ SECTION --- */
.faq-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1400px; /* increased width */
    margin: 0 auto;
}

.faq-left {
    flex: 0 0 25%; /* reduced further to allow more space for right side */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-left: -5rem; /* moved more to left */
}

.faq-title {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 72px; /* updated to exactly 72px */
    line-height: 1;
    text-transform: uppercase;
}

.faq-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-contact p {
    font-family: 'GC Epic Pro Thin', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #555;
}

.contact-arrow-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f4f7f9;
    color: #0145f2;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 5px 15px rgba(0,0,0,0.05);
}

.contact-arrow-btn:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 8px 20px rgba(0,0,0,0.1);
    background-color: #0145f2;
    color: #fff;
    border-color: #0145f2;
}

.contact-arrow-btn svg {
    width: 24px;
    height: 24px;
}

.faq-right {
    flex: 1;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.accordion-header h3 {
    font-family: 'GC Epic Pro Regular', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #333;
}

.accordion-icon {
    font-family: 'GC Epic Pro Regular', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #0145f2;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    padding: 0 2rem 1.5rem 2rem;
}

/* Accordion Active State */
.accordion-item.active .accordion-icon {
    transform: rotate(45deg); /* turns '+' into 'x' */
}

/* FAQ Highlighting */
.accordion-item:first-child,
.accordion-item:last-child {
    background-color: #0145f2; /* Electric blue */
}

.accordion-item:first-child .accordion-header h3,
.accordion-item:last-child .accordion-header h3,
.accordion-item:first-child .accordion-icon,
.accordion-item:last-child .accordion-icon,
.accordion-item:first-child .accordion-content p,
.accordion-item:last-child .accordion-content p {
    color: #fff !important;
}
/* --- HAMBURGER MENU --- */
.hamburger {
    position: fixed;
    top: 3rem;
    right: 4rem;
    width: 35px;
    height: 20px;
    cursor: pointer;
    z-index: 100000; /* Above overlay */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.visible {
    opacity: 1;
    visibility: visible;
}

.hamburger .bar {
    width: 100%;
    height: 1px; /* Uniform thin line */
    background-color: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover to X transition when nav is active */
.nav-active .hamburger:hover .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: #0145f2;
}
.nav-active .hamburger:hover .bar:nth-child(2) {
    opacity: 0;
}
.nav-active .hamburger:hover .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: #0145f2;
}

/* Nav Screen Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 5rem;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.8;
}

.nav-link:hover {
    color: #0145f2;
    transform: scale(1.1);
    opacity: 1;
}

/* --- ABOUT ME ANIMATIONS --- */
.fade-line {
    display: block;
    opacity: 0.1;
    color: #000;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.fade-line.active-line {
    opacity: 1 !important;
    color: #000 !important;
}

.about-title.typing-done::after {
    display: none;
}

.about-title::after {
    content: '|';
    color: #0145f2;
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

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

/* --- ABOUT ME SECTION --- */
.about-me {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    background-color: #edf1f5;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    max-width: 1200px;
    width: 100%;
}

.about-left {
    flex: 0 0 450px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 60px; /* Rounded rectangle */
    box-shadow: 0 25px 50px rgba(0,0,0,0.04);
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.about-title {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200 !important;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.about-text {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200 !important;
    font-size: 1.25rem;
    line-height: 2;
    color: #333;
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: #edf1f5;
    padding: 2rem 5rem;
}

.contact-container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    align-items: center;
}

.contact-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.connect-tag {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #444;
    margin-bottom: 2rem;
}

.contact-heading {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200;
    font-size: 80px; /* Reduced size */
    line-height: 1;
    margin-bottom: 2.5rem;
    margin-left: -0.5rem; /* Position more left */
}

.contact-info {
    margin-bottom: 3.5rem;
}

.contact-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #555;
    max-width: 280px;
    line-height: 1.6;
    text-transform: uppercase;
}

.find-me-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #555;
    margin-bottom: 2rem;
    width: 100%;
}

.find-me-line {
    height: 1px;
    background-color: #000;
    flex: 1; /* Stretch to end of icons */
    opacity: 0.2;
}

.social-grid {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 10px;
    transition: all 0.3s ease;
}

.social-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.social-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon-wrapper img[alt="Whatsapp"] {
    transform: scale(1.1); /* Compensating for visual weight */
}

.social-item span {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

/* Hover Effect: Curved electric blue box filled */
.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0145f2;
    border: 1px solid #0145f2;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.social-item:hover::before {
    opacity: 1;
    transform: scale(1.2); /* Uniform size hint */
}

.social-item:hover span {
    color: #fff;
}

.social-item:hover .social-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.social-item {
    width: 90px; /* Fixed uniform width */
    height: 90px; /* Fixed uniform height */
    justify-content: center;
}

.contact-email {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: #000;
    text-decoration: none;
    display: block;
    margin-top: 1rem;
    width: fit-content;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #0145f2;
}

.contact-divider {
    width: 1px;
    height: 60%;
    background-color: #000;
    opacity: 0.1;
    align-self: center;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.drop-message-side {
    position: absolute;
    right: -3rem;
    top: 50%;
    transform: rotate(90deg) translateY(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: #888;
    white-space: nowrap;
    transform-origin: right center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1rem 0;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    color: #000;
}

.input-group input::placeholder {
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.input-line {
    position: absolute;
    bottom: 0;
    right: 0; /* Start from right */
    width: 0;
    height: 2px;
    background: linear-gradient(to left, #0145f2, transparent);
    box-shadow: 0 0 10px rgba(1, 69, 242, 0.4);
    transition: width 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.input-group input:focus + .input-line {
    width: 40%; /* Short line */
}

.message-group {
    margin-top: 1.5rem;
    gap: 0.8rem;
}

.message-group label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #888;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: border-color 0.4s ease;
}

.textarea-wrapper textarea {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    resize: none;
    outline: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: inherit;
    color: #000;
}

/* Minimalist glow lines for message box */
.textarea-glow-line::before,
.textarea-glow-line::after {
    content: '';
    position: absolute;
    background: linear-gradient(to var(--dir), #0145f2, transparent);
    opacity: 0;
    transition: opacity 0.6s ease, width 0.8s ease, height 0.8s ease;
}

/* Bottom line: right to left */
.textarea-glow-line::before {
    --dir: left;
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 2px;
}

/* Side line: bottom to top */
.textarea-glow-line::after {
    --dir: top;
    bottom: -1px;
    right: -1px;
    width: 2px;
    height: 0;
}

.textarea-wrapper:focus-within .textarea-glow-line::before {
    width: 30%;
    opacity: 1;
}

.textarea-wrapper:focus-within .textarea-glow-line::after {
    height: 30%;
    opacity: 1;
}

.send-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: transparent;
    border: 1px solid rgba(1, 69, 242, 0.1);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.send-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

.send-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.send-btn:not(:disabled):hover::after {
    height: 100%;
}

.send-btn:not(:disabled):hover {
    border-color: #0145f2;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(1, 69, 242, 0.2);
}

.send-icon {
    width: 45px;
    height: 45px;
    background: #f8faff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0145f2;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.send-btn:not(:disabled):hover .send-icon {
    background: #fff;
}

.send-btn span {
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: #000;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.send-btn:not(:disabled):hover span {
    color: #fff;
}

/* Adjust About Me for horizontal flow */
.about-me {
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
}

/* --- CONTACT ARROW BTN --- */
.contact-arrow-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(1, 69, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    color: #000;
    text-decoration: none;
}

.contact-arrow-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.contact-arrow-btn:hover::after {
    height: 100%;
}

.contact-arrow-btn svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.contact-arrow-btn:hover svg {
    color: #fff;
}



/* --- SUB PAGES LAYOUT --- */
.sub-page {
    background-color: #edf1f5;
    overflow-y: hidden;
}

.page-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 0; /* Positioned slightly up to avoid nav and fit screen */
}

.active-page-section {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-page .about-me,
.sub-page .contact {
    background: transparent;
}

.sub-page .about-container,
.sub-page .contact-container,
.sub-page .works-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* --- WORKS PAGE LAYOUT --- */
.works-page .page-content {
    padding: 140px 5% 0; /* Lowered from 100px to avoid nav overlap */
}

.works-layout-container {
    display: flex;
    height: 75vh; /* Adjusted for better fit */
    width: 100%;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.clients-list-wrapper {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clients-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Restored gap for better spacing */
}

.scrollable-list {
    max-height: 100%;
    overflow: visible; 
    padding-right: 0;
}

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

.unreleased-header {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #444;
    opacity: 0.4;
    margin: 1.5rem 0 1rem;
    font-weight: 200 !important;
}

.highlight-template-box {
    background-color: #0145f2;
    color: #fff !important;
    padding: 10px 20px !important; /* Forces symmetrical padding always */
    border-radius: 8px;
    font-weight: 500 !important;
    width: fit-content;
    margin-top: 0.2rem;
    transition: all 0.3s ease !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.highlight-template-box::before {
    display: none !important;
}

.highlight-template-box.active {
    background-color: #fff;
    color: #0145f2 !important;
    box-shadow: 0 10px 30px rgba(1, 69, 242, 0.2);
}



.cs-video-wrapper,
.cs-image-wrapper {
    width: fit-content; /* Hug the media to remove black sides */
    max-width: 750px; /* Proportionally smaller */
    margin: 0 auto;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.06);
    flex-shrink: 0;
    background: transparent;
}

.cs-video,
.cs-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 38vh; /* Proportionally small height */
    object-fit: contain;
    transition: transform 0.8s ease;
}


.cs-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Fill the container to remove black bars */
    transition: transform 0.8s ease;
}


.custom-video-controls {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 1rem;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.cs-video-wrapper:hover .custom-video-controls {
    opacity: 1;
    transform: translateY(0);
}

.custom-video-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-video-controls button:hover {
    background: #0145f2;
    transform: scale(1.1);
}

.custom-video-controls button svg {
    width: 18px;
    height: 18px;
}

.text-highlight-blue {
    color: #0145f2;
}

.client-name-item {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200 !important;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: #888;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    text-transform: uppercase;
    position: relative;
    padding-left: 0;
}

.client-name-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: #0145f2;
    transition: width 0.4s ease;
}

.client-name-item.active {
    color: #0145f2;
    padding-left: 10px;
}

.client-name-item.active::before {
    width: 15px;
}

.client-name-item:hover {
    color: #0145f2;
}

.works-vertical-divider {
    width: 1px;
    height: 60%;
    background-color: #000;
    opacity: 0.1;
    flex-shrink: 0;
}

.case-study-display {
    flex: 1;
    position: relative;
    height: 100%;
}

.case-study-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start; /* Start from top */
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.case-study-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cs-image-wrapper {
    width: 100%;
    max-width: 900px; /* Matching video width */
    height: 40vh; /* Matching video height */
    min-height: 250px;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.cs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-study-content.active .cs-image-wrapper img,
.case-study-content.active .cs-video {
    transform: scale(1.05);
}

.cs-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Natural resolution/ratio */
    background: #000;
    transition: transform 0.8s ease;
}

/* Hide volume controls as requested */
.cs-video::-webkit-media-controls-volume-slider,
.cs-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.cs-info {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.cs-description {
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-weight: 200 !important;
    font-size: 0.95rem; /* Reduced to fit in one screen */
    line-height: 1.6;
    color: #444;
    max-width: 90%;
    margin-bottom: 1rem;
}

.cs-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    width: fit-content;
}

.cs-cta .cta-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(1, 69, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.cs-cta .cta-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.cs-cta:hover .cta-icon::after {
    height: 100%;
}

.cs-cta .cta-icon svg {
    width: 18px;
    height: 18px;
    color: #0145f2;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.cs-cta:hover .cta-icon svg {
    color: #fff;
}

.cs-cta .cta-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #555;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.cs-cta:hover .cta-label {
    color: #0145f2;
}

/* Animations for Case Study Content */
.case-study-content .cs-description,
.case-study-content .cs-cta {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.case-study-content.active .cs-cta,
.case-study-content.active .own-design-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.own-design-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(1, 69, 242, 0.3);
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-family: 'GC Epic Pro ExtraLight', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
}

.own-design-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.own-design-btn .btn-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #0145f2;
    transition: height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

.own-design-btn:hover {
    border-color: #0145f2;
}

.own-design-btn:hover span {
    color: #fff;
}

.own-design-btn:hover .btn-fill {
    height: 100%;
}

.case-study-content.active .cs-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* --- CUSTOM CURSOR --- */
html, body {
    cursor: none !important;
}

.custom-cursor {
    width: 6px;
    height: 6px;
    background-color: #0145f2;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid #0145f2;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.2, 1, 0.3, 1), height 0.3s cubic-bezier(0.2, 1, 0.3, 1), background 0.3s ease, border 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-text {
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 10px;
    color: #000;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    white-space: nowrap;
}

/* Hover state for cursor */
.cursor-hover .cursor-follower {
    width: 80px;
    height: 35px;
    background: #fff;
    border: none;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cursor-hover .cursor-text {
    opacity: 1;
    transform: scale(1);
}

/* --- DISCORD POPUP --- */
.discord-trigger {
    position: relative;
}

.discord-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0145f2;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 15px 35px rgba(1, 69, 242, 0.25);
}

.discord-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.discord-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #0145f2 transparent transparent transparent;
}

.discord-name {
    font-weight: 500 !important;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.discord-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 0.1em;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #23a55a;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(35, 165, 90, 0.5);
}

/* --- SUCCESS POPUP --- */
.contact-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(237, 241, 245, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-success-popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #fff;
    padding: 3.5rem;
    border-radius: 32px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(1, 69, 242, 0.05);
}

.contact-success-popup.active .popup-content {
    transform: translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(1, 69, 242, 0.05);
    color: #0145f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.popup-content h3 {
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #000;
}

.popup-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.close-popup-btn {
    background: #0145f2;
    color: #fff;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: 'GC Epic Pro Medium', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.close-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(1, 69, 242, 0.2);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (max-width: 768px)
   Strictly preserving desktop code while optimizing for mobile/tablet.
   ========================================================================== */

@media (max-width: 768px) {
    /* --- GLOBAL ADJUSTMENTS --- */
    html, body {
        cursor: default !important;
    }

    .custom-cursor, .cursor-follower {
        display: none !important;
    }

    section, .horizontal-section {
        padding: 4rem 1.5rem !important;
    }

    /* --- HERO SECTION --- */
    .hero {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center;
        gap: 2.5rem;
        padding-top: 6rem !important;
        min-height: 100vh;
    }

    .hero-left, .hero-right {
        width: 100% !important;
    }

    .hero-left {
        display: flex;
        justify-content: center;
    }

    .profile-circle {
        width: 180px !important;
        height: 180px !important;
    }

    .main-name {
        font-size: 3rem !important;
        line-height: 1;
        margin-bottom: 1.5rem;
    }

    .design-build-container {
        justify-content: center !important;
        margin-bottom: 1.5rem;
    }

    .roles {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin: 2rem 0 !important;
        max-width: 100% !important;
    }

    .hero-cta-wrapper {
        justify-content: center !important;
    }

    .hero-nav {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- WORKS SECTION (GRID BY GRID) --- */
    .works {
        height: auto !important;
        padding-bottom: 6rem !important;
    }

    .works-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 3.5rem !important;
    }

    .works-list {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important; /* One by one for maximum impact */
        gap: 2.5rem !important;
    }

    .work-item {
        font-size: 1.5rem !important;
        padding: 0 !important;
        height: 400px;
        position: relative;
        display: flex !important;
        align-items: flex-end;
        padding: 2rem !important;
        border: none !important;
        border-radius: 24px;
        overflow: hidden;
        color: #fff !important;
        text-decoration: none;
        background-color: #000;
    }

    .work-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: var(--bg-image);
        background-size: cover;
        background-position: center;
        opacity: 0.7;
        transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
        z-index: 1;
    }

    .work-item:hover::before {
        transform: scale(1.05);
    }

    .work-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        z-index: 2;
    }

    .work-item span, .work-item {
        position: relative;
        z-index: 3;
        font-family: 'GC Epic Pro Medium', sans-serif !important;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    #works-preview {
        display: none !important;
    }

    /* --- HORIZONTAL TO VERTICAL FLOW --- */
    .horizontal-scroll-wrapper {
        height: auto !important;
        position: static !important;
    }

    .horizontal-scroll-container {
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
        width: 100% !important;
        position: static !important;
    }

    .horizontal-section {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 6rem 1.5rem !important;
        border-bottom: 1px solid rgba(1, 69, 242, 0.05);
    }

    /* --- SERVICES --- */
    .services-title {
        font-size: 2.5rem !important;
        text-align: center;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .service-card {
        padding: 2.5rem 1.5rem !important;
    }

    /* --- TESTIMONIALS --- */
    .testimonials-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .t-image-stack {
        width: 100% !important;
        height: 300px !important;
    }

    .t-text-content {
        width: 100% !important;
        min-height: auto !important;
        text-align: center;
    }

    .t-text p {
        font-size: 1rem !important;
    }

    .slider-controls {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 2rem;
    }

    /* --- FAQ --- */
    .faq-container {
        width: 100% !important;
    }

    .accordion-header {
        font-size: 1rem !important;
        padding: 1.5rem 0 !important;
    }

    /* --- ABOUT --- */
    .about-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .about-left, .about-right {
        width: 100% !important;
        text-align: center;
    }

    #typing-about {
        font-size: 3rem !important;
    }

    .fade-line {
        font-size: 1.2rem !important;
        line-height: 1.7 !important;
    }

    /* --- CONTACT --- */
    .contact-layout {
        flex-direction: column;
        gap: 4rem;
    }

    .contact-left, .contact-right {
        width: 100% !important;
    }

    .contact-title {
        font-size: 2.8rem !important;
        text-align: center;
    }

    .social-links {
        justify-content: center !important;
    }

    /* --- FOOTER --- */
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    /* --- SUB-PAGES --- */
    .works-layout-container {
        flex-direction: column !important;
        height: auto !important;
    }

    .clients-list-wrapper {
        width: 100% !important;
        height: auto !important;
        max-height: 250px;
        border-right: none !important;
        border-bottom: 1px solid rgba(1, 69, 242, 0.1);
    }

    .case-study-display {
        width: 100% !important;
        padding: 3rem 0 !important;
    }

    .cs-image-wrapper, .cs-video-wrapper {
        height: 250px !important;
    }
}
