:root{
  --bg:#ffffff;
  --text:#0a0a0a;
  --muted:#6b7280;
  --accent1:#2466ff; /* blue */
  --accent2:#8a3cff; /* purple */
  --container:1200px;
  --radius:14px;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 8px 30px rgba(12,16,30,0.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  scroll-behavior:smooth;
}

/* Container */
.container{
  width:92%;
  max-width:var(--container);
  margin:0 auto;
}

/* Header */
.site-header{
  position:fixed;
  left:0;right:0;
  top:0;
  z-index:110;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(10,10,10,0.04);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  font-weight:700;
  font-size:1.05rem;
  color:var(--text);
}
.brand span{ color:var(--accent1) }

.main-nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.main-nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  padding:8px 10px;
  transition: color .2s;
}
.main-nav a:hover{ color:var(--accent1) }

.menu-btn{
  display:none;
  background:transparent;
  border:0;
  font-size:1.25rem;
  cursor:pointer;
}

/* HERO */
.hero-section{
  padding-top:88px; 
  padding-bottom:60px;
  min-height:86vh;
  display:flex;
  align-items:center;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 520px;
  gap:40px;
  align-items:center;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h5 {
  color: #777;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content h1 span {
  color: #2563eb; /* Modern blue */
}

.hero-content p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #2563eb;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #2563eb;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
}

.hero-socials a {
  margin-right: 15px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.hero-socials a:hover {
  color: #2563eb;
}

.hero-stats {
  display: flex;
  gap: 25px;
  margin-top: 25px;
}

.hero-stats .stat {
  text-align: center;
  background: #f9f9ff;
  border-radius: 12px;
  padding: 15px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-stats .stat h3 {
  color: #2563eb;
  font-size: 1.5rem;
}

.hero-image-container {
  position: relative;
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  width: 80%;
  height: 90%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%;
  z-index: 0;
  filter: blur(1px);
}

.hero-image {
  width: 80%;
  max-width: 350px;
  border-radius: 15px;
  z-index: 1;
  position: relative;
  object-fit: cover;
}


/* Left */
.hero-left{ max-width:680px }
.hero-pre{
  font-size:0.85rem;
  color:var(--muted);
  letter-spacing:2px;
  margin-bottom:12px;
}
.hero-title{
  font-size:2.75rem;
  margin:6px 0 8px 0;
  line-height:1.02;
}
.accent-name{ color:var(--accent1) }
.hero-sub{
  color:var(--muted);
  font-size:1.05rem;
  margin-bottom:18px;
}

.hero-actions{ margin:18px 0; display:flex; gap:12px; flex-wrap:wrap }
.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  color:white;
  box-shadow: 0 8px 30px rgba(36,102,255,0.12);
  transition: transform .18s ease;
}
.btn.primary:hover{ transform: translateY(-4px) }
.btn.outline{
  border:1px solid rgba(36,102,255,0.15);
  background:transparent;
  color:var(--text);
}

/* social & stats */
.hero-social{ margin-top:14px; display:flex; gap:12px; color:var(--muted) }
.hero-social a{ color:var(--muted); text-decoration:none; font-weight:600; font-size:0.95rem }
.stats-row{
  display:flex;
  gap:18px;
  margin-top:28px;
}
.stat{
  background:linear-gradient(180deg, rgba(138,60,255,0.05), rgba(36,102,255,0.03));
  padding:14px 16px;
  border-radius:12px;
  width:120px;
  text-align:center;
  box-shadow:var(--shadow);
}
.stat-num{ font-weight:700; color:var(--accent2); font-size:1.05rem }
.stat-label{ color:var(--muted); font-size:0.85rem }

/* Right blob & profile */
.hero-right{ display:flex; justify-content:center; align-items:center }
.blob{ position:relative; width:100%; max-width:520px; height:420px }
.blob-svg{ width:100%; height:100%; display:block; border-radius:20px; }

.profile-frame{
  position:absolute;
  right:8%;
  bottom:6%;
  transform: translateY(0);
  width:260px;
  height:380px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  pointer-events:none;
}
.profile-frame img{
  width:220px;
  height:320px;
  object-fit:cover;
  border-radius:14px;
  box-shadow: 0 30px 60px rgba(10,10,10,0.12);
  border: 6px solid rgba(255,255,255,0.92);
}

/* Sections common */
.section{ padding:80px 0 }
.section-title{
  font-size:1.6rem;
  color:var(--accent2);
  margin-bottom:18px;
}

/* ABOUT */
#about {
  background: #f8f9ff;
  padding: 80px 0;
}

#about .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 40px;
}
#skills .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 40px;
}

