html {
    scroll-behavior: smooth;
    /* overflow: hidden; */
    cursor: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.neon-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background: rgba(0, 255, 255, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3), 0 0 45px rgba(0, 255, 255, 0.2);
    transition: transform 0.1s ease-out;
    z-index: 1000;
    will-change: transform;
}


::-webkit-scrollbar {
    display: none;
}

::-moz-selection {
    color: white;
    background: #CE4641;
  }
  
  ::selection {
    color: white;
    background: #CE4641;
  }
  

a, button {
    cursor: none;
    transition: color 1s;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
    background-color: #252a34;
    font-family: "Kanit", sans-serif;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px 700px at 50% 50%, rgba(255,255,255,0.06), rgba(0,0,0,0.85) 60%), #0c0f14;
    backdrop-filter: blur(6px);
}

.preloader-inner {
    text-align: center;
    color: #ededed;
    width: min(520px, 86%);
}

.preloader-logo {
    width: 140px;
    filter: drop-shadow(0 0 12px rgba(173, 216, 230, 0.35));
    opacity: 0;
    transform: translateY(10px) scale(0.96);
}

.preloader-bar {
    position: relative;
    width: 100%;
    height: 8px;
    margin: 26px auto 10px auto;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
}

.preloader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-image: linear-gradient(90deg,#AF40FF 0%, #5B42F3 35%, #1dbeca 70%);
    box-shadow: 0 0 14px rgba(24, 180, 194, 0.6);
}

.preloader-text {
    display: block;
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.6px;
    color: #cfd6de;
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    #preloader { backdrop-filter: none; }
    .preloader-logo { transform: none; }
}

.page {
    width: 100%;
    /* height: 100vh; */
    margin: 230px 0;
    position: relative;
}

.secondaryPage {
    position: relative;
}

.servicesPage {
    height: 100vh;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Add spacing between services pages to prevent overlap */
.servicesPage + .servicesPage {
    margin-top: 50px; 
}

/* Hide services pages when they're not the active sticky one */
.servicesPage.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.actualServicesPage {
    position: fixed;
    top: 0;
}

header {
    width: 100%;
    box-sizing: border-box;
    padding: 25px;
    top: 0;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

header.hidden {
    transform: translateY(-100%);
}

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

#bgrVideo {
    position: fixed;
    right: 0;
    bottom:0;
    min-width: 100%;
    min-height: 100%;
}

nav#mainNav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

img.socialIcon {
    height: 23px;
    margin-left: 10px;
    margin-right: 10px;
    display: inline-block;
}

#socialPanel {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.mainBtn {
    width: 350px;
    height: 55px;
    align-items: center;
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-size: 20px;
    font-weight: 600;
    justify-content: center;
    line-height: 45px;
    padding: 3px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
  }
  
  .mainBtn:active,
  .mainBtn:hover {
    outline: 0;
  }
  
  .mainBtn span {
    background-color: rgb(5, 6, 45);
    border-radius: 6px;
    width: 100%;
    height: 100%;
    transition: 300ms;
  }
  
  .mainBtn:hover span {
    background: none;
  }

.smallNavItem {
    color: #ededed;
    font-family: "Kanit", sans-serif;
    margin-right: 50px;
    text-decoration: none;
    line-height: 23px;
    display: inline-block;
    font-weight: 600;
}

.mainHeading {
    font-family: "Lexend", sans-serif;
    font-weight: 900;
    font-size: 430%;
    color: #ededed;
    margin-left: 30px;
    text-align: center;
    margin: 0;
    margin-top: -25px;
}

#bgrShape {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#welcome {
    margin-top: 200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 1200px;
}

#welcome p {
    margin-left: 0;
    margin-right: 0;
}

.greenBgr {
    background-color: #1B757D;
}

.greenBorder {
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 15%,#1dbeca 30%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    transition: background-position 0.6s ease-in-out;
}

.redBgr {
    background-color: #CE4641;
}

.redBorder {
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 15%,#CE4641 30%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    transition: background-position 0.6s ease-in-out;
}

.violetBgr {
    background-color: #775484;
}

