 
/* article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
background: linear-gradient(to bottom, #33ccff 0%, #ff99cc 100%);
} */

/* article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
} */

/* basic article elements styling */
/* article h2 {
  margin: 0 0 18px 0;
  font-family: "Bebas Neue", cursive;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--title-color);
  transition: color 0.3s ease-out;
} */

/* 
article img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #28666e;
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
} */

/* using the has() relational pseudo selector to update our custom properties */
/* article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
} */




/* .articles {
  display: grid;
  max-width: 1350px;
   margin:22px;
  margin-inline: auto;
  padding-inline: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
} */

/* @media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    display: block;
  }
}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .article-body {
    padding-left: 0;
  }

} */

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}


@import url(https://fonts.googleapis.com/css?family=Oswald|Roboto|Slabo+27px);
@import 'bourbon.html';

/* body{
  background:#ececec;
} */

/* h1{
  font-size:32px;
  margin-top:30px;
  font-family: 'Oswald', sans-serif;  
  text-align:center;
} */

/* .container {
    max-width: 100%;
    margin: 20 auto;
    height: 100%;
} */

/* .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3%;
    margin: 5% 0;
} */

.card {
    overflow: hidden;
    padding: 20px;
    background-color: #FFF;
    border-radius: 30px;
    text-align: justify;
}


.card_img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.card_body {
    padding: 26px 20px 36px 20px;
}

.card_title {
    font-family: 'Merriweather',
        serif;
    font-weight: 900;
    text-transform: capitalize;

    font-size: 26px;
    padding-bottom: 20px;
}

.card_body p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;

}

p.card_author {
    font-size: 15px;
    padding-top: 15px;

}

p.card_author a {
    color: #1B1C34;
    font-style: italic;
}

p.card_author a:hover {
    font-weight: bold;
}

a.read_more {
    color: #FFF;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1.1px;
    background: #0F1616;
    margin-top: 50px;
    padding: 24px 0px;
    border-radius: 15px;
    display: inline-block;
    width: 70%;
    transition: all .3s ease-in-out;
}

a.read_more:hover {
    box-shadow: 0px 1px 50px rgba(0, 0, 0, 0.15);
    background: #404040;
}

.link {
    position: fixed;
    background-color: #D12322;
    padding: 23px 40px;
    right: -106px;
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
    transform: rotate(-90deg);
    font-size: 18px;
    font-weight: 500;
    color: #FFF;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .1s ease-in-out;
}

.link i {
    padding-left: 7px;
}

.link:hover {
    text-decoration: underline;
    background-color: black;
}

@media only screen and (max-width: 1441px) and (min-width: 1025px) {
    .container {
        max-width: 80%;
    }

    .grid {
        gap: 2%;
    }

    .card {
        padding: 15px;
    }

    .card_body {
        padding: 15px;
    }

    .card_title {
        font-size: 22px;
        padding-bottom: 14px;
    }

    .card_body p {
        font-size: 16px;
    }

    a.read_more {
        padding: 19px 0;
        width: 60%;
        font-size: 11px;
        margin-top: 30px;
    }

}

@media only screen and (max-width: 1024px) {

    .grid {
        grid-template-columns: 1fr;
        gap: 2%;
    }
}

@media only screen and (max-width: 425px) {
    .container {
        max-width: 90%;
    }

    .card {
        padding: 20px 10px;
    }

    .card_body {
        padding: 7px;
    }

    .card_title {
        font-size: 20px;
        padding-bottom: 7px;
    }

    .card_body p {
        font-size: 14px;
    }

    a.read_more {
        padding: 15px 0;
        margin-top: 20px;
    }

}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card:hover .card_img img {
    transform: scale(1.1);
}
/* Basic styles for the section */
.section-title {
    text-align: center;
    margin: 20px 20px;
    padding: 10px;
}

/* Basic styles for the section */
.section-title {
    text-align: center;     /* Center the text */
    margin: 20px 0;         /* Vertical margin */
    padding: 10px;          /* Padding inside the section */
    background-color: #f8f9fa; /* Light background color for contrast */
    border-radius: 100px;   /* Slightly rounded corners*/
}

/* Style for the h1 tag */
.section-title h1 {
    font-size: 2em;         /* Default size for large screens */
    color: #FFF;            /* Dark grey text color */
    margin: 0;              /* Remove default margin */
    line-height: 1.2;       /* Line height for better readability */
}

/* Responsive styles for medium screens (tablets) */
@media (max-width: 768px) {
    .section-title h1 {
        font-size: 1.5em;   /* Adjust font size for tablets */
    }
}

/* Responsive styles for small screens (mobile) */
@media (max-width: 480px) {
    .section-title h1 {
        font-size: 1.2em;   /* Adjust font size for mobile devices */
    }
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
}

.card-img h1 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 1.5em;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.card-text {
    padding: 20px;
    color: #555;
}

.card-text p {
    margin: 0;
    line-height: 1.6;
}

.read-more {
    display: block;
    padding: 15px;
    text-align: center;
    background-color: #4B51C5;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #19BBB2;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .blog-card {
        max-width: 100%;
    }
}

/* Example media query for tablets */
@media (min-width: 768px) {
    .container {
        padding: 0 40px; /* adjust padding for tablets */
    }
	
	

}

/* Example media query for phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px; /* adjust padding for smaller screens */
    }
}

 .header-box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top:-10px
            padding: 0px 0px;
			padding-top: -10px;
        }
		 .sub-header {
            display: flex;
            justify-content: flex-end;
            padding: 10px 20px;
            background-color: #0E86CC;
			 margin-top:-10px
			  
		}
 .contact-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
	padding-top:30px;
	gap: 20px;
}
        .contact-info {
           
		
            flex-direction: row; /* Arrange items in a column */
            
        }

        
 @media (max-width: 768px) {
            .contact-info {
            gap:-40;
   
    flex-direction: column;
	 }
   .sub-header {
	   max-width: 100%;
				}


       .social-icons{

        flex-direction: row;
    align-items: flex-start;
	padding-top:20px;

       }
 }
.articles
{
	background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.card{
	background: linear-gradient(to bottom, #ebf1f6 0%,#abd3ee 50%,#abd3ee 51%,#7db9e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px;
	/* background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
/* Section title styles */
.section-title {
    text-align: center;
    padding: 5px 0;
    background-color: #298cca;
    /* background-image: linear-gradient(to bottom right, #621222, #19BBB2); */
    border-radius: 10px;
    color: white;
}

/* .section-title h1 {
    font-size: 2.2em;
    margin: 0;
    color: white;
} */
   .recent-posts-container {
    display: flex;
    gap: 10px; /* Reduced gap between posts and sidebar */
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: space-between;
    margin: 0 20px; /* Left and right margins */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

 .recent-posts .card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.recent-posts .card:hover {
    transform: scale(1.05);
}

.recent-posts .card-img-top {
    height: 200px;
    object-fit: cover;
}






@media (max-width: 768px) {
    .recent-posts .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 769px) {
    .recent-posts-container {
        gap: 10px; /* Reduced gap specifically for larger screens */
    }
}


@media (max-width: 576px) {
    .recent-posts .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

	