/*.about-grid{ display:grid; grid-template-columns:1fr 320px; gap:26px; align-items:center;text-align: center;}
.about-text p{ color:var(--muted); margin-bottom:12px }*/
.about-card{ background:#fbfbff; padding:20px; border-radius:12px; box-shadow:var(--shadow) }
.about-list{ list-style:none; padding:0; margin:0; color:var(--muted) }
.about-list li{ padding:8px 0; border-bottom:1px dashed rgba(10,10,10,0.03) }

/* SKILLS */
/*.skills-grid{ display:flex; flex-wrap:wrap; gap:12px }
.skill-card{
  background: linear-gradient(180deg, #fff, #fbfbff);
  padding:12px 16px; border-radius:10px; min-width:150px;
  box-shadow: 0 10px 30px rgba(12,16,30,0.04);
  font-weight:600; color:var(--text);
  transition: transform .18s;
}
.skill-card:hover{ transform: translateY(-6px) }*/

/* PROJECTS */
.projects-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}
.project-card{ background:#fff; border-radius:12px; padding:12px; box-shadow:var(--shadow) }
.project-card img{ width:100%; height:140px; object-fit:cover; border-radius:8px }
.card-links{ margin-top:10px; display:flex; gap:12px }
.card-links a{ text-decoration:none; color:var(--accent1); font-weight:600 }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#projects .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 40px;
}
.project-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hidden-project {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.hidden-project.show {
  max-height: 500px;
  opacity: 1;
}

.more-btn-container {
  text-align: center;
  margin-top: 20px;
}

#showMoreBtn {
  padding: 10px 20px;
  border: none;
  background: #6c63ff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

#showMoreBtn:hover {
  background: #574fd6;
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}



/* CONTACT */
#contact .section-title {
  
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 40px;
}
.contact-grid{ display:grid; grid-template-columns:1fr 320px; gap:24px; align-items:start }
.contact-form{ display:flex; flex-direction:column; gap:12px }
.contact-form input, .contact-form textarea{
  padding:12px; border-radius:8px; border:1px solid #eee;
  font-family:inherit; font-size:0.95rem;
}
.contact-info{ background:#fbfbff; padding:18px; border-radius:12px; box-shadow:var(--shadow) }

/* FOOTER */
.site-footer{ border-top:1px solid rgba(10,10,10,0.04); padding:18px 0; text-align:center; color:var(--muted) }

/* Reveal helper */
.reveal{ opacity:0; transform: translateY(18px); transition: all .6s cubic-bezier(.2,.9,.2,1) }
.reveal.visible{ opacity:1; transform: translateY(0) }

/* Responsive */
@media (max-width: 992px){
  .hero-grid{ grid-template-columns: 1fr 380px }
  .profile-frame{ right:6%; width:220px; height:300px }
  .profile-frame img{ width:190px; height:260px }
}

@media (max-width: 760px){
  .main-nav{ display:none }
  .menu-btn{ display:block }
  .hero-grid{ grid-template-columns: 1fr; text-align:left }
  .hero-right{ display:none } /* hide blob on small screens to keep layout clean */
  .hero-left{ padding-right:8px }
  .about-grid, .contact-grid{ grid-template-columns: 1fr }
  .stats-row{ gap:10px; justify-content:flex-start; flex-wrap:wrap }
  .profile-frame{ display:none }
}
/* ===================== Key Responsibilities Section ===================== */
#responsibilities {
  background: #f8f9ff;
  padding: 80px 0;
}

#responsibilities .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 40px;
}

.responsibilities-list {
  max-width: 900px;
  margin: 0 auto 40px;
  list-style: disc;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 20px;
}

.responsibilities-list li {
  margin-bottom: 10px;
}

.sub-title {
  text-align: center;
  color: #444;
  font-weight: 600;
  margin-bottom: 20px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tools span {
  background: linear-gradient(90deg, #007bff, #9c27b0);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}
/* ===================== Scroll Animation ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/*photostyle*/
/* === Modern Hero Background like Jo Breed === */
/*.hero-right {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

/* Gradient wave background 
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  clip-path: path("M0,200 C200,100 500,100 800,200 L800,600 L0,600 Z");
  z-index: 1;
  border-bottom-left-radius: 100px;
}

/* Hero Image overlay 
.hero-image {
  position: relative;
  z-index: 2;
  height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.03);
}

/* Responsive Adjustments 
@media (max-width: 992px) {
  .hero-right {
    height: 400px;
  }
  .hero-image {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .hero-right {
    display: none;
  }
}*/
.hero-image-container {
  position: relative;
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  width: 80%;
  height: 90%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%;
  z-index: 0;
  filter: blur(1px);
}

.hero-image {
  width: 80%;
  max-width: 350px;
  border-radius: 15px;
  z-index: 1;
  position: relative;
  object-fit: cover;
}


/*skill*/

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  gap: 20px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 10px;
  background-color: #f5f5f5;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.skill-card img {
  width: 48px;
  height: 48px;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Optional: make it responsive */
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}


