/* Navbar container */
h1, h2, h3, h4{
    color: #1b264f;
}
p{
    color: #302b27;
}


body{
    padding-top: 100px;
    background-color: #f5f3f5;
    font-family: "Open Sans", sans-serif;
    align-items: center;
    text-align: center;
    margin: 0
}


.navbar {
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background-color: #1b264f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;       /* horizontal padding only */
    box-sizing: border-box; /* include padding inside width */
}

.hamburger {
  display: none;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* Nav links */
.nav-links {
  display: flex;                     /* horizontal list items */
  list-style: none;                  /* remove bullets */
  padding: 0;
  margin: 0;
  gap: 2rem;                         /* space between Services, About, Contact */
}

/* Links styling */
.nav-links li a {
  text-decoration: none;
  color: #f5f3f5;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #0b5ed7;
}


footer{
    background-color: #1b264f;
    color: #fff;
    padding: 10px 100px;
    
}
footer a {
    color: #fff;
}
footer ul{
    list-style: none;
}
a {
    text-decoration: none;
}
footer h4{
    color: #fff;
}
footer p{
    color: #fff;
}
.footer-container{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.footer-box{
    width: 30%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px 20px
}
.service-footer{
    justify-content: space-around;
}
.social-media{
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.brand-header{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 2px solid #302b27;
}

html {
    scroll-behavior: smooth;
}


@media (max-width: 500px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1b264f;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }
  
}


@media (max-width: 1000px){
    .footer-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    footer{
    text-align: center;
  }
  .footer-box{
    margin: 0;
  }
}

.blog-hero {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.blog-hero p {
    font-size: 1.2em;
}

.blog-posts {
    padding: 60px 20px;
    background-color: #fff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-card h3 {
    font-size: 1.3em;
    margin: 15px;
}

.post-card p {
    margin: 0 15px 20px;
    font-size: 1em;
    line-height: 1.4em;
}

.post-card a {
    text-decoration: none;
    color: #007BFF;
}

.post-card a:hover {
    text-decoration: underline;
}



