/* ===========================
   Global Reset & Base Styles
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
}

/* ===========================
   Navbar
=========================== */
.navbar {
  background: #1e293b;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.logo a {
  color: #38bdf8;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.logo span {
  color: #facc15;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #38bdf8;
}

/* ===========================
   Hero Section
=========================== */
.hero-section {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  padding: 100px 0 70px;
  text-align: center;
  color: #f8fafc;
}

.hero-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-section p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* ===========================
   Main Container
=========================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
}

.section {
  margin-bottom: 60px;
}

h3 {
  font-size: 1.8rem;
  color: #38bdf8;
  margin-bottom: 15px;
  border-left: 4px solid #38bdf8;
  padding-left: 10px;
}

/* ===========================
   Profile Intro
=========================== */
.profile-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.profile-photo-box {
  flex: 1 1 250px;
  text-align: center;
}

.profile-photo {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
}

.profile-text {
  flex: 2 1 400px;
}

/* ===========================
   Timeline
=========================== */
.timeline {
  background: #1e293b;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.timeline ul {
  list-style: none;
}

.timeline li {
  padding: 12px 0;
  border-left: 3px solid #38bdf8;
  padding-left: 15px;
  margin-left: 10px;
  color: #e2e8f0;
}

.timeline li strong {
  color: #facc15;
}

/* ===========================
   Skills
=========================== */
.skills {
  background: #0f172a;
  border: 1px solid #1e3a8a;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.skill-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.skill-list li {
  background: #1e293b;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.3s ease;
}

.skill-list li:hover {
  background: #334155;
}

/* ===========================
   Faith Section
=========================== */
.faith {
  background: #1e293b;
  padding: 25px 30px;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.faith p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
}

/* ===========================
   Contact
=========================== */
.contact {
  margin-top: 50px;
}

.contact p {
  margin: 10px 0;
  font-size: 1rem;
  color: #e2e8f0;
}

.contact a {
  color: #38bdf8;
  text-decoration: none;
}

.contact a:hover {
  color: #facc15;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #1e293b;
  padding: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 80px;
  border-top: 2px solid #38bdf8;
}

.footer p {
  margin: 0;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section h2 {
    font-size: 2rem;
  }

  .profile-intro {
    flex-direction: column;
    text-align: center;
  }

  .timeline,
  .skills,
  .faith {
    padding: 20px;
  }
}