.violetBgr.btn:hover {
    box-shadow: 0 0 10px #775484;
}

.violetBorder {
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 15%,#bf7ed7 30%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    transition: background-position 0.6s ease-in-out;
}

.noBorder {
    background-color: transparent;
    border: none;
    box-shadow: none;
    width: 250px;
}

/* Hover effects for background movement */
.mainBtn:hover.greenBorder {
    background-position: 100% 100%;
}

.mainBtn:hover.redBorder {
    background-position: 100% 100%;
}

.mainBtn:hover.violetBorder {
    background-position: 100% 100%;
}

h2 {
    font-family: "Lexend", sans-serif;
    font-weight: 900;
    font-size: 430%;
    color: #ededed;
}

h3 {
    font-family: "Kanit", sans-serif;
    font-size: 180%;
    color: #ededed;
}

h2 img {
    height: 75px;
    vertical-align: bottom;
    padding-right: 6px;
}

#about-me h2 {
    margin-left: 240px;
    padding-top: 80px;
}

.servicesPage h3 {
    padding-top: 270px;
    margin-left: 205px;
}

#my-apps h2 {
    margin-left: 120px;
    padding-top: 80px;
}
.servicesPage h2 {
    margin-left: 220px;
}

.servicesPage h2 img {
    vertical-align: baseline;
    padding-right: 10px;
    height: 57px;
}

.servicesPage p:not(.reviews p) {
    margin-left: 240px;
    margin-top: 25px;
    width: 900px;
    max-width: calc(92% - 240px);
}

.reviews p {
    margin-left: 0;
}

.app p {
    margin-left: 0;
    margin-right: 0;
}

.servicesBtns {
    margin-top: 50px;
    margin-left: 240px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 25px;
}

/* App Slider Styles */
.app-slider {
    margin-left: 69px;
    margin-top: 80px;
    width: calc(100% - 69px);
    position: relative;
}

.app-slider-container {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.app-slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.app {
    flex: 0 0 500px;
    width: 500px;
    height: 350px;
    text-align: center;
    color: #ededed;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    transition: background-color 1s, box-shadow 1s;
    border-radius: 12px;
}

.app.appGreen {
    border: 3px solid #1B757D;
}

.app.appRed {
    border: 3px solid #CE4641;
}

.app.appViolet {
    border: 3px solid #775484;
}

.appBorder {
    position: absolute;
    display: block;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(-45deg);
    overflow: hidden;
    background: linear-gradient(to right, #252A34 20%, #252A34 40%, #ECD08C 50%, #ECD08C 55%, #252A34 70%, #252A34 100%);
    background-size: 200% auto;
}

.borderAnimation {
    animation: shine 3s linear;
}

.appContent {
    background-color: #252A34;
    position: absolute;
    top: 1%;
    left: 1%;
    display: block;
    height: 98%;
    width: 98%;
    margin: auto;
    align-self: center;
    z-index: 1;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 8px;
}

.app p {
    margin-top: 40px;
}

.btn {
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #ededed;
}

.btn:hover {
    color: #ededed;
}

.app .btn {
    position: absolute;
    width: 250px;
    height: 50px;
    margin: 0 auto;
    text-align: center;
    bottom: 25px;
    left: 0;
    right: 0;
    font-weight: 900;
    transition: box-shadow 0.5s;
    border-radius: 9px;
}

.greenBgr.btn:hover {
    box-shadow: 0 0 10px #1B757D;
}

.redBgr.btn:hover {
    box-shadow: 0 0 10px #CE4641;
}

/* App Slider Navigation */
.app-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.app-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ededed;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.app-slider-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.app-slider-btn:hover:before {
    left: 100%;
}

.app-slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.app-slider-btn:disabled {
    opacity: 0.3;
    cursor: none;
    transform: none;
}

.app-slider-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: none;
    box-shadow: none;
}

.app-slider-btn:disabled:before {
    display: none;
}

.app-slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.app-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: none;
    border: none;
    padding: 0;
    position: relative;
}

