/* Reset */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /*background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;*/
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
nav {
    /*display: flex;
    justify-content: space-between;
    box-shadow: 0 8px 8px rgba(0,0,0,0.2)
    color: white;*/
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(12px);
    padding: 20px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.menu-navbar {
    /*margin-top: 10px;*/
    align-content: center;
    font-size: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: 0.3s ease;
}

.navbar a:hover {
    color: #51829d;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #51829d;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/*Logo*/
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 20px;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    padding: 6px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s ease;
}

.logo img:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(79,70,229,0.4);
}

.logo span {
    background: linear-gradient(180deg, #ffffff, #51829d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
    padding-top: 120px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 80px;
    background: url("asset/hero.webp") center/cover no-repeat;
    overflow: hidden;
    box-shadow: 0 80px 100px rgba(0,0,0,0.4);
}

.hero-tagline {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 540px;
}

.hero-tagline span {
    font-weight: 600;
}

.hero-availability {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 18px;
    letter-spacing: 0.5px;
}

.hero-devider {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    margin: 20px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #000, #51829d);
    opacity: 70%;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100,150,255,0.15), transparent 70%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    filter: blur(80px);
    z-index: 0;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/*Left Side*/
.hero-left {
    position: relative;
    z-index: 1;
    max-width: 600px;
    justify-items: center;
    margin-left: 100px;
    animation: float 6s ease-in-out infinite;
}

.hero-left h1 {
    font-size: 40px;
    font-weight: 700;
    /*margin-bottom: 20px;*/
}

.hero-left h1 span {
    background: white;
    /*background: linear-gradient(180deg, #06b6d4, #51829d);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.hero-logo {
    width: 90px;
    margin-bottom: 25px;
    border-radius: 20px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: 0.4s ease;
}

.hero-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(204,204,204,0.4);
}

.btn {
    margin-top: 25px;
    padding: 12px 28px;
    background: linear-gradient(180deg, #06b6d4, #4f46e5);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-hero-container {
    gap: 20px;
    display: flex;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,70,229,0.4);
}

.btn-outline:hover {
    background: #51829d;
    border: 1px solid #51829d;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}

/* Sections*/
section {
    padding: 110px 0 90px;
    text-align: center;
    align-content: center;
}

.section-tag {
    display: inline-block;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,1);
    margin-bottom: 10px;
}

.dark-section {
    position: relative;
    background: #1b2538;
    padding: 100px 8%;
    overflow: hidden;

    background-image: linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.projects, .contact {
    padding: 0;
    margin-bottom: 100px;
}

/*.projects h2, .contact h2 {
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(90deg, #ffffff, #51829d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}*/

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*padding: 80px 80px;*/
}

.projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(81,130,157,0.4) 0%, rgba(81,130,157,0.2) 30%, transparent 70%);
    pointer-events: none;
}

/*.projects::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(211,211,211,0.3) 0%, rgba(211,211,211,0.15) 30%, transparent 70%);
    filter: blur(120px);
    bottom: -150px;
    right: -150px;
    z-index: 0;
    pointer-events: none;
}

.projects > * {
    position: relative;
    z-index: 1;
}*/

.projects h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
}

.projects h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, #51829d, #ffffff);
    border-radius: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.projects-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    /*box-shadow: 0 20px 50px rgba(0,0,0,0.4);*/
}

.view-case{
  display:inline-block;
  padding:8px 18px;

  font-size:12px;
  color: white;
  opacity:0.85;

  position: relative;
  width: fit-content;
  cursor: pointer;

  transform: translateY(10px);
  transition:0.3s;
}

.view-case, .view-case:hover{
    text-decoration: none !important;
}

.view-case::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1px;
    background: white;
    transition: 0.3s ease;
}

.view-case:hover::after{
    width: 100%;
}

.projects-item:hover .view-case{
    opacity:1;
    color:white;
}

.projects-item:hover .view-case::after{
    width: 100%;
    opacity:1;
    background:white;
    color:#0b1d2a;
}

.projects-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.95);
}

.projects-item:hover {
    transform: translateY(-10px);
}

/*Overlay Default Tersembunyi*/
.projects-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.70) 35%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.25) 75%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projects-overlay h3 {
    color: white;
    font-size: 16px;
    /*font-weight: 600;*/
    transform: translateY(20px);
    transition: 0.4s ease;
}

