/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
}

/* Header */
#main-header {
  background-color: #0f172a;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: #38bdf8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: #38bdf8;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: #e2e8f0;
  padding: 4rem 0;
  text-align: left;
}
#typed-leonard {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  text-align: left;
  margin-left: 0;
  padding-left: 10px;
  max-width: 700px;
  line-height: 1.5;
}

.centered-profile {
  width: 300px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.centered-profile:hover {
  transform: scale(1.05);
}

.role-banner {
  background: linear-gradient(to right, #eef2f5, #008080);
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.banner-text {
  display: inline-block;
  animation: scrollRoles 9s linear infinite;
  white-space: nowrap;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c2c2c;
}

.banner-text span {
  margin: 0 40px;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 3s ease-in-out forwards;
}

.banner-text span:nth-child(1) { animation-delay: 0s; }
.banner-text span:nth-child(2) { animation-delay: 3s; }
.banner-text span:nth-child(3) { animation-delay: 6s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollRoles {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}

.hero h1 span {
  color: #2563eb;
}

.hero p.typing-text {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 1rem;
}
.hero-description {
  text-align: center;          /* Center-aligns the text itself */
  margin-left: auto;           /* Pushes left margin to auto */
  margin-right: auto;          /* Pushes right margin to auto */
  max-width: 700px;            /* Keeps it readable on wide screens */
  margin-top: 30px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-buttons {
  margin: 2rem 0;
}
.hero-buttons,
.social-icons {
  display: flex;
  justify-content: center;      /* Centers horizontally */
  margin-left: auto;
  margin-right: auto;           /* Keeps it centered */
  max-width: 600px;             /* Optional: limits horizontal spread */
  margin-top: 20px;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-right: 1rem;
  background-color: #2563eb;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1e40af;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #fff;
}
.btn {
  background-color: #5D3FD3 !important;
  /* Electric Indigo */
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #4A29B1;
  transform: scale(1.05);
}

.social-icons {
  margin-top: 1.5rem;
}

.social-icons a {
  color: #0f172a;
  font-size: 1.4rem;
  margin-right: 1rem;
}

.social-icons a:hover {
  color: #2563eb;
}

/* === General Reset === */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #333;
}
.landscape-combo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
body {
  background-color: #f4f6f9; /* Crisp light grey tone */
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.section {
  background-color: transparent;
  padding: 60px 20px;
}

.project-card {
  background-color: #ffffff; /* Card stays clean white for contrast */
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Section Titles */
.section-title {
  color: #1b1b1b;
}

.tiles-section {
   background-color: #1B263B !important; /* try adding !important for testing */
  color: #F5F5F5;
  padding: 40px;
  font-family: 'Poppins', sans-serif;
}


/* Link hover effect */
a:hover {
  color: #4e8cff;
}

.about-me {
  padding: 1rem;
}

.identity-details {
  list-style: none;
  padding: 0;
}
.identity-details li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1rem;
}

.metric-box {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.metric-box:hover {
  transform: translateY(-5px);
}

.metric-box i {
  font-size: 2rem;
  color: #4e8cff;
  margin-bottom: 0.5rem;
}

.metric-box h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.metric-box p {
  font-size: 1rem;
  color: #666;
}

/* === Section Titles === */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #222;
}
.section-title span {
  color: #4e8cff;
}

/* === Skill Cards === */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.skill-category {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 1rem;
  transition: transform 0.3s ease;
}
.skill-category:hover {
  transform: translateY(-5px);
}
.skill-category h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.skill-category ul {
  list-style: none;
  padding: 0;
}
.skill-category li {
  margin-bottom: 8px;
  padding-left: 1rem;
  position: relative;
}
.skill-category li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #4e8cff;
}

/* === Projects Grid === */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.project-card {
  background-color: #1B263B;        /* Midnight Blue */
  color: #F5F5F5;                   /* Soft white for legibility */
  font-family: 'Montserrat', sans-serif;
  padding: 24px;
  margin: 24px auto;
  max-width: 720px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.project-tags {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #5D3FD3; /* PLP-inspired violet */
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.project-tags span {
  background: rgba(93, 63, 211, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
}

.project-card {
  border: 1px solid transparent;
  background-image:
    linear-gradient(#1B263B, #1B263B),
    linear-gradient(45deg, #FFD700, #5D3FD3);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}
.project-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  background-color: #121212;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f5f5f5;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.3);
}

.project-img {
  width: 100%;
  max-width: 160px;
  object-fit: contain;
}

.project-details h3 {
  color: #4e8cff;
  margin-bottom: 10px;
}

.project-details p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  list-style: none;
  padding: 0;
}

.tech-stack li {
  background: #333;
  padding: 5px 10px;
  border-radius: 5px;
}

.project-link {
  color: #4e8cff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #82b1ff;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  color: #1b1b1b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
}

.project-details h3 {
  color: #4e8cff;
  margin-bottom: 10px;
}

.project-details p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
}

.tech-stack li {
  background: #eaf0ff;
  color: #4e8cff;
  padding: 5px 10px;
  border-radius: 5px;
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  color: #4e8cff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #82b1ff;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  color: #1b1b1b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
}

.project-details h3 {
  color: #4e8cff;
  margin-bottom: 10px;
}

.project-details p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
}

.tech-stack li {
  background: #eaf0ff;
  color: #4e8cff;
  padding: 5px 10px;
  border-radius: 5px;
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  color: #4e8cff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #82b1ff;
}
.project-logo {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-column {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #4e8cff;
}

.contact-info {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.contact-info i {
  margin-right: 8px;
  color: #4e8cff;
}

.social-icons a {
  display: inline-block;
  margin-bottom: 10px;
  color: #333;
  text-decoration: none;
}
.social-icons i {
  margin-right: 8px;
  color: #4e8cff;
}

/* === Contact Form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.contact-form button {
  background: #4e8cff;
  color: #fff;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact-form button:hover {
  background: #3a77d5;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
  .hero-image img {
    float: none;
    margin: 0 auto;
    display: block;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-column {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #4e8cff;
}

.contact-info {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.contact-info i {
  margin-right: 8px;
  color: #4e8cff;
}

.social-icons a {
  display: inline-block;
  margin-bottom: 10px;
  color: #333;
  text-decoration: none;
}
.social-icons i {
  margin-right: 8px;
  color: #4e8cff;
}

.footer-section {
  background-color: #1b1b1b;
  color: #f5f5f5;
  padding: 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: #4e8cff;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4e8cff;
}

.social-footer a {
  display: block;
  margin-bottom: 10px;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-footer a:hover {
  color: #4e8cff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}