.app-slider-dot:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.app-slider-dot:hover:before {
    width: 18px;
    height: 18px;
}

.app-slider-dot.active {
    background: #ededed;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(237, 237, 237, 0.5);
}

.app-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.servicesNavigation {
    display: inline-block;
    position: absolute;
    width: 90%;
    text-align: right;
    right: 0;
    top: -30px;
    margin: 50px 0 0 0;
    padding-bottom: 20px;
    z-index: 50;
}

.servicesNavigation.sticky {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    right: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin: 0;
    /* transition: all 0.3s ease; */
}

.stickyLogo {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 51;
    transition: opacity 0.3s ease;
}

.stickyLogo:hover {
    opacity: 0.8;
}

.servicesNavigation.sticky .stickyLogo {
    display: block;
}



.greenText {
    color: #18b4c2;
}

.redText {
    color: #FF6F69;
}

.violetText {
    color: #D59CEA;
}

.greenTextHover {
    color: #ededed;
    transition: color 0.5s;
}

.redTextHover {
    color: #ededed;
    transition: color 0.5s;
}

.violetTextHover {
    color: #ededed;
    transition: color 0.5s;
}

.greenTextHover:hover {
    color: #18b4c2;
}

.redTextHover:hover {
    color: #FF6F69;
}

.violetTextHover:hover {
    color: #D59CEA;
}

.boldText {
    font-weight: bold;
}

.sectionShape {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    z-index: 1;
}

.sectionShape-bg {
    transition: opacity 0.3s ease;
}

.sectionShape-fill {
    /* Remove transition to allow GSAP to control the animation smoothly */
    transition: none;
}

#contact span {
    font-family: "Lexend", sans-serif;
    color: #ededed;
    font-size: 170%;
    margin-left: 50px;
}

#contactInfo span {
    display: block;
    margin-left: 0;
    margin-top: 80px;
}

#contactInfo {
    width: 50%;
    /* height: 100%; */
    /* top: 10px; */
    position: relative;
    margin: 0 auto;
    text-align: center;
    /* min-width: 500px; */
    padding-top: 35px;
}

.socialIconLarge {
    margin-left: 25px !important;
    margin-right: 25px !important;
    height: 30px !important;
}

#socialContact {
    height: 50px;
    margin-top: 40px;
}

#ico {
    font-family: "Kanit", sans-serif;
    color: #ededed;
    left: 0;
    right: 0;
    font-style: normal;
    display: block;
    position: relative;
    text-align: center;
}

#email {
    font-family: "Kanit", sans-serif;
    color: #ededed;
    margin-top: 25px;
    font-style: normal;
}

.rotate {
    transform: rotate(180deg);
}

#about-me {
    background-image: url(/img/me-working-min.png);
    background-position-x: 0;
    background-position-y: 100%;
    background-size: auto 95%;
    margin-top: 1000px;
    background-repeat: no-repeat;
}

#about-me-inner {
    width: 60%;
    margin-left: 300px;
    margin-top: 40px;
}

.darkener {
    background-color: rgba(0,0,0,0.5);
}

#preMainHeading {
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    font-size: 180%;
    color: #ededed;
    overflow: hidden;
    text-align: center;
}

p {
    margin-left: 30px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-right: 60px;
    margin-top: 20px;
    color: #ededed;
}

#emailImg {
    height: 20px;
    margin-top: -3px;
    margin-right: 8px;
    vertical-align: middle;
}

#emailLink {
    vertical-align: middle;
    line-height: 20px;
}

.fadeOut{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(0deg, rgba(37,42,52,0.9136029411764706) 0%, rgba(37,42,52,0.05) 100%);
}

#moreAboutCopy {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(27, 117, 125, 1) 0%, rgba(14, 154, 167, 1) 100%);
}

#moreAboutDev {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgb(206,70,65) 0%, rgb(255,111,105) 100%);
}

#moreAboutTech {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgb(119,84,132) 0%, rgb(155,114,170) 100%);
}

.backBtn {
    color: white;
    font-weight: bold;
    font-size: 180%;
    position: sticky;
    top: 20px;
    left: 20px;
    z-index: 10;
    float: left;
    margin-bottom: 20px;
}

