:root {
    --primary-bg: #f5f7fa;
    --secondary-bg: #ffffff;
    --accent-bg: #e3f2fd;
    --border-color: #b0bec5;
    --main-text: #263238;
    --muted-text: #546e7a;
    --accent: #1976d2;
    --font-main: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
  }
  
  body { margin:0; font-family: var(--font-main); color: var(--main-text); background: var(--primary-bg); line-height:1.6; }
  .container { max-width:900px; margin:0 auto; padding:0 1.5rem; }
  
  /* Header */
  header { background: var(--secondary-bg); border-bottom:1px solid var(--border-color); position:sticky; top:0; z-index:1000; }
  header .container { display:flex; justify-content:space-between; align-items:center; min-height:70px; }
  .logo a { font-size:1.7rem; font-weight:700; color: var(--main-text); text-decoration:none; }
  .logo a:hover { color: var(--accent); }
  nav ul { list-style:none; display:flex; gap:1.7rem; margin:0; padding:0; }
  nav a { text-decoration:none; color: var(--main-text); font-weight:500; position:relative; padding:0.4em 0; transition: color var(--transition); }
  nav a.active, nav a:hover { color: var(--accent); font-weight:600; }
  
  /* Hero */
  :root {
    --bg-main: #efe9df;          /* beige background (Subhan-like) */
    --text-main: #111111;
    --text-muted: #555555;
    --yellow-circle: #f2c94c;    /* muted mustard yellow */
    --btn-bg: #ffffff;
    --btn-border: #dddddd;
    --font-main: 'Poppins', sans-serif;
  }
  
  /* HERO SECTION */
  #hero {
    background: var(--bg-main);
    padding: 90px 0;
  }
  
  .hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
  
  /* LEFT TEXT */
  .hero-text h5 {
    font-size: 25px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 15px;
  }
  
  .hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
  }
  
  .hero-text h1 span {
    font-weight: 800;
  }
  
  .hero-role {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
  }
  
  /* BUTTON */
  .btn-primary {
    background: var(--btn-bg);
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid var(--btn-border);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    background: var(--text-main);
    color: #fff;
  }
  
  /* RIGHT IMAGE */
  .hero-image {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .yellow-circle {
    position: absolute;
    width: 480px;
    height: 480px;
    background: var(--yellow-circle);
    border-radius: 50%;
    z-index: 0;
  }
  
  .hero-image img {
    position: relative;
    width: 520px;
    z-index: 1;
  }
  
  /* RESPONSIVE */
  /* Responsive Hero */
@media (max-width: 900px) {
    .hero-wrapper {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-text h1 {
      font-size: 48px;
    }
  }
  
  /* Sections */
  .section-photo {
    width: 100%;          /* fill container */
    max-width: 600px;     /* professional size */
    height: auto;         
    border-radius: 12px;  
    object-fit: cover;
  }
  
  /* About Section */
  .about-content {
    display: flex;
    align-items: center;  /* vertical center image and text */
    gap: 2rem;
  }
  
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column; /* stack on mobile */
      text-align: center;
    }
  }
  
  /* About Heading */
  .about-text h2 {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .about-text h2::after {
    content: "";
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFB800); /* golden yellow */
    display: block;
    margin-top: 6px;
    border-radius: 2px;
    transition: width 0.4s ease;
  }
  
  .about-text h2:hover::after {
    width: 100%;
  }
  
  
    
  section { padding:3rem 0; }
  .skill-section, .project-card { background: var(--secondary-bg); border-radius:12px; padding:20px; margin-bottom:20px; box-shadow:0 2px 6px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
  .skill-section:hover, .project-card:hover { transform: translateY(-3px); box-shadow:0 6px 15px rgba(0,0,0,0.1); }
  
  /* Skills Nav */
  .skills-nav a { background: var(--accent-bg); color: var(--main-text); padding:10px 18px; border-radius:8px; font-weight:bold; text-decoration:none; transition: all var(--transition); }
  .skills-nav a.active, .skills-nav a:hover { background: var(--accent); color:#fff; }
  
  /* Languages (text only) */
  .skills-grid { display:flex; flex-wrap:wrap; gap:15px; justify-content:center; margin-top:20px; }
  .skill-card { background: var(--accent-bg); border-radius:10px; text-align:center; padding:12px; transition: transform var(--transition); }
  .skill-card span { color: var(--main-text); font-weight:500; }
  .skill-card:hover { transform: translateY(-4px); }
  
  /* Footer & Contact */
  footer { background: var(--secondary-bg); text-align:center; padding:1.4rem 0; border-top:1px solid var(--border-color); color: var(--muted-text); }
  .contact-widget { position:fixed; bottom:20px; right:20px; background: var(--accent-bg); padding:12px; border-radius:10px; display:flex; flex-direction:column; gap:8px; }
  .contact-widget a { color: var(--main-text); font-weight:bold; text-decoration:none; }
  .contact-widget:hover { transform: scale(1.05); transition: transform 0.3s; }
  