/* ==== Global Reset & Defaults ==== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #f9f9f9;
}

h1, h2, h3 {
  margin: 0 0 10px;
 
}

p {
  margin: 5px 0;
}

a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ==== Header ==== */
header {
  background: #1f2937;
  color: white;
  padding: 40px 20px;
  text-align: center;
}
header p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-top: 10px;
}

/* ==== Navigation ==== */
.nav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  background-color: #333;
}
.nav li {
  flex: 1;
}
.nav a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
}
.nav a:hover:not(.active) {
  background-color: #111;
}
.active {
  background-color: #04AA6D;
}

/* ==== Layout Containers ==== */
main {
  max-width: 1264px;
  margin: 40px auto;
  padding: 0 20px;
}
section {
  margin-bottom: 40px;
}

.no-margin {
  margin-bottom: 0;
}

.job {
	margin-bottom: 20px;
}


/* ==== Project Cards ==== */
.project {
  text-align: center;
  margin-bottom: 40px;
}
.project p {
  margin-top: 0;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

video, img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==== Resume Layout ==== */
.resume-layout {
  display: flex;
  gap: 20px;
}

.resume-section, .skills-section, .article-page {
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.resume-section, .video-container { flex: 2; 
}

.skills-section, .image-container { flex: 1; 
	text-align: center;
	}
.skills-list {
  list-style: none;
  padding: 0;
}
.skills-list li {
  margin-bottom: 6px;
}


/* ==== Blog Layout ==== */
.blog-layout {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-card {
  display: flex;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-decoration: none;
}

.blog-image {
  flex: 0 0 350px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.blog-content {
  padding: 20px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-content h2 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  color: #333;
}

.author-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.blog-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* ==== Resource Layout ==== */
.resource-layout {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.resource-post {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.resource-post h2 {
  margin-bottom: 5px;
  color: #1f2937;
}

/* ==== Article Layout ==== */
.article-page h1 {
	text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article-page h2 {
  margin-top: 1rem;
  color: #444;
}

.article-page p {
  font-size: 1.11rem;
  color: #444;
}

.article-page ul, ol {
	font-size: 1.11rem;
  margin-left: 1.5rem;
  list-style-type: disc;
}


.blog-nav {
    display: flex;
    justify-content: center;
    gap: 60px; /* space between buttons */
    margin-top: 40px;
}

.blog-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.blog-btn:hover {
    background-color: #555;
}


/* ==== Footer ==== */
.social-footer {
  text-align: center;
  padding: 20px 0;
  background-color: #1f2937;
}

.social-footer p{
text-align: center;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 8px; /* Rounded corners */
  color: white;
  text-align: center;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.social-icon.linkedin {
  background-color: #0077B5;
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon:hover {
  opacity: 0.85;
}



.big-arrow {
  font-size: 50px;
  color: #333;
}


.contact{
	text-align: center;
	padding: 20px;
}

.contact h2{
	padding: 0px;
	color: #04AA6D;
}
	.contact h3{
	padding: 0px;
	}