* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --secondary: #06b6d4;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --accent: #22d3ee;
  --border: #334155;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #262728;
  line-height: 1.6;
  min-height: 100vh;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: #c2c2c2; 
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
 top: 2px;
 width: 80px;
 height: 80px;
 display: flex;
 align-items: center;
 justify-content: center;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #456699;
  transition: width 0.3s ease;
}

nav a:hover {
  color:#3e4755; 
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: #485887; 
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
}

/* Main content */
main {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero section */
.intro {
  text-align: center;
  padding: 80px 20px;
}

.intro h1 {
  font-size: clamp(32px, 8vw, 64px);
  margin-bottom: 20px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.intro p {
  font-size: clamp(16px, 3vw, 20px);
  color: #434950;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #384855;
  color: white;
  box-shadow: 0 4px 20px rgba(43, 50, 50, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(79, 114, 114, 0.5);
}

.btn-secondary {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(8, 145, 178, 0.2);
  transform: translateY(-2px);
}

/* Page titles */
.page-title {
  font-size: clamp(32px, 6vw, 48px);
  margin-left: 30%;
  margin-bottom: 40px;
  background: #344f67;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Grid layouts */
.cards {
  display: flex;
  flex-direction: column;	
  gap: 30px;
  width: 80%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 40px;
  margin-left: 15%;
}

.card {
  background:#c2cec8;
  display:grid;
  border-radius: 20px;
  grid-template-columns:280px 1fr;  
  grid-template-rows: auto auto;
  box-shadow: 0 12px 3px rgba(0, 0, 0, 0.3);
  width: 80%;
}

.card .thumb {
  display: block;
  width: 70%;
  height: 70%;
  margin-top: 10%;
  margin-left: 10%;
  border-radius: 15%;
  object-fit: cover;
  background:#ddd;
  grid-row: 1 /3;
}

.card_body {
  padding:16px;
  display:flex;
  color:#000000;
  flex-direction:columns;
  gap:8px;
  flex:1;
 }

.card_title{
 font-size:16px;
 font-weight:700;
 color:var(--accent);
 margin-top: 5%;
 margin-bottom: 5%;
}

.card_text {
  color: #000000;
  with: 100%;
}

.card_footer{
  display:flex;
  padding:12px 16px 10px 400px;
  gap:8px;
}

.card a {
 color:#4567ff;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  margin-bottom: 20px;
  line-height: 1.7;
}


/* Project cards with images */
.project-card {
  background: #c2c8ce;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}


.project-content {
  padding: 25px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.tag {
  background: rgba(59, 97, 106, 0.6);
  color: #fbbf24;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* About section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 32px;
  margin: 40px 0 20px 0;
  color: #4a6f74;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #434950;
  line-height: 1.8;
}

.skills {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.skill-badge {
  background: #383f48; 
  border: 1px solid #282f38;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: rgba(8, 145, 178, 0.25);
  color:#3e4755;
  transform: translateY(-2px);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.status-available {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid #22c55e;
}

.status-coming-soon {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  nav.active {
    transform: translateX(0);
    color:#ffffff
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 40px 20px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
/* Cards responsive styling */
  .cards {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    padding: 0 10px;
  }

  .card {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 20px;
  }

  .card .thumb {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    grid-row: 1;
  }

  .card_body {
    grid-row: 2;
  }

  .card_title {
    text-align: center;
    margin-top: 0;
  }

  .card h3 {
    text-align: center;
    font-size: 20px;
  }

  .card_text {
    text-align: center;
    font-size: 14px;
  }

  .card_footer {
    grid-row: 3;
    padding: 12px 0;
    justify-content: center;
  }

