/* Save as: styles.css */
/* A modern, responsive layout that uses full viewport nicely */

:root{
  --bg: #0f172a;
  --card: #111827;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --text: #e6eef8;
  --glass: rgba(255,255,255,0.03);
  --radius: 12px;
  --container: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, rgba(6,7,23,1) 0%, rgba(11,14,30,1) 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Layout */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:28px;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{margin:0;font-size:1.2rem}
.nav a{color:var(--muted); text-decoration:none; margin:0 10px;}
.nav a:hover{color:var(--text)}
.nav .btn{margin-left:12px}

/* Hero */
.hero{
  padding:48px 0;
  min-height:36vh;
  display:flex;
  align-items:center;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
  align-items:start;
}
.hero-meta{background:var(--glass); padding:18px; border-radius:var(--radius); border:1px solid rgba(255,255,255,0.03)}
.cta-row{margin-top:16px}
.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:10px;
  background:linear-gradient(90deg,var(--accent),#3b82f6);
  color: white;
  text-decoration:none;
  font-weight:600;
}
.btn.ghost{background:transparent; border:1px solid rgba(255,255,255,0.06)}
.small{padding:6px 8px}

/* Sections */
.section{padding:26px 0; border-top:1px solid rgba(255,255,255,0.02)}
h3{margin:0 0 12px 0}
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px}
.card{background:var(--card); padding:16px; border-radius:12px; border:1px solid rgba(255,255,255,0.03)}
.skills{list-style:none; padding:0; margin:0}
.skills li{margin:6px 0}

/* Contact & Footer */
.contact-grid{display:flex; justify-content:space-between; align-items:center; gap:16px}
/* --- Footer Section --- */
.footer {
  position: relative;
  width: 100%;
  background-color: var(--card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 50px 0;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.footer-container {
  width: 200px;
  text-align: center;
}

.footer-container h2.logo {
  font-size: 1.7em;
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.footer-container h3 {
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
}

.footer-container ul {
  padding: 0;
}

.footer-container ul li {
  margin: 6px 0;
}

.footer-container ul li a {
  font-size: 0.95em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-container ul li a:hover {
  color: var(--accent);
}

@media screen and (max-width:950px) {
  .footer-container {
    width: 45%;
    margin-bottom: 25px;
  }
}

@media screen and (max-width:500px) {
  .footer-container {
    width: 100%;
  }
}
.muted{color:var(--muted)}

/* Responsive */
@media (max-width:880px){
  .hero-inner{grid-template-columns:1fr}
  .contact-grid{flex-direction:column; align-items:flex-start}
}
.footer-container ul li a i {
  margin-right: 8px;
}
.footer-container ul li a:hover {
  color: #ffcc00;
  transition: color 0.3s ease;
}
::selection {
  background: #E6FBF7;  /* mint selection background */
  color: #0D7A71;       /* teal selected text */
}

::-moz-selection {
  background: #E6FBF7;
  color: #0D7A71;
}
