  @import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Anton&family=Baskervville:ital,wght@0,400..700;1,400..700&family=LXGW+Marker+Gothic&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Truculenta:opsz,wght@12..72,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
 
  /* =========================
       THEME VARIABLES
       ========================= */
    :root{
      --bg:#05060a;               /* page background */
      --panel: rgba(15, 30, 56, 0.55); /* frosted card background */
      --card-border: rgba(240, 234, 234, 0.04);
      --muted: #98a3b6;
      --text: #eaf3ff;
      --accent-blue: 28, 93, 230;   /* rgb(28,93,230) - bright blue */
      --accent-deep: 6, 18, 59;     /* deep navy for gradients */
      --accent-purple: 132, 72, 255;/* purple tint */
      --glass: rgba(255,255,255,0.04);
      --max-width:1200px;
      --radius:16px;
    }

    /* =========================
       BASE
       ========================= */
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      background: radial-gradient(900px 450px at 10% 10%, rgba(var(--accent-blue),0.06), transparent 12%),
                  radial-gradient(700px 380px at 90% 80%, rgba(var(--accent-purple),0.05), transparent 12%),
                  var(--bg);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      color:var(--text);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      line-height:1.45;
      overflow-x:hidden;
      -webkit-tap-highlight-color: transparent;
    }

    /* moving gradient blobs (blurred lights) */
    .blob {
      position:fixed;
      width:800px;height:600px;
      top: -10%; left: -10%;
      z-index:0;
      pointer-events:none;
      filter: blur(60px) saturate(120%);
      opacity:0.5;
      background: radial-gradient(circle at 30% 30%, rgba(var(--accent-blue),0.35), rgba(var(--accent-purple),0.22) 40%, transparent 60%);
      transform: translate3d(0,0,0);
      animation: float1 20s ease-in-out infinite;
      mix-blend-mode: screen;
    }
    .blob.b2{
      width:520px;height:520px; top:auto; bottom:-10%; right:-15%; left:auto;
      background: radial-gradient(circle at 70% 70%, rgba(var(--accent-purple),0.28), rgba(var(--accent-blue),0.16) 40%, transparent 60%);
      animation: float2 26s ease-in-out infinite;
      opacity:0.36;
    }
    @keyframes float1{
      0%{transform:translate3d(0,0,0) scale(1)}
      50%{transform:translate3d(6%,4%,0) scale(1.06)}
      100%{transform:translate3d(0,0,0) scale(1)}
    }
    @keyframes float2{
      0%{transform:translate3d(0,0,0) scale(1)}
      50%{transform:translate3d(-6%,-4%,0) scale(0.96)}
      100%{transform:translate3d(0,0,0) scale(1)}
    }

    /* subtle star texture overlay */
    .grain {
      position:fixed; inset:0; z-index:1; pointer-events:none;
      background-image: radial-gradient(rgba(255,255,255,0.02) 0.6px, transparent 0.6px);
      background-size: 8px 8px;
      mix-blend-mode: overlay;
      opacity:0.2;
    }

    /* frosted glass wrapper */
    .wrap{
      max-width:var(--max-width);
      margin:44px auto;
      padding:28px;
      position:relative;
      z-index:2;
    }
  
    .back{
      margin-bottom: -40px;
    }
   
    

    header{
      display:flex; align-items:center; justify-content:space-between; gap:12px;

    }
    .brand{ 
      display:flex; 
      gap:12px; 
      align-items:center;
    }
    .brand img{
      width:52px; height:52px; border-radius:12px; object-fit:cover;
      border:1px solid rgba(255,255,255,0.05);
      box-shadow: 0 8px 24px rgba(6,12,34,0.6);
      background: linear-gradient(180deg, rgba(var(--accent-blue),0.06), rgba(var(--accent-purple),0.03));
    }
    .brand h1{ margin:0; font-size:1.05rem; letter-spacing: -0.2px }
    .brand .tag{ color:var(--muted); font-size:0.9rem; margin-top:4px }

    nav{ display:flex; gap:12px; align-items:center }
    nav a{
      color:var(--muted); text-decoration:none; font-weight:400; padding:8px 10px; border-radius:10px;
      transition: all .18s ease;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
    nav a:hover{ color:var(--text); background: rgba(255,255,255,0.02); transform: translateY(-2px) }

    .hambtn{ display:none; background:transparent; border:0; color:var(--muted); font-size:1.2rem }

/* =========================
    HERO SECTION
========================= */
.hero {
  text-align: center;
  margin-top: 130px;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
  margin-bottom: 18%;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: -1px;
     font-family: ubuntu, sans-serif;
      text-transform: capitalize;
}
.typing-text {
  font-size: 3.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  font-family: ubuntu, sans-serif;
  text-transform: capitalize;
  text-align: center;

  /* typing effect */
  border-right: 3px solid #7aa7ff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 3s steps(30) forwards, blink 0.7s infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.hero p {
  margin-top: 16px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
    BUTTON GROUP
========================= */
.btn-group {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.btn {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 40px;
  background: rgba(0, 110, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 110, 255, 0.5);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: rgba(0, 110, 255, 0.45);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 110, 255, 0.5);
}

/* =========================
    BLUR BALLS
========================= */


 .btn1{
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 40px;
 background: rgb(13, 64, 129);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 110, 255, 0.5);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
  .btn-ghost{
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 40px;
   background: rgb(13, 64, 129);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 110, 255, 0.5);
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {


  .btn1{
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 40px;
    background: rgb(13, 64, 129);
    backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
  .btn-ghost{
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 40px;
  background: rgb(13, 64, 129);
  backdrop-filter: blur(10px);

  color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1.1rem; }
  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 200px;
    height: 40px;
  }
}

.cert-section {   
  padding: 25px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 20px; 
}

.cert-card {
  background: rgba(255,255,255,0.03);
  border-radius: 30px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(140%);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.cert-img {
  width: 100%;
  height: 150px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-btn {
  margin-top: 14px;
  padding: 10px 20px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: .25s ease;
  text-align: center;
  font-size: 14px;

}

.view-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.cert-card a{
  color: #ffffff;
  text-decoration: none;
  
}
#experience .list{
  font-family: 'ubuntu', sans-serif;
  font-weight: 300;
}
 .card{
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border-radius:var(--radius);
      padding:22px;
      border:1px solid var(--card-border);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      box-shadow: 0 10px 30px rgba(4,8,20,0.6);
    }

    .hero-left h2{ font-size:2rem; margin:0 0 8px }
    .hero-left p.lead{ color:var(--muted); margin:0 0 18px; font-size:1.03rem }
   
     #hero-heading span{
      color: rgb(10, 75, 172);
     }
       #hero-heading{
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
        

       }
    .type {
      font-size:1.1rem; font-weight:700;
      background: rgb(10, 75, 172);
      -webkit-background-clip: text; background-clip:text; color:transparent;
      font-family: ubuntu, sans-serif;
      text-transform: capitalize;
    }
    #type1{
      font-family: 'ubuntu', sans-serif;
    }
    .profile{
      width:180px; height:180px; border-radius:18px; overflow:hidden; margin-left:auto;
      border:1px solid rgba(255,255,255,0.06);
      background: linear-gradient(180deg, rgba(var(--accent-blue),0.06), rgba(var(--accent-purple),0.05));
      display:flex; align-items:center; justify-content:center; box-shadow: 0 18px 40px rgba(8,12,28,0.6);
    }
    .profile img{ width:100%; height:100%; object-fit:cover; display:block }

    .cta-row{ display:flex; gap:12px; margin-top:12px; flex-wrap:wrap }