.projects-item:hover img {
    filter: brightness(80%);
    transform: scale(1.08);
}

.projects-item:hover .projects-overlay {
    opacity: 1;
}

.projects-item:hover .projects-overlay h3 {
    transform: translateY(0);
}

.projects .projects-card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.projects-card {
    padding: 35px;
    border-radius: 12px;
    width: 280px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.08);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.08);*/
}

.projects-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(79,70,229,0.5);
    border: 1px solid #51829d;
}

.btn-projects {
    align-items: center;
    margin-top: 15px;
    padding: 8px 20px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.3s ease;
}

.btn-projects:hover {
    background: #51829d;
    border: 1px solid #51829d;
    color: white;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

.contact {
    margin-bottom: 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.contact h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, #51829d, #ffffff);
    border-radius: 10px;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-card {
    width: 220px;
    height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;

    border-radius: 20px;
    text-decoration: none;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 3px solid rgba(255,255,255,0.15);

    transition: 0.4s ease;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(130deg, rgba(0,140,255,0.8), rgba(255,255,255,0.8), rgba(0,140,255,0.8));
    background-size: 200% 200%;
    animation: borderMove 6s linear infinite;

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes borderMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.contact-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
    opacity: 0.4;
    pointer-events: none;
}

.contact-card img {
    width: 42px;
    margin-bottom: 14px;
    transition: 0.4s ease;
    filter: brightness(0.9);
}

.contact-card:hover img {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.contact-card p {
    color: #a3a3a3;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
}

.contact-card:hover p {
    font-weight: 100;
    transform: scale(1.15);
    filter: brightness(1.2);
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 25px 50px rgba(0,140,255,0.25);
}

.contact-tagline {
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin-top: 16px;
    opacity: 0.9;
}

.contact-sub {
    font-size: 14px;
    color: white;
    opacity: 0.55;
    margin-top: 10px;
    margin-bottom: 0;
}

/*Halaman Project*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: auto;
}


/*Halaman About*/

.about {
    position: relative;
    overflow: hidden;
}

.global-bg {
    position: absolute;
    inset: 0;
    min-height: 100%;
    width: 100%;

    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(81,130,157,0.15),
            transparent 60%
        ),

        linear-gradient(rgba(255,255,255,0.04) 0.5px, transparent 0.5px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 0.5px, transparent 0.5px);

    background-size:
        100% 100%,
        40px 40px,
        40px 40px;
}

.navbar-about {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(14px);
    padding: 20px 36px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.navbar-about a {
    color: #0f172a;
    font-weight: 500;

    text-decoration: none;
    /*color: #e2e8f0;
    font-weight: 500;*/
    transition: 0.3s ease;
}

.navbar-about a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: white;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar-about a:hover {
    color: white;
}

.about > * {
    position: relative;
    z-index: 2;
}

.about-section {
    padding: 65px 0;
}

.about::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15,23,42,0) 30%, rgba(15,23,42,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.section-spacing {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.left {
    text-align: left;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    color: #f8fafc;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(125,211,252,0.15);
    margin-bottom: 8px;
}

.section-subtitle {
    margin-top: 20px;
    font-size: 16px;
    color: white;
    opacity: 0.7;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, #7dd3fc, #1e3a8a);
}

.section-devider {
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(81,130,157,0.25), transparent 70%);
    filter: blur(60px);
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

/*.timeline {
    position: relative;
    margin-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(125,211,252,0.3);
}

.timeline-dot {
    position: absolute;
    left: -26px;
    width: 12px;
    height: 12px;
    background: #7dd3fc;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(125,211,252,0.7);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 60px;
}*/

.timeline-horizontal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 60px 40px;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    margin-bottom: 0;
    justify-content: center;
}

.timeline-horizontal::-webkit-scrollbar {
    display: none;
}

.timeline-horizontal::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(90deg, transparent, rgba(81,130,157,0.7), transparent);
    transform: translateY(-50%);
}

.timeline-item {
    position: relative;
    min-width: 240px;
    height: 680px;
    display: flex;
    justify-content: center;
}

/*.timeline-item.top {
    transform: translateY(-140px);
}*/

.timeline-item.top .timeline-card {
    position: absolute;
    bottom: 50%;
    margin-bottom: 40px;
}

.timeline-item.bottom .timeline-card {
    position: absolute;
    top: 50%;
    margin-top: 40px;
}

.timeline-horizontal.bottom {
    transform: translateY(140px);
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    /*left: 50%;*/

    width: 14px;
    height: 14px;

    background: #51829d;
    border-radius: 50%;
    transform: translateY(-50%);

    box-shadow: 0 0 20px rgba(81,130,157,0.8);
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 14px;
    height: 14px;
    border: 50%;

    background: #7dd3fc;
    box-shadow: 0 0 15px rgba(125,211,252,0.7);
}

.timeline-item:hover {
    transform: translateY(-6px);
}

.timeline-item:first-child .timeline-card {
    border: 1px solid #51829d;
    box-shadow: 0 20px 50px rgba(81,130,157,0.35);
}

.timeline-card {
    width: 280px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    transition: 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-8px);
    border-color: #51829d;
    box-shadow: 0 20px 40px rgba(81,130,157,0.25);
}

.company-logo {
    width: 90px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    /*object-fit: contain;
    margin-bottom: 15px;*/
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    transform: scale(1.1);
}

img[src*="Adira"], img[src*="MonsterAR"] {
    transform: scale(1.25);
}

.timeline-year {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin: 6px 0 10px;
}

.company {
    font-weight: 500;
}

.timeline-card small {
    opacity: 0.6;
}

.timeline-card img {
    max-width: 56px;
}

.experience-section {
    padding-top: 20px;
    padding-bottom: 0px;
    margin-top: -40px;
    overflow: hidden;
}

section:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.glass-card:hover {
    transform: translateY(-4px);
    border: 1px solid rgba(125,211,252,0.4);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.about {
    background: radial-gradient(circle at 20% 30%, rgba(81,130,157,0.15), transparent 40%, #0f172a);
    align-content: center;
}

.about-page {
    padding-top: 80px;
    background:
        radial-gradient(circle at 20% 30%, rgba(81,130,157,0.15), transparent 40%),
        #0f172a;
    /*background: linear-gradient(130deg, #0f172a, #1b2538);*/
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(130deg, #0f172a, #1b2538);
    background-size: 40px 40px, 40px 40px, auto;
    /*background-size: 40px 40px;*/
}

.page-header {
    padding-top: 180px;
    padding-bottom: 100px;
}

.about section {
    text-align: left;
}

.about-page section {
    padding: 10;
    text-align: left;
}

.about-page .glass-card {
    padding: 50px;
}

.about h2 {
    margin-bottom: 20px;
}

.about-summary {
    padding: 80px 0;
}

.about-summary .glass-card {
    max-width: 800px;
}

.summary-card {
    position: relative;
    border-radius: 28px;
    padding: 70px;
    overflow: hidden;

    display: flex;
    align-items: center;

    max-width: 1600px;
    margin: 0 auto;
    min-height: 420px;

    background: #0f172a;
    border: 3px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(20px);
}

.summary-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("asset/summary-new.webp");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    filter: blur(3px);
    transform: scale(1.1);

    z-index: 0;
}

.summary-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.85) 40%, rgba(15,23,42,0.4) 70%, rgba(15,23,42,0.2) 100%);

    z-index: 1;
}

