
.rect {
    position: relative;
    /* height: 00%; */
    text-align: left;
    
}

.rect img {
    width: 100%;
    max-height: 300px;
    /* min-height: 200px; */
}

.top-small-header {
    background-image: url(../assets/images/Blue-Background.svg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 258px;
    background-size: 100% 122% 51% 24%;
    background-position: center center;
}

.rect .less-than-symbol {
    display: inline-block;
    vertical-align: middle; /* Align the symbol with the text */
    margin: 0 5px; /* Adjust spacing between Home and Blogs */
    width: 16px; /* Adjust the width to make it smaller */
    height: auto; /* Maintain aspect ratio */
}

.rect h2 {
    position: absolute; 
    top: 60%;
    /* left: 100px; */
    transform: translateY(-50%);
    margin: 0;
    font-size: 2rem;
    color: #FFFFFF;
    font-family: "Ubuntu", sans-serif;
}

.rect p {
    /* margin-left: 100px; Align with h2 */
    font-size: 1rem;
    margin-top: 10px; /* Space between h2 and p */
    color: #FFFFFF;
    font-family: "Ubuntu", sans-serif;
    position: absolute; /* Keep p absolutely positioned */
    top: 65%; /* Position below h2 (adjust +30px for desired spacing) */
}

.rect p span {
    color: #FFFFFF; /* Teal color for the span */
}

@media (max-width: 768px) {
    
    
    .rect h2 {
        padding-top: 10px;
        top: 60%;
        font-size: 1.5rem;
    }

    .rect p {
        top: calc(50% + 30px);
        font-size: 0.9rem;
    }
}


@media (max-width: 480px) {
    

    .rect h2 {
        padding-top: 10px;
        top: 70%;
        font-size: 1.2rem; /* Smaller font for mobile devices */
    }

    .rect p {
        top: calc(50% + 30px);
        font-size: 0.8rem; /* Smaller text for mobile */
    }
}

.m-content p{
    font-size: 16px;
    font-weight: 400;
    color: #828282;
    font-family: "Poppins", sans-serif;
}

.m-content h2{
    font-size: 24px;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    color: #282C4B;
}

.m-content .m-heading{
    font-size: 32px;
    font-weight: 700;
    font-family: "Ubuntu", sans-serif;
    color: #333333;
}
.m-content .s-heading{
    font-size: 16px;
    font-weight: 700;
    font-family: "Ubuntu", sans-serif;
    color: #828282;
}

.container .m-content .row .left .typing_img{
    width: 90%;
}

.input-box{
    position: relative;
  }
  
.right .search_box .form-control{
    height: 50px;
    width: 100%;
}

.right .search_box .input-box .fa{
    color: #003566;
    
}
  .input-box i {
    position: absolute;
    right: 13px;
    top:15px;
    color:white !important;
  
}
.input-box {
    border: 1px solid #ccc; /* Optional: Add border to the container */
    border-radius: 5px; /* Optional: Add rounded corners */
    overflow: hidden;
}

.input-box i {
    top: 0;
    right: 0;
    background-color: #003566 !important; /* Bootstrap primary blue color */
    color: #fff;
    padding: 20px; /* Add padding for better spacing */
    border-radius: 0 5px 5px 0; /* Rounded corners on the right */
}

/* profile card */
.profile-card {
    width: auto;
    height: auto;
    background-color: #1769aa;
    color: white;
    min-height: 430px; /* Setting a minimum height to maintain the overall structure */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is spaced, with icons at the bottom */
}
 
.profile-card .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.start .p-border {
    border-bottom: 1px solid #3e82b8;
    font-size: 16px;
    color: #dcdcdc;
    margin-bottom: 10px;
}
 
.start .social-icons {
    display: flex;
    justify-content: center; /* Centers the icons horizontally */
    margin-top: 15px;
}
 
.start .social-icons a {
    margin-right: 15px; /* Adds spacing between the icons */
   
}
 
.start .social-icons img {
    width: 30px; /* Size of the social icons */
    height: 30px;
}
 

.card {
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 20px;
}

.card-title {
    font-weight: 600;
    size: 20px;
    font-family: "Poppins", sans-serif;
    color: #333333;
}

.article-menu {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.article-menu li {
    margin-bottom: 15px;
    padding: 10px 0;
    font-weight: 400;
    font-size: 16px;
    font-family: "Raleway", sans-serif;
    color: #1b1b1f;
    position: relative;
}

.article-menu a {
    color: #333;
    text-decoration: none;
}

.article-menu a:hover {
    color: #0a4b93;
}

/* Active link styling */
.article-menu li.active a {
    color: #003566;
    font-weight: 600;
    position: relative;
}

.article-menu li.active a::before {
    content: '';
    position: absolute;
    left: -10px; /* Adjust for spacing */
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100%;
    background-color: #0a4b93;
    border-radius: 2px;
}



.tags{
    border: 1px solid #e0e0e0;
    padding-left: 5px; 
}

.card .row p{
    
    font-size: 13.75px;
    color: #4f4f4f;
    font-weight: 400;
    max-width: 112px;
    padding: 10px 0px 10px 0px;
}

.last .icons{
    position: relative;
    height: 45.66px;
    width: 51.05px;
    margin: 10px;
}


.last .icons .logo{
    position: absolute;
    left: 55%;
    top: -7%;
}


.part2 .content , .part3 .content{
    max-width: 846px;
}
.p2-heading, .p3-heading{
    
    font-size: 37px;
    color: #2b2d42;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
}

.p2-heading{
    border-bottom: 2px solid #c4c4c4;

}



.part2 .profiles .p-info h2{
    font-weight: 500;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    color: #2b2d42;
}

.part2 .profiles .p-info p{
    font-weight: 400;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    color: #6c6c6c;
}

.comment-input {
    height: 200px; /* Set your desired height */
    resize: none; /* Prevents resizing if you want a fixed height */
}


.custom-button {
    background-color: #003566; /* Change to your desired color */
    width: 197px; /* Set your desired width */
    height: 55.45px;
    border-color: #003566; /* Ensure border color matches the background */
    color: white;
    border-radius: 0px;
}

/* Optional: Change hover color for better UX */
.custom-button:hover {
    background-color: #003566; /* Darker shade for hover */
    border-color: #003566;/* Darker border for hover */
}

.part3 .content{
    border-bottom: 1px solid #6c6c6c;
}


/* part4 */

.part4 .card {
    margin-bottom: 50px;
    max-width: 380px;
    height: 380px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px){
    .part4 .card {
        max-width: 320px;
    }
}

.part4 .c-link {
    color: #404040;
    font-size: 14px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
}

.part4 .c-link span {
    border-bottom: 1px solid #404040;
}

.part4 .card-body {
    padding-bottom: 55px;
}

.part4 .card-body .card-heading {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

.part4 .card-body .card-text {
    font-size: 14px;
    color: #6c6c6c;
}

.part4 .m-content {
    position: relative;
    top: -1px;
    padding-bottom: 10px;
    transition: top 0.7s ease;
}

.part4 .card:hover .m-content {
    top: -25px;
}

.part4 .dash {
    margin-left: 120px;
    height: 4px;
    width: 110px;
    background-color: #008080;
    opacity: 0;
    transition: margin-left 1s ease, opacity 1s ease;
}

.part4 .card:hover .dash {
    margin-left: 110px;
    opacity: 1;
}

.part4 .card-img-wrapper {
    position: relative;
    width: 100%;
}

.part4 .card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

.part4 .overlay-img {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: auto;
}


.tags-share-container {
    border: 1px solid #ddd;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tags-share-container .m-tags,
.tags-share-container .share {
    display: flex;
    align-items: center;
}
.tags-share-container .m-tags p,
.tags-share-container .share p {
    margin: 0;
    font-weight: bold;
}
.tags-share-container .m-tags span {
    margin-left: 5px;
    color: #555;
}
.tags-share-container .social-icons a {
    margin: 0 5px;
    color: #555;
}

.cust-tags{
    margin: 5px;
    width: auto;
    float: left;
    display: block;
}

.cust-tags .tags{
    padding: 10px !important;
}

.bcard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensures even spacing between cards */
    gap: 20px; /* Adds gap between cards */
}

.bcard .card {
    flex: 1 1 calc(33.333% - 20px); /* 3 cards per row with space for gaps */
    margin: 0; /* Removes the horizontal margin (mx-4) */
}
