/* Reset default margin and padding */
body, html {
  margin: 0;
  padding: 0;
}

/* Set background color and font styles */
body {
  background-color: #fdf7e8;
  font-family: Arial, sans-serif;
  color: #143d59;
}

/* Center the content */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 25px;
}

/* Style the navigation */
.navigation {
  background-color: #143d59;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.navigation a {
  color:  #fdf7e8;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: #007bff;
}

/* Style the headings */
h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Style the paragraphs */
p {
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

/* Style the list */
ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Style the links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

/* Add styles for image */
img.chalk {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* Add styles for collapsible sections */
.collapse-btn {
  cursor: pointer;
  color: #007bff;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.collapse-btn:hover {
  color: #0056b3;
}

.collapse {
  display: none;
}

/* Media query for responsive layout */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 15px;
  }
}
 hr{
   height:2px;
   border-width:0;
   color:#143d59;
   background-color:#143d59;
 }


nav ul li a, .dropbtn {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover, .dropdown:hover .dropbtn {
    background-color: #111;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.cv-section {
    padding: 20px;
    margin: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 2rem;
  background-color: #f9f9f9;
}

.blog-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: scale(1.02);
}

.blog-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.blog-card .date {
  color: gray;
  font-size: 0.9rem;
}

.blog-card .excerpt {
  margin: 1rem 0;
}

.read-more {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}
