:root {
  --bg: #0b0f14;--surface: #121821;--border: #1f2933; --text: #e6edf3;--muted: #9aa6b2;--accent: #60a5fa;
}

body {margin: 0;font-family: system-ui; background: var(--bg);color: var(--text);
}


.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.topbar nav {
  display: flex;
  gap: 20px;
}

.topbar nav a {
  color: var(--muted);
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--text);
}

.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}


.hero {
  display: flex;
  justify-content: space-between;
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
  gap: 2rem;
}

.hero h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 600px;
}

.hero p {
  color: var(--muted);
}

.hero img {
  width: 240px;
  height: 240px;
  border-radius: 100%;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 1.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.showcase-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.overlay a {
  color: var(--accent);
  text-decoration: none;
}


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

.mini-card {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: 10px;
}

.mini-card img {
  width: 200px;
  border-radius: 6px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  padding: 1rem;
  border-radius: 10px;
}

.card img {
  width: 100%;
  border-radius: 8px;
}


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

.cert {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: var(--surface);
  border-left: 2px solid var(--accent);
}


.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-form {
  width: 100%;
  max-width: 500px; 
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}


.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  background: #121821;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: 0.3s ease;
}


.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(96,165,250,0.25);
}


.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}


.contact-form button {
  padding: 12px;
  background: var(--accent);
  color: #0b0f14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(96,165,250,0.3);
}


footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}


.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 900px) {

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .burger {
    display: block;
  }

  .topbar nav {
    position: absolute;
    top: 60px;
    right: 10px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1rem;
    display: none;
    border-radius: 10px;
  }

  .topbar nav.active {
    display: flex;
  }
}

@media (max-width: 900px) {

  .hero img {
    display: none;
  }

}

.cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;

  color: #ffffff;
  background-color: #1f2430;

  border: 1px solid #2f3645;
  border-radius: 8px;

  text-decoration: none;
  cursor: pointer;
height: 10px;
  transition: all 0.2s ease;
}

.cert-btn:hover {
  background-color: #2a3142;
  border-color: #4c5cff;
  transform: translateY(-1px);
}

.cert-btn:active {
  transform: translateY(0);
}

.skills {
  width: 80%;
  margin: auto;
  font-family: Arial, sans-serif;
}

.skills h2 {
  text-align: center;
  margin-bottom: 20px;
}

.skill {
  margin-bottom: 15px;
}

.skill span {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.bar {
  width: 100%;
  height: 12px;
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 20px;
}

.java { width: 90%; background: #f89820; }    

.html { width: 88%; background: #ff6b4a; }    

.css { width: 85%; background: #3b82f6; }       

.laravel { width: 75%; background: #ff2d20; }   

.javascript { width: 10%; background: #f7df1e; color: #111; } 

.unity { width: 30%; background: #9ca3af; }

.blender { width: 55%; background: #ff7a18; }    

.unreal { width: 34%; background: #0ea5e9; }   

.sql {
  width: 55%;
  background: #00758F;
}

.php {
  width: 34%;
  background: #777BB4; 
}

.topbar nav a {
  position: relative;
  transition: 0.3s ease;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.topbar nav a:hover {
  color: var(--text);
}

.topbar nav a:hover::after {
  width: 100%;
}

.card {
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--accent);
}

.mini-card {
  transition: 0.3s ease;
}

.mini-card:hover {
  transform: scale(1.03);
  border: 1px solid var(--accent);
}

.cert {
  transition: 0.3s ease;
}

.cert:hover {
  transform: translateX(5px);
  border-left: 3px solid var(--accent);
}

.skill {
  transition: 0.3s ease;
}

.skill:hover {
  transform: scale(1.02);
}

.bar {
  transition: 0.3s ease;
}

.skill:hover .bar {
  box-shadow: 0 0 10px rgba(96,165,250,0.3);
}

button {
  transition: 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(96,165,250,0.3);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(96,165,250,0.25);
}

.download-btn {
  display: inline-block;
  padding: 8px 14px;
  background: #1f2937;
  color: #38bdf8;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  transition: 0.3s ease;
}

.download-btn:hover {
  background: #0f172a;
  color: #7dd3fc;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.download-btn:active {
  transform: translateY(0);
}


.quote-section{
    padding:60px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    
}

.quote-card{
    max-width:700px;
    padding:30px 28px;
    border-radius:16px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    box-shadow:0 10px 30px rgba(0,0,0,0.35);
    color:#e5e7eb;
    position:relative;
}

/* big quote mark */
.quote-mark{
    font-size:60px;
    line-height:1;
    color:#22c55e;
    opacity:0.6;
    position:absolute;
    top:10px;
    left:18px;
}

.quote-text{
    font-size:18px;
    line-height:1.7;
    margin-top:20px;
    color:#d1d5db;
}

/* author line */
.quote-author{
    margin-top:20px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    color:#9ca3af;
}

.quote-author .line{
    width:30px;
    height:1px;
    background:#22c55e;
    opacity:0.7;
}

.contact-form select {
  padding: 12px 14px;
  background: #121821;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: 0.3s ease;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(96,165,250,0.25);
}