/* ============================================================
   TABLE OF CONTENTS
   ============================================================
   01. GLOBAL STYLES & RESET
   02. CSS CUSTOM PROPERTIES (THEME)
   03. BACKGROUND & ANIMATED ORBS
   04. GLOBAL COMPONENTS
      04.1 Back To Top
      04.2 Buttons
      04.3 Modals & Loader
      04.4 Navigation Arrows
   05. HERO SECTION
   06. PROJECT SLIDER SECTION
   07. ABOUT SECTION
   08. SKILLS SECTION
   09. SERVICES SECTION
   10. END PAGE SECTION
   11. ANIMATIONS & KEYFRAMES
   ============================================================ */

/* ============================================================
   01. GLOBAL STYLES & RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    position: relative;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
}

p {
    font-weight: 400;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

/* ============================================================
   02. CSS CUSTOM PROPERTIES (THEME)
   ============================================================ */
/* Dark Mode Default */
:root {
    --bg-color: #111827;
    --text-main: #f9fafb;
    --text-sub: #cbd5e1;
    --accent-color: #3498db;
    --primary-green: #34d399;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(0, 0, 0, 0.8);
    --overlay-bg: rgba(17, 24, 39, 0.5);
    --orb-color:#34d39966;
    --orb-opacity: 0.8;
    --icon-silver: drop-shadow(0 0 0 #f9fafb);
    --icon-brightness: 1;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --button-border: #f9fafb;
    --button-text: #0f172a;
    --hint-color: #3498db;
    --hint-background: rgba(15, 23, 42, 0.9);
    --pulsehint-border-1: rgba(56, 189, 248, 1);
    --pulsehint-border-2: rgba(56, 189, 248, 0.5);
    --pulsehint-boxshadow: rgba(56, 189, 248, 0.4);
    --floating-shadow: rgba(250, 250, 250, 1);
    --sub-bar-shadow: rgba(52, 211, 153, 0.8);
    --subskill-shadow: rgba(250, 250, 250, 0.5);
}

/* Light Mode */
[data-theme="dark"] {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-sub: #0f172a;
    --accent-color: #0ea5e9;
    --primary-green: #FF5733; 
    --card-bg: rgba(189, 195, 199, 0.5);
    --card-border: rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.8);
    --overlay-bg: rgba(255, 255, 255, 0.5);
    --orb-color:#FF573366;
    --orb-opacity: 0.8;
    --icon-silver: drop-shadow(0 0 0 #0f172a);
    --icon-brightness: 1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --button-border: #FF5733;
    --button-text: #0f172a;
    --hint-color: #0f172a;
    --hint-background: rgba(189, 195, 199, 0.5);
    --pulsehint-border-1: rgba(255,87,51,1);
    --pulsehint-border-2: rgba(255,87,51,0.5);
    --pulsehint-boxshadow: rgba(255,87,51,0.4);
    --floating-shadow: rgba(0, 0, 0, 0.2);
    --sub-bar-shadow: rgba(255, 87, 51, 0.8);
    --subskill-shadow: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   03. BACKGROUND & ANIMATED ORBS
   ============================================================ */
.background-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.orb {
    position: absolute;
    width: 600px;
    height: 600px;
    left: 50%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: var(--orb-opacity);
    animation: moveOrb 25s infinite alternate ease-in-out;
}

/* Orb Positions - No Duplication */
.orb:nth-child(1) { top: 2%; margin-left: -500px; background: radial-gradient(circle, var(--orb-color) transparent); }
.orb:nth-child(2) { top: 15%; margin-left: 200px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(3) { top: 30%; margin-left: -600px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(4) { top: 45%; margin-left: 100px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(5) { top: 60%; margin-left: -300px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(6) { top: 75%; margin-left: 400px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(7) { top: 85%; margin-left: -550px; background: radial-gradient(circle, var(--orb-color), transparent); }
.orb:nth-child(8) { 
    top: 92%; 
    margin-left: -100px; 
    background: radial-gradient(circle, #05966966, transparent); 
    width: 800px; 
    height: 800px; 
}
.orb:nth-child(9) { top: 98%; margin-left: 300px; background: radial-gradient(circle, #34d39944, transparent); }

/* ============================================================
   04. GLOBAL COMPONENTS
   ============================================================ */

/* 04.1 Back To Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top svg {
    width: 35px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.5));
    transition: transform 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover img {
    transform: scale(1.1);
}

.icon-backtotop {
    fill: currentColor;
    color: var(--primary-green);
}

/* 04.2 Buttons */
.box-button {
    background: transparent;
    text-decoration: none;
    border: 2px solid var(--primary-green);
    color: var(--text-main);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.box-button:hover, 
.box-button.active {
    background-color: var(--primary-green);
    color: #1b2230;
    box-shadow: 0 0 15px var(--primary-green);
}

.box-button.disabled {
    cursor: not-allowed;
    position: relative;
    opacity: 0.8;
}

.box-button.disabled::before {
    content: "";
    position: absolute;
    bottom: 110%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.box-button.disabled::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    right: 0;
    background-color: #f9fafb;
    color: #111827;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0; 
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

.box-button.disabled:hover::before,
.box-button.disabled:hover::after {
    opacity: 1;
    visibility: visible;
}

.box-button.disabled:hover::after {
    transform: translateY(-5px);
}

.box-button.btn-white {
    position: absolute;
    bottom: 40px;
    right: 50px;
    border-color: var(--button-border);
    color: var(--text-main);
    background: transparent;
    text-decoration: none;
    z-index: 10;
}

.box-button.btn-white:hover,
.box-button.btn-white.active {
    background-color: var(--button-border);
    color: var(--button-text);
    border-color: var(--button-border);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* 04.3 Modals & Loader */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.modal-body-container {
    position: relative;
    width: auto;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 15px;
    overflow: hidden;
}

.modal-content-wrapper:hover .close-btn {
    opacity: 1;
    transform: translateY(0);
}

.modal-body-container:hover + .close-btn,
.modal-body-container:hover ~ .close-btn {
    opacity: 0 !important;
    transform: translateY(-20px);
    pointer-events: none;
}

.modal-loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary-green);
    z-index: 10001;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(52, 211, 153, 0.1);
    border-top: 5px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* 04.4 Navigation Arrows */
.nav-arrow {
    width: 40px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10002;
    transition: transform 0.2s ease;
}

.nav-color {
    fill: currentColor;
    color: var(--text-main);
}

.nav-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left { left: 100px; }
.nav-arrow.right { right: 100px; }

/* ============================================================
   05. HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: transparent !important;
}

.hero-content {
    z-index: 2;
    width: 100%;
    color: var(--text-main);
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--text-main);
}

.hero-content p {
    color: var(--text-sub);
    padding-top: 20px;
    font-size: 1.5rem;
}

/* Time Slider */
.time-wrapper {
    display: inline-block;
    height: 1.5em;
    vertical-align: bottom;
    overflow: hidden;
    color: var(--primary-green);
}

.time-list {
    display: flex;
    flex-direction: column;
    animation: slideTime 10s infinite cubic-bezier(0.85, 0, 0.15, 1);
}

.time-item {
    text-align: left;
}

/* Marquee */
.marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 25px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1rem;
    color: var(--text-sub);
    letter-spacing: 4px;
    z-index: 10;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.separator {
    margin: 0 20px;
    display: inline-block;
    letter-spacing: normal; 
}

/* ============================================================
   06. PROJECT SLIDER SECTION
   ============================================================ */
.project-slider-container {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
}

.project-track {
    display: flex;
    gap: 30px;
    align-items: center;
    width: max-content;
    animation: scrollTrack 50s linear infinite;
    will-change: transform;
}

.project-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.4s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.project-item video,
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-item video {
    pointer-events: none;
}

.project-item:hover {
    transform: scale(1.05);
    background: rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 15px var(--sub-bar-shadow);
    z-index: 10;
}

.project-item:hover img,
.project-item:hover video {
    transform: scale(1);
}

.project-item.video { 
    width: 640px;
    height: 360px;
    position: relative; 
}

.project-item.video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0.5;
}

.project-item.image { 
    width: 270px;
    height: 360px;
}

.project-slider-container:hover .project-track {
    animation-play-state: paused;
}

.video-container {
    width: 854px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}

/* ============================================================
   07. ABOUT SECTION
   ============================================================ */
.about-section {
    background: transparent !important;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.info-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    flex: 1;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.info-box.active-box {
    border-color: var(--primary-green);
    box-shadow: 0 0 35px var(--sub-bar-shadow);
    background: rgba(255, 255, 255, 0.08);
}

.info-box h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.icon-wrapper {
    margin-bottom: 20px;
}

.glowing-icon {
    width: 80px;
    height: auto;
    filter: brightness(var(--icon-brightness) var(--icon-silver));
    transition: all 0.4s ease;
    opacity: 0.6;
}

.user-icon {
    fill: var(--text-main);
}

.active-box .glowing-icon {
    filter: drop-shadow(0 0 15px #f9fafb);
    opacity: 1;
}

/* Detail Container */
.detail-outer-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; 
    max-height: 0;
    transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1), 
                border 0.5s ease, 
                box-shadow 1s ease,
                margin 1s ease;
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 20px;
    border: 2px solid transparent; 
}

.detail-outer-container.is-open {
    max-height: 800px; 
    margin-bottom: 50px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 20px 2px var(--sub-bar-shadow);
}

.detail-content {
    display: none; 
    padding: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.detail-content.show {
    display: block;
    opacity: 1;
    animation: fadeInDetail 1s forwards;
}

.detail-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: center;
}

.detail-left {
    padding-left: 50px;
    display: flex;
    align-items: flex-end;
}

.detail-left img {
    width: 100%;
    display: block;
    height: auto;
}

.detail-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    padding: 50px;
    min-height: 400px;
}

.detail-right h2 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.detail-right p {
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 50px;
}

/* Specific Detail Overrides */
#detail-siapa .detail-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
}

#detail-siapa .detail-left {
    padding-left: 0;
    overflow: hidden;
    position: relative;
}

#detail-siapa .detail-left img {
    width: 80%;
    height: auto;
    object-fit: cover;
    transform: scale(1.5) translate(40px, 20px); 
    transform-origin: bottom;
    display: block;
}

#detail-project .detail-left img,
#detail-galeri .detail-left img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

/* ============================================================
   08. SKILLS SECTION
   ============================================================ */
.skills-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: transparent !important;
    position: relative;
    overflow: hidden;
}

.skills-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.skills-left { flex: 1.2; }

.skills-headline {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
    transition: margin 0.5s ease;
}

.skills-description {
    color: var(--text-sub);
    padding: 0 130px 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Skills Grid & Progress Bars */
.main-skills-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.main-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-main {
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.icon-main img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px var(--floating-shadow));
}

.icon-main:hover {
    transform: scale(1.1);
}

.progress-bar-container, 
.sub-bar-container {
    width: 35px;
    height: 200px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    position: relative;
    margin-top: 15px;
    overflow: visible;
}

.progress-bar-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 5px;
    transition: height 1s ease-out;
}

.green { background: var(--primary-green); box-shadow: 0 0 15px var(--sub-bar-shadow); }
.orange { background: #fbbf24; box-shadow: 0 0 15px rgba(251, 191, 36, 0.5); }

.percent-tooltip {
    position: absolute;
    top: 10px; 
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3); 
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.progress-bar-container:hover .percent-tooltip,
.sub-bar-container:hover .percent-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

.sub-skill-box.active .percent-tooltip {
    animation: autoShowHide 2.5s forwards;
}

/* Skills Hint */
.skills-hint {
    display: block;
    position: relative;
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    overflow: hidden;
    animation: slideUpSpace 2.5s ease forwards;
    animation-delay: 2.5s;
}

.skills-hint.out {
    animation: slideDownOut 2s ease forwards;
    animation-delay: 0s;
    pointer-events: none;
    overflow: visible;
}

.skills-hint:not(.out) {
    overflow: visible; 
}

.hint-text {
    position: relative;
    font-size: 0.65rem;
    color: var(--hint-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--hint-background);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.5);
    display: inline-block;
    animation: pulseHint 1s infinite;
}

.hint-text::before {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 11px solid var(--card-bg);
}

.hint-text::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 21px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid var(--pulsehint-border-1);
    z-index: 1;
}

/* Skills Right Panel */
.skills-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sub-skill-box {
    position: relative;
    margin-top: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 25px var(--subskill-shadow);
    border-radius: 30px;
    padding: 80px 100px 40px 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.sub-skill-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-main-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: 0;
}

.floating-main-icon img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 5px var(--floating-shadow));
}

.sub-content {
    font-size: 1rem;
    color: var(--text-main);
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    letter-spacing: 1.5px;
}

.sub-divider {
    width: 50%;
    height: 1px;
    background: #f9fafb;
    margin: 10px auto;
}

.sub-skills-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

.sub-skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.sub-icon-box {
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.sub-icon-box img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(249, 250, 251, 0.5)); 
}

.sub-bar-container {
    width: 30px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    position: relative;
    border: 1px solid rgba(249, 250, 251, 0.6);
    margin: 0 auto; 
}

.sub-bar-fill.orange {
    background: linear-gradient(to top, #f59e0b, #fbbf24);
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--delay) * 0.15s);
}

