:root {
  --bg: #123478;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --border: rgba(255, 255, 255, 0.238);
  --radius: 18px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  background: #0b1220cc;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
}

.navlinks a {
  margin-left: 14px;
  color: var(--muted);
  text-decoration: none;
}

.navlinks a:hover {
  color: var(--text);
}

section {
  padding: 32px 0;
}

.hero {
  padding-top: 40px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
}

h1 {
  font-size: 40px;
  margin: 10px 0;
}

h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.subtitle {
  max-width: 650px;
  color: var(--muted);
}

.buttons {
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-right: 8px;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, #7aa0ff, #50dcc8);
  color: #0b1220;
  border: none;
  font-weight: 600;
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Hero with photo layout */
.hero-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.hero-photo{
  display: flex;
  justify-content: center;
}

/* update css  */
.hero-photo img{
  width: 297px;
  height: 264px;
  object-fit: cover;
  border-radius: 30%;
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  background: #111;
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-photo{
    order: -1;
    margin-bottom: 20px;
  }
}

/* last css update for the projects section  */
/* Add this to your style.css (keeps your current card look, adds a clean link + hover) */
.project-link{
  display: inline-block;
  margin-top: 12px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 2px;
}

.project-link:hover{
  color: rgba(58, 236, 13, 0.92);
  border-bottom-color: rgba(255,255,255,.35);
}

/* Optional: subtle hover lift */
.project{
  transition: transform .18s ease, box-shadow .18s ease;
}

.project:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* Skills cards */
.skill-card h3{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

/* Subtle icon styling */
.skill-icon{
  font-size: 18px;
  opacity: 0.85;
  filter: saturate(0.9);
}

/* Optional: slight highlight on hover */
.skill-card:hover .skill-icon{
  opacity: 1;
}

/* =========================
   CERTIFICATIONS STYLES
   Add to your style.css
========================= */

.cert-grid{
  margin-top: 14px;
}

/* Keep same card look, just tighten layout for certs */
.cert-card p{
  margin: 10px 0 0;
  color: rgba(255,255,255,.72);
}

/* Title row with subtle icon */
.cert-top{
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-top h3{
  margin: 0;
  font-size: 18px;
}

.cert-icon{
  font-size: 18px;
  opacity: 0.85;
}


/* =========================
   EXPERIENCE + EDUCATION STYLES
   Add to your style.css
========================= */

.sectionLead{
  margin: 0 0 14px;
  color: rgba(255,255,255,.72);
  max-width: 850px;
}

.exp-subtitle,
.edu-subtitle{
  margin: 6px 0 12px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
}

.exp-card ul{
  margin: 0 0 0 18px;
}

.exp-card li{
  margin: 8px 0;
}

/* Optional: keep education cards compact 
.edu-card{
  padding: 18px 22px;
}
*/
.edu-card h3{
  margin: 0 0 6px;
}