.dual-btn { margin-top: 32px; display: flex; gap: 18px; justify-content: center; }
/* Base button */
.dual-btn .btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(120,140,255,0.4); /* soft blue border */
  transition: 0.25s ease;
}
/* Left (white) */
.dual-btn .btn.left {
  background: #ffffff;
  color: #000;
  border: 1px solid rgba(150,150,255,0.5);
}

/* Right (black) */
.dual-btn .btn.right {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid rgba(120,140,255,0.4);
}

/* Hover */
.dual-btn .btn.left:hover {
  background: #f1f1f1;
}

.dual-btn .btn.right:hover {
  background: #141414;
}

/* SVG Icons */
.dual-btn svg {
  display: block;
}


    /* sections */
    section{ margin-bottom:28px }
    .section-title{ display:flex; align-items:center; gap:12px; margin:0 0 12px 0; font-size:1.06rem; font-family: 'Ubuntu', sans-serif; font-weight:800;  } 
    .muted{ color:var(--muted); font-size:0.98rem }

    /* skill chips */
    .skills-grid{ display:flex; gap:10px; flex-wrap:wrap }
    .skill{
      padding:8px 12px; border-radius:999px; font-weight:700; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border:1px solid rgba(255,255,255,0.03); color:var(--muted); font-size:0.95rem;
    }