.backBtn:hover {
    animation: shake 0.5s infinite;
    color: white;
}

.moreAbout span {
    color: white;
}

.moreAbout {
    overflow-y: scroll;
    padding-bottom: 25px;
    z-index: 500;
}

.reviewsHeading {
    margin-left: 240px;
    margin-top: 80px;
    color: white;
    font-size: 160%;
    margin-bottom: 0;
}

/* Reviews Slider Styles */
.reviews {
    position: relative;
    margin-left: 240px;
    /* margin-top: 30px; */
    max-width: calc(96% - 240px);
    overflow: hidden;
}

.reviews-container {
    position: relative;
    width: 100%;
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.review {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 20px 20px 0;
    box-sizing: border-box;
}

.review:last-child {
    padding-right: 0;
}

.stars {
    color: gold !important;
    font-size: 150%;
    margin-top: 30px;
    display: block;
    margin-bottom: 10px;
}

.quote {
    margin-top: 10px;
}

.quoteAuthor {
    font-size: 110%;
    font-weight: bold;
    color: gold !important;
    margin-top: 15px;
    display: block;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.3s forwards;
    position: relative;
}

/* Auto-play progress indicator */
.slider-progress {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #18b4c2, #ededed);
    border-radius: 1px;
    transition: width 0.1s linear;
}

/* Pause indicator when hovered */
.reviews:hover .slider-progress-bar {
    opacity: 0.5;
}

.reviews:hover .slider-progress::after {
    content: '⏸';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ededed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.slider-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slider-btn:hover:before {
    left: 100%;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: none;
    transform: none;
}

.slider-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: none;
    box-shadow: none;
}

.slider-btn:disabled:before {
    display: none;
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    border: none;
    padding: 0;
    outline: none;
}

.slider-dot:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.slider-dot:hover:before {
    width: 16px;
    height: 16px;
}

.slider-dot.active {
    background: #ededed;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(237, 237, 237, 0.5);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.showOnMobile {
    display: none;
}

/* Hamburger Menu Styles */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

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

.hamburger-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #AF40FF 0%, #5B42F3 35%, #1dbeca 70%);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(37, 42, 52, 0.98) 0%, 
        rgba(27, 117, 125, 0.95) 35%, 
        rgba(206, 70, 65, 0.95) 70%, 
        rgba(119, 84, 132, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    text-align: center;
    color: #ededed;
    width: 90%;
    max-width: 400px;
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.close-btn {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: relative;
    cursor: none;
    padding: 0;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #ededed;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-btn:hover .close-line {
    background: #ff6b6b;
    width: 24px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.mobile-nav-link {
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ededed;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover:before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mobile-nav-social {
    margin-top: 40px;
}

.mobile-nav-social-title {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: rgba(237, 237, 237, 0.8);
    margin-bottom: 20px;
    display: block;
}

.mobile-nav-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mobile-social-icon {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.mobile-social-icon:hover {
    transform: scale(1.2) rotate(10deg);
    filter: brightness(1.2);
}

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

.scroll-lock {
    overflow-y: hidden !important;
}







@media only screen and (max-width: 1025px) {
    .neon-cursor {
        display: none;
    }

    html {
        cursor: default;
    }

    .app-slider {
        margin-left: 10px;
        width: calc(100% - 20px);
    }

    .app-slider-wrapper {
        gap: 20px;
    }

    .app {
        flex: 0 0 340px;
        width: 340px;
        height: 380px;
    }

    .sectionShape {
        left: -160px;
        width: 10px;
        height: 100%;
    }

    .servicesPage h3 {
        margin-left: 85px;
    }

    .servicesPage h2 {
        margin-left: 100px;
    }

    .servicesPage p {
        /* margin-left: 120px; */
        max-width: calc(96% - 120px);
    }

    .servicesBtns {
        margin-left: 120px;
    }

    #about-me {
        background-size: auto 85%;
        background-color: rgba(0, 0, 0, 0.3);
        background-blend-mode: darken;
    }

    .servicesPage p:not(.reviews p) {
        margin-left: 120px;
        margin-top: 25px;
        width: 900px;
        max-width: calc(92% - 240px);
    }
}

@media only screen and (max-width: 990px) {
    .servicesNavigation .smallNavItem {
        display: block;
        margin-right: 20px;
    }
}


@media only screen and (max-width: 768px), only screen and (max-height: 768px) {
    .hideOnMobile {
        display: none;
    }
    
    .showOnMobile {
        display: block;
    }
    
    .hamburger-btn {
        display: flex;
    }

    .mainHeading {
        font-size: 200%;
        margin-top: 30px;
    }

    #my-apps h2 {
        margin-left: 0;
        font-size: 170%;
    }

    .servicesPage h2 {
        margin-left: 0;
        font-size: 200%;
        margin-top: -10px;
    }

    #about-me h2 {
        margin-left: 0;
        font-size: 200%;
    }

    #about-me-inner {
        width: 90%;
        margin-left: auto;
        text-align: center;
        margin-top: 40px;
    }

    h2 {
        font-family: "Lexend", sans-serif;
        font-weight: 900;
        font-size: 200%;
        color: #ededed;
        text-align: center;
    }

    h2 img {
        height: 35px;
        vertical-align: sub;
    }

    #logo {
        position: absolute;
        top: 20px;
        left: 20px;
        /* right: 0; */
        /* margin: 0 auto; */
    }

    #socialPanel {
        display: none;
    }

    #preMainHeading:before {
        margin-left: -60%;
    }
    
    #preMainHeading:after {
        width: 90px;
    }

    .page {
        /* overflow-y: auto; */
    }
    
    .servicesNavigation.sticky {
        right: 2%;
        width: 96%;
        padding: 10px 0;
    }

    .stickyLogo {
        left: 10px;
    }

    /* .stickyLogo img {
        width: 80px;
    } */

    .servicesPage h2 img {
        height: 23px;
    }

    #about-me-inner p {
        text-shadow: 0 0 5px black;
    }

    #contact span {
        font-size: 120%;
        margin-top: 50px;
    }

    #contactInfo {
        width: 96%;
    }

    .socialIconLarge {
        height: 25px !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        display: inline-block;
        margin-top: -5px;
    }


    .reviewsHeading {
        margin-left: 50px;
    }

    .reviews {
        margin-left: 50px;
        max-width: calc(96% - 50px);
    }

    .stars {
        margin-left: 0;
    }

    .quoteAuthor {
        margin-left: 0;
    }

    /* Mobile slider adjustments */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-nav {
        margin-top: 20px;
        gap: 12px;
    }

    /* ///////////////////////////// */

    .app {
        flex: 0 0 300px;
        width: 300px;
        height: 350px;
    }

    .app-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .app-slider-dot {
        width: 10px;
        height: 10px;
    }

    /* Mobile app content adjustments */
    .app .appContent {
        padding: 20px;
    }

    .app p {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.4;
    }

    .app .btn {
        width: 200px;
        height: 45px;
        line-height: 45px;
        font-size: 16px;
        bottom: 20px;
    }

    .app img {
        max-width: 90%;
        height: auto;
    }

    .sectionShape {
        left: -220px;
        width: 10px;
        height: 100%;
    }

    .servicesPage h3 {
        margin-left: 0;
        text-align: center;
        font-size: 130%;
        padding-top: 165px;
    }

    /* .servicesPage h2 {
        margin-left: 40px;
        font-size: 160%;
    } */

    .servicesPage p {
        /* margin-left: 50px; */
        max-width: calc(96% - 50px);
    }

    .servicesBtns {
        margin: 40px auto 0 auto;
        /* display: block; */
        width: calc(100% - 120px);
        flex-wrap: wrap;
        justify-content: center;
    }

    #about-me {
        background-size: auto 85%;
        background-color: rgba(0, 0, 0, 0.3);
        background-blend-mode: darken;
    }

    .servicesPage p:not(.reviews p) {
        margin-left: 60px;
        margin-top: 25px;
        width: 900px;
        max-width: calc(100% - 120px);
        text-align: center;
    }
    
    /* Disable sticky pages on small screens */
    .servicesPage {
        position: relative;
        top: auto !important;
        height: auto;
        margin: 120px 0; /* give spacing similar to other sections */
        z-index: auto;
    }

    /* Ensure hidden state never applies on small screens */
    .servicesPage.hidden {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

	/* Remove large offset before about-me on phones for natural flow */
	#about-me {
		margin-top: 0;
	}

	/* More info panels should cover full screen on phones */
	.moreAbout {
		position: fixed !important;
		top: 0 !important;
		left: -100%;
		width: 100% !important;
		height: 100vh !important;
		z-index: 1001 !important; /* Above header */
	}

	/* Hide header when more info is open */
	.scroll-lock header {
		transform: translateY(-100%) !important;
	}
}

