:root{
  --bg:#0f1720; --card:#0b1220; --muted:#9aa4b2; --accent:#60a5fa; --glass: rgba(255,255,255,0.04);
  --white: #e6eef8; --radius:14px;
}
*{
  box-sizing:border-box
}
html,body{
  height:100%;
}
body{
  margin:0; 
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial; 
  background:linear-gradient(180deg,#081221 0%, #081221 60%);
  color:var(--white); 
  -webkit-font-smoothing:antialiased;
}
.container{
  max-width:1100px;
  margin: 10px auto;
  padding: 12px 18px
}
.card{
  background:linear-gradient(180deg,var(--card), rgba(11,18,32,0.6));
  padding:26px;
  border-radius:var(--radius);
  box-shadow:0 6px 30px rgba(3,6,10,0.6);
  backdrop-filter: blur(6px);
}
/* typical phones */
@media (max-width: 480px) {
  .container{
    padding: 20px 18px
  }
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
}

/* header */
header{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background-color: transparent;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  background-color: transparent;
}
.logo{
  width:52px;
  height:52px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),#7dd3fc);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bolder;
  color:#04263b;
  flex-shrink: 0;
}
.brand h1{
  margin:0;
  font-size:20px
}
.brand p{
  margin:0;
  color:var(--muted);
  font-size:13px
}
.site-nav {
  display: none;
  gap: 16px;
  align-items: center;
  padding: 4px 0;
}
.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius:10px;
  cursor:pointer;
  padding:6px;
  transition: transform .18s ease, color .18s ease;
}
.menu-toggle:hover{
  transform: translateY(-2px);
}
.hamburger{
  width:18px;
  height:2px;
  background: white;
  display:block;
  position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background: white;
}
.hamburger::before{ 
  top:-6px; 
}
.hamburger::after{ 
  bottom:-6px; 
}
.site-nav.open{
  display:flex;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  flex-direction: column;
  background: white;
  border-radius: 12px;
  padding:10px;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  z-index: 999;
}
/* Tablet / Desktop */
@media (min-width: 720px) {
  .menu-toggle { 
    display:none; 
  }           
  .site-nav {                              
    display:flex;
    flex-direction:row;
    gap:16px;
  }

  header { padding: 16px 24px; }
  .logo { width:52px; height:52px; border-radius:12px; }
  .brand-text h1{ font-size:20px; }
  .brand-text p{ font-size:13px; }
}
.navlink {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: color .20s ease, color .20s ease, transform .16s ease;
  white-space:nowrap;
}
.navlink:hover,
.navlink:focus {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  transform: translateY(-2px);
}
.navlink::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 70%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s ease;
  opacity: 0.8;
}
.navlink:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* hero section */
.hero{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:30px;
  margin-top: 10px;
  background-color: transparent;
  align-items:start
}
.intro{
  display:flex;
  flex-direction:column;
}
.eyebrow{
  color:var(--accent);
  font-weight:bold;
  font-size: 15px;
  margin-bottom:12px
}
.intro h2{
  margin:0;
  font-size:28px
}
.intro p{
  color:var(--muted);
  margin-top:10px;
  line-height: 1.6;
}
.stats{
  display:flex;
  gap:12px;
  margin-top:18px
}
.stat{
  background:var(--glass);
  padding:12px;
  border-radius:12px;
  text-align:center;
  flex:1
}
.stat strong{
  display:block;
  font-size:18px
}
.stat span{
  color:var(--muted);
  font-size:13px
}
.cta{
  margin-top: 20px
}
/* typical phones */
@media (max-width: 480px) {
  .intro{
    margin-top: 7px;
  }
  .intro p{
    line-height: 1.4;
  }
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
}

/* right column */
.profile{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items: center; 
  background-color: transparent;
}
.card.avatar {
  padding: 3px !important;
  background: transparent !important;
  overflow: hidden !important;
  display: inline-block;     
  line-height: 0;           
}
.avatar-frame {
  max-width: 100%;           
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.9);
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.75);
}
.avatar-img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}
/* typical phones */
@media (max-width: 480px) {
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
}

.info-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-label {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: -0.9px;
}
.info-value {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2px 0;
  border-radius: 10px;
}

/* projects */
.projects{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.project {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px) scale(.8);
  filter: blur(10px);
  transition:
    opacity 650ms cubic-bezier(.21,.79,.39,1),
    transform 650ms cubic-bezier(.21,.79,.39,1),
    filter 650ms ease;
  will-change: transform, opacity;
}
.project.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.project:hover {
  transform: translateY(-4px) scale(1.01);
  transition: transform 220ms ease;
}
.project h3{
  margin:0;
  font-size:16px
}
.project p{
  color:var(--muted);
  font-size:13px}
.tags{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap
}
.tag{
  background:rgba(255,255,255,0.03);
  padding:6px 8px;
  border-radius:8px;
  color:var(--muted);
  font-size:12px
}
.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px;
  background: transparent;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}
#load-more {
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  transition: 0.2s ease;
}
#load-more:hover {
  background: rgba(255,255,255,0.06);
}
.view-more-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.view-more-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.view-more-btn:active {
  transform: scale(0.97);
}


/* about section */
#about p{
  font-size: 1rem;
}
.about-points {
  margin-top: 12px;
  padding-left: 24px;
  line-height: 1.6;
}
.about-points li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 2;
}