.skill {
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
}


/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 34px;
}

/* Main card container */
.project-card {
  background: #0d0f17;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden; /* IMPORTANT for rounded image top */
  display: flex;
  flex-direction: column;
  transition: .25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0,0,0,0.55);
}

/* IMAGE */
.project-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Inner Content */
.project-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
     margin-top: -30px;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.project-status {
  background: #2ecc7133;
  color: #2ecc71;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.project-desc {
  color: #9aa0b7;
  line-height: 1.55;
  font-size: 0.96rem;
  margin-top: -20px;
  margin-bottom: -6px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack span {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Footer */
.project-footer {
  padding: 20px 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
}

.project-btn {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
  transition: .2s ease;
}
.icon-btn {
  width: 40px;
  height: 40px;
  background: #1c1c1c;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ccc;
  transition: 0.2s ease;
}

.icon-btn:hover {
  background: #333;
  color: #fff;
}
.project-btn:hover {
  background: rgba(255,255,255,0.12);
}


    .list{ display:flex; flex-direction:column; gap:10px }
    .list .item{ padding:12px; border-radius:10px; background: rgba(255,255,255,0.02); display:flex; justify-content:space-between; align-items:center }

    /* contact form */
   form .row { 
  display:flex; 
  gap:10px; 
  flex-direction:column; 
}

.field { 
  display:flex; 
  flex-direction:column; 
  gap:8px; 
  margin-bottom:10px; 
}

input[type=text], input[type=email], input[type=tel], textarea {
  background: transparent;
  border:1px solid rgba(255,255,255,0.06);
  padding:12px;
  border-radius:10px;
  color:var(--text);
  font-size:0.96rem;
}

/* Loader Animation */
.loader {
  width: 16px;
  height: 16px;
  border: 3px solid transparent;
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

    textarea{ min-height:120px; resize:vertical }

    .form-foot{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap }

    footer{ color:var(--muted); font-size:0.95rem; padding:18px 0; text-align:center }
/*footer*/
.foot{
    color: var(--main-color);
    font-size: 15px;
    text-align: center;
    align-items: center;
    justify-content: center;
     font-family: ubuntu;
    margin-top: 80px;
}
.foot h2{
    font-weight: 300;
   margin-bottom: -40px;
    font-size: 1rem;
}

.foot2 a{
    display: inline-flex;
    justify-content: center;
    align-items: center;   
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0.1rem solid #98a3b6;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #98a3b6;
   margin: 3rem 1.5rem 3rem 0;
   transition: 0.4s ease;
   text-decoration: none;
   margin-bottom: -0px;
}
.foot2 a:hover{
    transform: scale(1.2) translate(-10px);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 8px var(--main-color);
}

/*responsive web*/
@media (max-width: 1200px) {
   
    .container {
       width: 290px;
    }
    .container {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 0 10px var(--main-color);
    }
    
}

    /* responsive */
    @media (max-width:980px){
      .hero{ grid-template-columns:1fr; }
      .projects-grid{ grid-template-columns: repeat(2,1fr) }
      .profile{ width:150px; height:150px }
    }
    @media (max-width:640px){
      nav{ display:none } .hambtn{ display:inline-flex }
      .projects-grid{ grid-template-columns:1fr }
      header{ gap:8px }
      .wrap{ padding:16px }
    }

    /* reduced motion */
    @media (prefers-reduced-motion: reduce){
      .blob, .blob.b2, * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
    }

    /* utility */
    .muted-italic { color:var(--muted); font-style:italic }
    .success{ color:#B7F0C6; background: rgba(20,80,40,0.12); padding:10px; border-radius:8px; border:1px solid rgba(20,80,40,0.12) }
    .error{ color:#FFCCCC; background: rgba(120,20,20,0.06); padding:10px; border-radius:8px; border:1px solid rgba(120,20,20,0.12) }

  
    #mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.open {
  max-height: 300px;
}