@media only screen and (max-width: 650px), only screen and (max-height: 650px) {
    .servicesPage p:not(.reviews p) {
        font-size: 110%;
    }

    #mainNav {
        flex-direction: column;
        align-items: center;
    }

	.servicesNavigation,
	.servicesNavigation.sticky {
		padding: 10px 0;
		white-space: nowrap;
		text-align: center;
	}

	/* Hide logo to keep only colored squares */
	.servicesNavigation .stickyLogo,
	.servicesNavigation.sticky .stickyLogo { display: none; }

	/* Render service links as colored squares in one row */
	.servicesNavigation .smallNavItem,
	.servicesNavigation .smallNavItem:hover,
	.servicesNavigation.sticky .smallNavItem,
	.servicesNavigation.sticky .smallNavItem:hover {
		display: inline-block;
		width: 14px;
		height: 14px;
		margin: 0 8px;
		border-radius: 3px;
		background: transparent;
		/* Force-hide text while keeping link accessible */
		color: transparent !important;
		font-size: 0;
		line-height: 0;
		overflow: hidden;
		vertical-align: middle;
		transform: rotate(8deg);
		transition: transform 0.2s ease;
	}

	/* Map original text colors to square backgrounds */
	.servicesNavigation .smallNavItem.greenText,
	.servicesNavigation .smallNavItem.greenTextHover,
	.servicesNavigation.sticky .smallNavItem.greenText,
	.servicesNavigation.sticky .smallNavItem.greenTextHover { background-color: #18b4c2; }

	.servicesNavigation .smallNavItem.redText,
	.servicesNavigation .smallNavItem.redTextHover,
	.servicesNavigation.sticky .smallNavItem.redText,
	.servicesNavigation.sticky .smallNavItem.redTextHover { background-color: #FF6F69; }

	.servicesNavigation .smallNavItem.violetText,
	.servicesNavigation .smallNavItem.violetTextHover,
	.servicesNavigation.sticky .smallNavItem.violetText,
	.servicesNavigation.sticky .smallNavItem.violetTextHover { background-color: #D59CEA; }

	/* Emphasize the active page square */
	.servicesNavigation .smallNavItem.greenText,
	.servicesNavigation .smallNavItem.redText,
	.servicesNavigation .smallNavItem.violetText,
	.servicesNavigation.sticky .smallNavItem.greenText,
	.servicesNavigation.sticky .smallNavItem.redText,
	.servicesNavigation.sticky .smallNavItem.violetText {
		width: 18px;
		height: 18px;
		transform: rotate(8deg) scale(1.3);
	}

	/* Hide items until nav becomes sticky */
	.servicesNavigation:not(.sticky) .smallNavItem { display: none; }

    #about-me {
        background-size: auto 30%;
        background-color: rgba(0, 0, 0, 0.3);
        background-blend-mode: darken;
        background-position-y: 110px;
    }
}



@keyframes greenShadow {
    from {box-shadow: none;}
    to {box-shadow: 0 0 10px #0E9AA7;}
}

@keyframes redShadow {
    from {box-shadow: none;}
    to {box-shadow: 0 0 10px #CE4641;}
}

@keyframes shine {
    to {
      background-position: 200% center;
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