.sub-bar-fill.animating {
    animation: barPulse 0.5s infinite;
}

/* Tooltip Styles - Consolidated */
.sub-icon-box[data-tooltip], 
.icon-main[data-tooltip] { 
    position: relative;
}

.sub-icon-box[data-tooltip]::after,
.icon-main[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    pointer-events: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sub-icon-box[data-tooltip]::before,
.icon-main[data-tooltip]::before {
    content: "";
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: rgba(56, 189, 248, 0.5) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 99;
}

.sub-icon-box[data-tooltip]:hover::after,
.icon-main[data-tooltip]:hover::after,
.sub-icon-box[data-tooltip]:hover::before,
.icon-main[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   09. SERVICES SECTION
   ============================================================ */
.services-section {
    height: 100%;
    width: 100%;
    color: var(--text-main);
}

.section-headline {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 50px;
}

.services-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-col {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    box-shadow: 0 0 20px var(--primary-green);
    border: 5px solid var(--primary-green);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-col.service-right::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    top: -75%;
    left: -75%;
    background: conic-gradient(
        from 0deg,
        var(--primary-green) 0%,
        transparent 25%, 
        transparent 50%,
        transparent 75%, 
        var(--primary-green) 100%
    );
    animation: clock-sweep 2s linear infinite;
    filter: blur(5px);
    z-index: -2;
}

.service-col::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--bg-color);
    border-radius: 18px;
    z-index: -1;
}