/* modal styles */
.modal{
  position:fixed;
  inset:0;
  background: rgba(180, 180, 180, 0.4);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:all .22s ease;
  z-index:9999;
}
.modal.open{
  opacity:1;
  visibility:visible;
}
.modal-card{
  width:100%;
  max-width:900px;
  background:#020617;
  padding:22px;
  border-radius:12px;
  box-shadow: 0 18px 50px rgba(2,6,12,0.7);
  color:var(--white);
  max-height:90vh;
  overflow:auto;
}
.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
#modal-title{
  font-size:1.1rem
}
.close-btn{
  background:white;
  border:0;
  color:black;
  font-size:18px;
  cursor:pointer;
  font-weight: bold;
  padding:6px 10px;
  border-radius:10px;
}
.modal-image {
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
  border-radius: 12px;
  margin-top: 12px;
}
.modal-image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain; 
  border-radius: 10px;
}
.modal-images {
  background: rgba(255,255,255,0.045);
  padding: 10px;
  border-radius: 12px;
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;  /* 1 column on phones */
}
/* 2+ columns on wider screens */
@media (min-width: 640px) {
  .modal-images {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.modal-images img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  background: #0b1220;
  display: block;
}

.modal-section{
  margin-top:16px
}
.modal-section h4{
  margin:0 0 6px 0;
  font-size:0.95rem
}
.muted.small{
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.45
}
#modal-objectives-list{
  padding-left:18px;
  color:var(--muted);
  margin-top: 10px;
}
#modal-objectives-list li{
  margin-bottom:8px;
  font-size:0.95rem
}
#modal-software-list {
  padding-left: 18px;
  color: var(--muted);
  margin-top: 10px;
}
#modal-software-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}
#modal-tags .tag{
  background:rgba(255,255,255,0.03);
  padding:6px 8px;
  border-radius:8px;
  color:var(--muted);
  font-size:0.9rem
}
/* typical phones */
@media (max-width: 480px) {
  .modal-card{
    max-height:70vh;
  }
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
   .modal-card{
    max-height:70vh;
  }
}




/* small screens */
@media (max-width:900px){
  .hero{grid-template-columns:1fr;}
  .projects{grid-template-columns:1fr}
}


/* subtle animations */
.fade-in{opacity:0;transform:translateY(8px);animation:enter .7s forwards}
@keyframes enter{to{opacity:1;transform:none}}

/* floating Hire Me CTA */
.floating-icon{
  position:fixed;
  right:18px;
  bottom:18px;
  background:linear-gradient(135deg,var(--accent),#7dd3fc);
  color:#04263b;
  padding:14px 16px;
  border-radius:14px;
  border:0;
  box-shadow:0 8px 30px rgba(3,6,10,0.6);
  font-weight:700;
  cursor: pointer;
}

/* utility */
.muted{color:var(--muted)}
.small{font-size:13px}
a.button{display:inline-block;padding:10px 14px;border-radius:10px;background:var(--accent);color:#04263b;font-weight:700;text-decoration:none}

/* footer styles */
.site-footer{
  background: transparent;
  padding-top: 30px;
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-hero.card{
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.55);
}
.pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(96,165,250,0.12);
  color: var(--accent);
  font-weight:bold;
  font-size:0.9rem;
  margin-bottom:12px;
}
.footer-hero h2{
  margin:6px 0 20px 0;
  font-size:1.5rem;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.footer-hero .sub{
  color: var(--muted);
  margin-bottom:20px;
}
.cta-row{ 
  display:flex; 
  gap:10px; 
  flex-wrap:wrap; 
  margin-top:15px; 
}
.btn{
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
}
.btn.primary{
  background: linear-gradient(90deg,var(--accent),#7dd3fc);
  color:#041124;
  box-shadow: 0 6px 18px rgba(96,165,250,0.12);
}
.btn.outline{
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn.ghost{
  background: transparent;
  color: var(--muted);
  border: none;
}
.call-btn {
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  transition: 0.25s ease;
}
.call-btn:hover {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:6px;
}
.email-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-text {
  color: var(--muted);
  font-size: 0.95rem;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.phone-text {
  color: var(--muted);
  font-size: 0.95rem;
}

.copy-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s ease;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}


.feature.card{
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:18px;
  border-radius:14px;
  min-height:130px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.feature .icon{
  font-size:1.6rem;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background: rgba(96,165,250,0.08);
  color:var(--accent);
}

.footer-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:6px;
  flex-wrap:wrap;
}

/* social icons */
.social-icon {
  width: 30px;
  height: 30px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  filter: brightness(0.92);
  background-color: white;
  border-radius: 6px;
  padding: 3px;
}
.socials a{
  color:var(--muted);
  text-decoration:none;
  margin-right:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  transition:transform .15s ease, color .15s ease;
}
.socials a:hover{ 
  transform: translateY(-5px); 
  color:var(--accent); 
}
/* typical phones */
@media (max-width: 480px) {
  .socials a {
    margin-bottom: 7px;
  }
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
  .socials a {
    margin-bottom: 10px;
  }
}



.badges{ 
  display:flex; 
  gap:10px; 
  align-items:center; 
  flex-wrap:wrap; 
}
.badge{
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  font-size:0.85rem;
  border:1px solid rgba(255,255,255,0.02);
}
/* typical phones */
@media (max-width: 480px) {
  .badges{ 
    margin-bottom: 40px;
  }
}
/* Small tablets / larger phones */
@media (min-width: 481px) and (max-width: 900px) {
}

.muted{ color:var(--muted); }
.small{ font-size:0.9rem; }
.link{ color:var(--muted); text-decoration:underline; }
.handle{ opacity:0.9; margin-left:4px; }

@media (max-width:880px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-inner{ gap:20px; }
  .footer-meta{ flex-direction:column; align-items:flex-start; gap:10px; }
}