.summary-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    max-width: 800px;
    align-items: flex-start;
}

.summary-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.summary-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 10px;
}

.summary-content p2 {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 40px;
}

.certification-section {
    margin-top: -50px;
    margin-bottom: 24px;
    padding-top: 40px;
}

.certification-grid {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .certification-grid {
        grid-column: 1fr;
    }
}

@media (max-width: 480px) {
    nav {
        width: calc(100vw - 40px);
        padding: 12px 20px;
        top: 15px;
    }
    nav ul {
        gap: 16px;
        justify-content: center;
    }
    nav a {
        font-size: 11px;
    }
   .navbar-about {
        width: calc(100vw - 40px);
        padding: 12px 20px;
        top: 15px;
    }
    .navbar-about ul {
        gap: 16px;
        justify-content: center;
        flex-wrap: nowrap;
    }
    .navbar-about ul li a {
        font-size: 11px;
    }
    .hero {
        padding: 0 20px;
        text-align: center;
        justify-content: center;
    }
    .hero-left {
        margin-left: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .btn-hero-container {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .hero-devider {
        margin: 20px auto;
    }
    .contact-wrapper {
        gap: 16px;
    }
    .contact-card {
        width: 140px;
        height: 120px;
    }
    .certification-grid {
        grid-template-columns: 1fr; /* stack to single column */
        gap: 16px;
    }
    
    .cert-card {
        padding: 30px 20px; /* reduce padding on mobile */
    }
}

@media (max-width: 768px) {
    nav, .navbar-about {
        width: calc(100vw - 40px);
        padding: 14px 20px;
    }
    nav ul, .navbar-about ul {
        gap: 16px;
        justify-content: center;
    }
    nav a, .navbar-about a {
        font-size: 13px;
    }
    .hero {
        padding-top: 140px; /* pushes content below the navbar */
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .hero-left {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .contact-card {
        width: 180px;
    }
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .featured-content h2 {
        font-size: 26px;
    }
    .timeline-horizontal {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
        overflow-x: hidden;
    }
    .timeline-horizontal::before {
        display: none;
    }
    .timeline-item {
        height: auto;
        min-width: unset;
        width: 100%;
    }
    .timeline-item.top .timeline-card,
    .timeline-item.bottom .timeline-card {
        position: relative;
        top: auto;
        bottom: auto;
        margin: 0;
        width: 100%;
    }
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }
    .timeline-card {
        width: 100%;
    }
}

.cert-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.2));
    
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;

    padding: 50px 30px;
    text-align: center;

    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(125,211,252,0.4);
    box-shadow: 0 0 30px rgba(125,211,252,0.15);
}

