 /* =============================================
       CSS VARIABLES & THEME
    ============================================= */
 :root {
     --cyan-vivid: #1DD9F0;
     --cyan-mid: #00B4CC;
     --cyan-dark: #0090A8;

     --bg-primary: #F4FBFE;
     --bg-secondary: #E8F6FC;
     --bg-card: #FFFFFF;
     --bg-nav: rgba(244, 251, 254, 0.93);

     --text-main: #0D1B2A;
     --text-muted: #4A6478;

     --border-color: #BDE8F5;
     --shadow-sm: 0 2px 12px rgba(0, 180, 204, 0.10);
     --shadow-md: 0 8px 32px rgba(0, 180, 204, 0.18);
     --shadow-lg: 0 20px 60px rgba(0, 180, 204, 0.22);

     --nav-height: 68px;
     --radius-card: 18px;
     --radius-btn: 50px;

     --font-sans: 'Plus Jakarta Sans', sans-serif;
 }

 [data-theme="dark"] {
     --bg-primary: #060F18;
     --bg-secondary: #0D1B2A;
     --bg-card: #0F2236;
     --bg-nav: rgba(6, 15, 24, 0.94);

     --text-main: #E8F6FC;
     --text-muted: #7BB8CF;

     --border-color: #1A3A52;
     --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.40);
     --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.50);
     --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
 }

 /* =============================================
       BASE
    ============================================= */
 *,
 *::before,
 *::after {
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: var(--font-sans);
     background-color: var(--bg-primary);
     color: var(--text-main);
     line-height: 1.7;
     transition: background-color 0.35s ease, color 0.35s ease;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: var(--font-sans);
     font-weight: 700;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 img {
     max-width: 100%;
 }

 section {
     padding: 96px 0;
 }

 /* =============================================
       SCROLLBAR
    ============================================= */
 ::-webkit-scrollbar {
     width: 6px;
 }

 ::-webkit-scrollbar-track {
     background: var(--bg-secondary);
 }

 ::-webkit-scrollbar-thumb {
     background: var(--cyan-mid);
     border-radius: 10px;
 }

 /* =============================================
       NAVBAR
    ============================================= */
 #mainNav {
     background: var(--bg-nav);
     backdrop-filter: blur(18px);
     -webkit-backdrop-filter: blur(18px);
     border-bottom: 1px solid var(--border-color);
     height: var(--nav-height);
     transition: background 0.35s ease, border-color 0.35s ease;
     position: sticky;
     top: 0;
     z-index: 1000;
 }

 .navbar-brand {
     font-family: var(--font-sans);
     font-weight: 800;
     font-size: 1.3rem;
     color: var(--cyan-mid) !important;
     letter-spacing: -0.3px;
 }

 .navbar-brand span {
     color: var(--text-main);
 }

 .nav-link {
     font-family: var(--font-sans);
     font-weight: 600;
     font-size: 0.875rem;
     color: var(--text-main) !important;
     letter-spacing: 0.2px;
     padding: 6px 14px !important;
     border-radius: var(--radius-btn);
     transition: color 0.25s, background 0.25s;
 }

 .nav-link:hover,
 .nav-link.active {
     color: var(--cyan-mid) !important;
     background: rgba(29, 217, 240, 0.10);
 }

 /* Navbar mobile: transparan, tidak ada background */
 #navMenu {
     transition: background 0.35s ease;
 }

 @media (max-width: 991.98px) {
     #navMenu {
         background: transparent !important;
         box-shadow: none !important;
         border: none !important;
         padding: 10px 0 6px;
     }
 }

 /* Toggle Theme Button */
 #themeToggle {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     border: 1.5px solid var(--border-color);
     background: var(--bg-secondary);
     color: var(--cyan-mid);
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1rem;
     transition: background 0.25s, border-color 0.25s, transform 0.2s, color 0.25s;
     flex-shrink: 0;
 }

 #themeToggle:hover {
     background: var(--cyan-mid);
     color: #fff;
     transform: rotate(20deg);
 }

 .navbar-toggler {
     border: 1.5px solid var(--border-color) !important;
     background: transparent !important;
     padding: 5px 8px;
 }

 .toggler-bar {
     display: block;
     width: 20px;
     height: 2px;
     background: var(--text-main);
     border-radius: 2px;
     margin: 3px 0;
     transition: background 0.35s ease;
 }

 /* =============================================
       HERO SECTION
    ============================================= */
 #home {
     min-height: calc(100vh - var(--nav-height));
     display: flex;
     align-items: center;
     position: relative;
     overflow: hidden;
     padding: 60px 0;
 }

 .hero-bg-blob {
     position: absolute;
     border-radius: 50%;
     filter: blur(80px);
     pointer-events: none;
     z-index: 0;
 }

 .blob-1 {
     width: 600px;
     height: 600px;
     background: radial-gradient(circle, rgba(29, 217, 240, 0.16) 0%, transparent 70%);
     top: -100px;
     right: -150px;
 }

 .blob-2 {
     width: 400px;
     height: 400px;
     background: radial-gradient(circle, rgba(0, 180, 204, 0.12) 0%, transparent 70%);
     bottom: -80px;
     left: -100px;
 }

 .hero-content {
     position: relative;
     z-index: 1;
 }

 .hero-role-tag {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(29, 217, 240, 0.10);
     border: 1px solid rgba(29, 217, 240, 0.28);
     color: var(--cyan-mid);
     font-family: var(--font-sans);
     font-size: 0.78rem;
     font-weight: 600;
     letter-spacing: 0.7px;
     text-transform: uppercase;
     padding: 6px 16px;
     border-radius: var(--radius-btn);
     margin-bottom: 22px;
 }

 .hero-title {
     font-size: clamp(2.2rem, 4.5vw, 3.6rem);
     font-weight: 800;
     line-height: 1.18;
     letter-spacing: -1px;
     margin-bottom: 18px;
 }

 .hero-title .highlight {
     background: linear-gradient(135deg, var(--cyan-vivid), var(--cyan-dark));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .hero-desc {
     font-size: 1rem;
     font-weight: 400;
     color: var(--text-muted);
     max-width: 460px;
     margin-bottom: 36px;
     line-height: 1.75;
 }

 .btn-primary-custom {
     background: linear-gradient(135deg, var(--cyan-vivid), var(--cyan-mid));
     color: #fff;
     font-family: var(--font-sans);
     font-weight: 700;
     font-size: 0.875rem;
     letter-spacing: 0.2px;
     padding: 13px 30px;
     border-radius: var(--radius-btn);
     border: none;
     cursor: pointer;
     box-shadow: 0 6px 24px rgba(0, 180, 204, 0.35);
     transition: transform 0.2s, box-shadow 0.2s;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .btn-primary-custom:hover {
     transform: translateY(-3px);
     box-shadow: 0 12px 32px rgba(0, 180, 204, 0.45);
     color: #fff;
 }

 .btn-outline-custom {
     background: transparent;
     color: var(--text-main);
     font-family: var(--font-sans);
     font-weight: 700;
     font-size: 0.875rem;
     padding: 13px 30px;
     border-radius: var(--radius-btn);
     border: 1.5px solid var(--border-color);
     cursor: pointer;
     transition: border-color 0.2s, color 0.2s, transform 0.2s;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .btn-outline-custom:hover {
     border-color: var(--cyan-mid);
     color: var(--cyan-mid);
     transform: translateY(-3px);
 }

 .social-links {
     display: flex;
     gap: 12px;
     margin-top: 32px;
 }

 .social-link {
     width: 42px;
     height: 42px;
     border-radius: 50%;
     border: 1.5px solid var(--border-color);
     background: var(--bg-secondary);
     color: var(--text-muted);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.95rem;
     transition: all 0.25s;
 }

 .social-link:hover {
     background: var(--cyan-mid);
     border-color: var(--cyan-mid);
     color: #fff;
     transform: translateY(-3px);
 }

 /* ── Foto profil: TANPA ring berputar ── */
 .hero-photo-wrap {
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .hero-photo-glow {
     position: absolute;
     width: 80%;
     height: 80%;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(29, 217, 240, 0.26) 0%, transparent 70%);
     filter: blur(32px);
 }

 .hero-photo-img {
     width: 340px;
     height: 340px;
     border-radius: 50%;
     object-fit: cover;
     object-position: top center;
     position: relative;
     z-index: 1;
     border: 4px solid var(--cyan-mid);
     box-shadow: var(--shadow-lg);
 }

 /* =============================================
       SECTION HEADERS
    ============================================= */
 .section-header {
     text-align: center;
     margin-bottom: 56px;
 }

 .section-tag {
     display: inline-block;
     background: rgba(29, 217, 240, 0.10);
     border: 1px solid rgba(29, 217, 240, 0.28);
     color: var(--cyan-mid);
     font-family: var(--font-sans);
     font-size: 0.72rem;
     font-weight: 700;
     letter-spacing: 1.8px;
     text-transform: uppercase;
     padding: 5px 18px;
     border-radius: var(--radius-btn);
     margin-bottom: 14px;
 }

 .section-title {
     font-size: clamp(1.75rem, 3vw, 2.6rem);
     font-weight: 800;
     letter-spacing: -0.5px;
     margin-bottom: 12px;
 }

 .section-desc {
     font-size: 0.95rem;
     color: var(--text-muted);
     max-width: 500px;
     margin: 0 auto;
     font-weight: 400;
 }

 /* =============================================
       SKILLS STRIP
    ============================================= */
 .skills-strip {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border-color);
     border-bottom: 1px solid var(--border-color);
     padding: 26px 0;
     transition: background 0.35s ease, border-color 0.35s ease;
 }

 .skill-pill {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     background: var(--bg-card);
     border: 1px solid var(--border-color);
     color: var(--text-main);
     font-family: var(--font-sans);
     font-size: 0.8rem;
     font-weight: 600;
     padding: 7px 16px;
     border-radius: var(--radius-btn);
     margin: 4px;
     white-space: nowrap;
     transition: border-color 0.2s, color 0.2s, background 0.35s ease;
 }

 .skill-pill i {
     color: var(--cyan-mid);
 }

 .skill-pill:hover {
     border-color: var(--cyan-mid);
     color: var(--cyan-mid);
 }

 /* =============================================
       PROJECT SECTION
    ============================================= */
 #project {
     background: var(--bg-secondary);
     transition: background 0.35s ease;
 }

 .project-card {
     background: var(--bg-card);
     border: 1px solid var(--border-color);
     border-radius: var(--radius-card);
     overflow: hidden;
     box-shadow: var(--shadow-sm);
     transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.35s ease;
     height: 100%;
     display: flex;
     flex-direction: column;
 }

 .project-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-md);
     border-color: var(--cyan-mid);
 }

 .card-carousel {
     position: relative;
     overflow: hidden;
     aspect-ratio: 16 / 9;
     background: var(--bg-secondary);
 }

 .card-carousel .carousel-inner {
     height: 100%;
 }

 .card-carousel .carousel-item {
     height: 100%;
 }

 .card-carousel .carousel-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: top;
 }

 .card-carousel .carousel-item .placeholder-img {
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     background: linear-gradient(135deg, var(--bg-secondary), var(--border-color));
     color: var(--text-muted);
     transition: background 0.35s ease;
 }

 .card-carousel .carousel-item .placeholder-img i {
     font-size: 2.2rem;
     color: var(--cyan-mid);
     margin-bottom: 10px;
 }

 .card-carousel .carousel-item .placeholder-img span {
     font-size: 0.78rem;
     font-family: var(--font-sans);
     font-weight: 600;
     letter-spacing: 0.4px;
     color: var(--text-muted);
 }

 .card-carousel .carousel-indicators button {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     border: none;
     background: rgba(255, 255, 255, 0.5);
     transition: background 0.2s, width 0.2s;
 }

 .card-carousel .carousel-indicators button.active {
     background: var(--cyan-vivid);
     width: 18px;
     border-radius: 4px;
 }

 .project-card-body {
     padding: 22px 24px 26px;
     flex: 1;
     display: flex;
     flex-direction: column;
 }

 .project-name {
     font-family: var(--font-sans);
     font-size: 1.05rem;
     font-weight: 700;
     margin-bottom: 9px;
     color: var(--text-main);
     transition: color 0.35s ease;
 }

 .project-desc {
     font-size: 0.865rem;
     color: var(--text-muted);
     line-height: 1.72;
     flex: 1;
     font-weight: 400;
     transition: color 0.35s ease;
 }

 .project-link-btn {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     margin-top: 18px;
     align-self: flex-start;
     background: rgba(29, 217, 240, 0.08);
     border: 1.5px solid rgba(29, 217, 240, 0.28);
     color: var(--cyan-mid);
     font-family: var(--font-sans);
     font-size: 0.8rem;
     font-weight: 700;
     padding: 8px 18px;
     border-radius: var(--radius-btn);
     letter-spacing: 0.2px;
     transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
 }

 .project-link-btn:hover {
     background: var(--cyan-mid);
     border-color: var(--cyan-mid);
     color: #fff;
     transform: translateY(-2px);
 }

 /* =============================================
       CONTACT SECTION
    ============================================= */
 #kontak {
     background: var(--bg-primary);
     transition: background 0.35s ease;
 }

 .contact-wrap {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 36px;
     align-items: start;
 }

 .contact-info-card,
 .contact-form-card {
     background: var(--bg-card);
     border: 1px solid var(--border-color);
     border-radius: var(--radius-card);
     padding: 34px;
     box-shadow: var(--shadow-sm);
     transition: background 0.35s ease, border-color 0.35s ease;
 }

 .contact-title {
     font-size: 1.4rem;
     font-weight: 800;
     margin-bottom: 8px;
     color: var(--text-main);
     transition: color 0.35s ease;
 }

 .contact-subtitle {
     font-size: 0.875rem;
     color: var(--text-muted);
     margin-bottom: 28px;
     font-weight: 400;
     transition: color 0.35s ease;
 }

 .contact-item {
     display: flex;
     align-items: flex-start;
     gap: 15px;
     margin-bottom: 20px;
 }

 .contact-icon {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     background: rgba(29, 217, 240, 0.10);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--cyan-mid);
     font-size: 1.05rem;
     flex-shrink: 0;
 }

 .contact-item-label {
     font-family: var(--font-sans);
     font-size: 0.72rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: var(--text-muted);
     margin-bottom: 3px;
     transition: color 0.35s ease;
 }

 .contact-item-value {
     font-size: 0.875rem;
     color: var(--text-main);
     font-weight: 500;
     transition: color 0.35s ease;
 }

 .form-label-custom {
     font-family: var(--font-sans);
     font-size: 0.75rem;
     font-weight: 700;
     letter-spacing: 0.8px;
     text-transform: uppercase;
     color: var(--text-muted);
     margin-bottom: 7px;
     display: block;
     transition: color 0.35s ease;
 }

 .form-control-custom {
     width: 100%;
     background: var(--bg-secondary);
     border: 1.5px solid var(--border-color);
     border-radius: 12px;
     padding: 12px 16px;
     font-family: var(--font-sans);
     font-size: 0.875rem;
     color: var(--text-main);
     transition: border-color 0.2s, box-shadow 0.2s, background 0.35s ease, color 0.35s ease;
     outline: none;
     resize: none;
 }

 .form-control-custom::placeholder {
     color: var(--text-muted);
 }

 .form-control-custom:focus {
     border-color: var(--cyan-mid);
     box-shadow: 0 0 0 3px rgba(29, 217, 240, 0.14);
 }

 .form-group-custom {
     margin-bottom: 16px;
 }

 .btn-submit {
     width: 100%;
     background: linear-gradient(135deg, var(--cyan-vivid), var(--cyan-mid));
     color: #fff;
     font-family: var(--font-sans);
     font-weight: 700;
     font-size: 0.9rem;
     padding: 14px;
     border-radius: var(--radius-btn);
     border: none;
     cursor: pointer;
     box-shadow: 0 6px 24px rgba(0, 180, 204, 0.35);
     transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
 }

 .btn-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 12px 32px rgba(0, 180, 204, 0.45);
 }

 /* =============================================
       FOOTER
    ============================================= */
 footer {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border-color);
     padding: 34px 0;
     transition: background 0.35s ease, border-color 0.35s ease;
 }

 .footer-brand {
     font-family: var(--font-sans);
     font-size: 1.15rem;
     font-weight: 800;
     color: var(--cyan-mid);
 }

 .footer-links {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
 }

 .footer-link {
     font-family: var(--font-sans);
     font-size: 0.8rem;
     font-weight: 600;
     color: var(--text-muted);
     transition: color 0.2s;
 }

 .footer-link:hover {
     color: var(--cyan-mid);
 }

 .footer-copy {
     font-size: 0.8rem;
     color: var(--text-muted);
     transition: color 0.35s ease;
 }

 /* =============================================
       DIVIDER
    ============================================= */
 .section-divider {
     height: 1px;
     background: linear-gradient(to right, transparent, var(--border-color), transparent);
 }

 /* =============================================
       ANIMATIONS
    ============================================= */
 @keyframes float-y {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-14px);
     }
 }

 .float-anim {
     animation: float-y 5.5s ease-in-out infinite;
 }

 @keyframes fade-up {
     from {
         opacity: 0;
         transform: translateY(28px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .fade-up {
     animation: fade-up 0.65s ease forwards;
 }

 .fade-up-2 {
     animation: fade-up 0.65s 0.12s ease both;
 }

 .fade-up-3 {
     animation: fade-up 0.65s 0.24s ease both;
 }

 .fade-up-4 {
     animation: fade-up 0.65s 0.36s ease both;
 }

 /* =============================================
       RESPONSIVE
    ============================================= */
 @media (max-width: 991.98px) {
     .hero-photo-img {
         width: 260px;
         height: 260px;
     }

     .hero-photo-wrap {
         margin-top: 40px;
     }

     .contact-wrap {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 767.98px) {
     section {
         padding: 70px 0;
     }

     .hero-title {
         font-size: 2rem;
     }

     .hero-photo-img {
         width: 220px;
         height: 220px;
     }
 }