/* Zaheer Shaik Portfolio - High-Responsive & Multi-Device Responsive Styling */

:root {
  --zs-primary: #0f172a;
  --zs-accent: #2563eb;
  --zs-accent-hover: #1d4ed8;
  --zs-success: #16a34a;
  --zs-gold: #d97706;
  --zs-card-bg: #ffffff;
  --zs-border: #e2e8f0;
  --zs-badge-bg: #f1f5f9;
}

/* Base Body Overflow Safeguard */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* One-line Navigation Styling */
.zs-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
}

.zs-nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.zs-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b !important;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.25s ease;
  position: relative;
}

.zs-nav-link:hover, .zs-nav-link.active {
  background: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Recruiter Highlight Badges & Cards */
.zs-recruiter-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  margin-bottom: 32px;
}

.zs-metric-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  height: 100%;
}

.zs-metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 2px;
}

/* Clear, Visible Skills Grid */
.zs-skill-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.zs-skill-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
}

.zs-skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.zs-skill-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.zs-skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  word-break: break-word;
}

.zs-skill-tag:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.03);
}

/* Project Cards */
.zs-project-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zs-project-card:hover {
  border-color: #0f172a;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
  transform: translateY(-6px);
}

/* Achievement Highlight Cards */
.zs-achievement-card {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.zs-grant-badge {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
}

/* Buttons */
.zs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  text-align: center;
}

.zs-btn-primary:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.zs-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a !important;
  border: 2px solid #0f172a;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.zs-btn-outline:hover {
  background: #0f172a;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Hero Portrait Styling */
.zs-hero-portrait {
  max-height: 540px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
}

.zs-hero-portrait:hover {
  transform: scale(1.02);
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.zs-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInUp 0.3s forwards;
}

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

/* ============================================================ */
/* RESPONSIVE MEDIA QUERIES (DESKTOP, LAPTOP, TABLET & MOBILE)  */
/* ============================================================ */

/* Laptop & Desktop (1200px - 1499px) */
@media (max-width: 1499px) {
  .zs-nav-menu {
    gap: 12px;
  }
  .zs-nav-link {
    font-size: 0.85rem;
    padding: 5px 12px;
  }
  .zs-hero-portrait {
    max-height: 480px;
  }
}

/* Medium Desktop & Tablet Horizontal (992px - 1199px) */
@media (max-width: 1199px) {
  .zs-nav-menu {
    gap: 8px;
  }
  .zs-nav-link {
    font-size: 0.82rem;
    padding: 4px 10px;
  }
  .banner-three-title {
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
  }
  .zs-hero-portrait {
    max-height: 420px;
  }
}

/* Tablet & Mobile (<992px) */
@media (max-width: 991px) {
  .zs-nav-menu {
    display: none; /* Mobile menu toggled via hamburger */
  }
  .zs-recruiter-banner {
    padding: 20px;
  }
  .zs-hero-portrait {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    max-height: 380px;
    margin: 20px auto;
    display: block;
  }
  .banner-three-man {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    text-align: center;
    margin-bottom: 24px;
  }
  .banner-three-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px;
  }
  .banner-three-left, .banner-three-right {
    width: 100% !important;
  }
}

/* Small Tablets & Mobile Phones (<768px) */
@media (max-width: 767px) {
  .zs-recruiter-banner {
    border-radius: 12px;
    padding: 18px 16px;
  }
  .zs-metric-val {
    font-size: 1.3rem;
  }
  .zs-metric-pill {
    padding: 10px;
  }
  .zs-hero-portrait {
    max-height: 300px;
  }
  .banner-three-title {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    line-height: 1.1 !important;
  }
  .zs-project-card {
    padding: 18px;
  }
  .zs-skill-card {
    padding: 18px;
  }
  .zs-skill-tag {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* Tiny Mobile Screens (<480px) */
@media (max-width: 479px) {
  .zs-btn-primary, .zs-btn-outline {
    width: 100% !important;
    margin-bottom: 8px;
  }
  .banner-three-button {
    flex-direction: column !important;
    width: 100%;
  }
  .zs-hero-portrait {
    max-height: 260px;
  }
}