.cert-card img {
    width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0.9);
}

.cert-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f1f5f9;
}

.cert-card p {
    font-size: 14px;
    color: #94a3b8;
}

.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30%;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #7dd3fc, transparent);
    border-radius: 20px;
}

.tools-section {
    padding: 20px 0 100px;
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #162033 100%);
    overflow: hidden;
}

.tools-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(81,130,157,0.15), transparent 70%);
    pointer-events: none;
}

.tools-grid-app {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .tools-grid-app {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tool-card {
    position: relative;
    aspect-ratio: 1/1;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.tool-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transition: 0.4s ease;
}

.tool-overlay {
    position: absolute;
    inset: 0;
    background: rgba(81,130,157,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: #ffffff;
    font-size: 16px;
    font-weight: 750;
    
    opacity: 0;
    transition: 0.3s ease;
}

.tool-card:hover .tool-overlay {
    opacity: 1;
}

.tool-card:hover img {
    transform: scale(1.05);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.skill-item {
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 14px;
    color: #cbd5e1;
    transition: 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(81,130,157,0.5);
    background: rgba(81,130,157,0.08);
    transform: translateY(-3px);
}

.skill-item.soft {
    background: rgba(81,130,157,0.05);
}

.tools-parent {
    margin-top: 60px;
}

.tools-parent-title {
    font-size: 20px;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.about-footer {
    width: 100%;
    background: #0f172a;
    padding: 20px 0;
    text-align: center;
}

.about-footer p {
    color: white;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Footer */
footer {
    padding: 60px 8% 30px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(15,23,42,0.8), rgba(10,15,25,1));
    backdrop-filter: blur(10px);
    /*color: white;
    text-align: center;
    padding: 20px;*/
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:visited {
    color: #cbd5e1;
}

.footer a:hover {
    color: white;
}

.footer-logo {
    width: 60px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-role {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 22px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-4px);
}

.footer-devider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px auto;
    width: 60%;
}

.footer-copy {
    font-size: 12px;
    opacity: 0.6;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    max-width: 400px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footter-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        height: auto;
    }

    .projects {
        padding: 100px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /*.projects-item img {
        height: 300px;
    }*/

    /*.hero-right img {
        width: 250px;
        margin-top: 30px;
    }*/

    .timeline-card img.company-logo {
        width: 60px;
        height: 60px;
        object-fit: contain;

        display: block;
        margin: 0 auto 12px;
    }

    /*#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);

    color: white;
    font-size: 18px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all 0.35s ease;
    z-index: 999;
}*/

/* SHOW STATE */
/*#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}*/

/* HOVER */
/*#backToTop:hover {
    background: #51829d;
    box-shadow: 0 0 20px rgba(81,130,157,0.5);
}*/

    section {
        padding: 40px 20px;
    }
}