.border-walk-wrapper {
    position: relative;
    padding: 30px; 
    background: transparent; 
    border-radius: 20px;
    height: 100%;
    z-index: 10;
}

.service-col.service-left .border-walk-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.service-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transform: scale(1.05);
}

.service-col.service-right .border-walk-wrapper {
    padding: 30px 40px; 
    width: 100%;
}

.service-content {
    text-align: left;
    width: 100%;
}

.service-content h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

.service-content p {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.service-points {
    list-style: none;
    margin-bottom: 5px;
}

.service-points li.checked {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.service-points li.checked::before {
    content: "✓"; 
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
}

.pricing-cta-area {
    position: absolute;
    bottom: 30px;
    right: 30px;  
    text-align: right; 
    z-index: 10;
}

.cta-button.services {
    display: inline-block;
    background-color: var(--primary-green);
    box-shadow: 0 0px 15px var(--subskill-shadow);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.cta-button.services:hover {
    background-color: #f9fafb;
    transform: scale(1.05);
}

.price-from {
    font-size: 0.75rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    display: block;
}

.animated-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-box.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-left { transition-delay: 0.2s; }
.service-right { transition-delay: 0.6s; }

/* ============================================================
   10. END PAGE SECTION
   ============================================================ */
.end-page-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: auto;
}

.end-card {
    width: 100%;
    max-width: 800px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 0 20px var(--sub-bar-shadow);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.end-card-content {
    padding: 60px 40px;
    position: relative;
    z-index: 10;
}

.end-text h2 {
    color: var(--text-main);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.end-text p {
    color: var(--text-main);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-icon {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon .custom-icon {
    object-fit: contain;
    color: var(--primary-green);
    fill: currentColor;
    transition: all 0.3s ease;
}

.yt {
    width: 50px;
    height: auto;
}

.insta {
    width: 38px;
    height: auto;
}

.social-icon:hover .custom-icon {
    transform: scale(1.05);
}

/* ============================================================
   11. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes moveOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 80px) scale(1.1); }
    100% { transform: translate(-30px, -50px) scale(0.9); }
}

@keyframes slideTime {
    0% { transform: translateY(0); }
    20% { transform: translateY(-20%); }
    40% { transform: translateY(-40%); }
    60% { transform: translateY(-60%); }
    80% { transform: translateY(-80%); }
    100% { transform: translateY(-80%); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInDetail {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes autoShowHide {
    0% { opacity: 0; visibility: visible; }
    20% { opacity: 1; visibility: visible; }
    80% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes slideUpSpace {
    0% { max-height: 0; margin-bottom: 0; opacity: 0; transform: translateY(10px); }
    100% { max-height: 100px; margin-bottom: 20px; opacity: 1; transform: translateY(0); }
}

@keyframes slideDownOut {
    0% { max-height: 100px; margin-bottom: 20px; opacity: 1; transform: translateY(0); }
    100% { max-height: 0; margin-bottom: 0; opacity: 0; transform: translateY(10); }
}

@keyframes pulseHint {
    0% { border-color: var(--pulsehint-border-2); box-shadow: 0 0 0 0 var(--pulsehint-boxshadow) }
    70% { border-color: var(--pulsehint-border-1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { border-color: var(--pulsehint-border-2); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes clock-sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes barPulse {
    0% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.5); }
    50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }
    100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.5); }
}