:root {
    --primary: #3a49a6;
}
.hero-section {
    background-image: url('../images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    padding: 100px 0;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: bold;
    font-size: 3rem;
}

.hero-section h2 {
    font-weight: bold;
    font-size: 3rem;
    text-decoration: underline;
}
.post-cover{
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.hero-section p {
    padding-top: 1.5rem;
    font-size: 2.1rem;
}
.bg-primary {
    background-color: var(--primary) !important;
}

.hero-section .btn-primary {
    background-color: var(--primary);
    font-size: 1.5rem;
    margin-left: 3rem;
    border-radius: 35px;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.circle {
    width: 80px;
    /* Adjust size as needed */
    height: 80px;
    /* Adjust size as needed */
    border-radius: 50%;
    /* Makes it a circle */
    background-color: white;
    /* Background color of the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    /* Space between elements */
    color: black;
    /* Icon color */
    font-size: 20px;
    /* Icon size */
    cursor: pointer;
}

.hero-section .watch-video-link {
    display: inline-flex;
    align-items: center;
}

.watch-video-link {
    font-size: 1.5rem;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.hero-section .btn-outline-dark {
    border-color: white;
    color: white;
}

.hero-section .btn-outline-dark:hover {
    background-color: white;
    color: black;
}

.navbar {
    padding: 1rem 0;
}

.dropdown-menu {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Dropdown item styling */
.dropdown-item {
    color: #333;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.navbar-brand {
    font-size: 2.3rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
}

.nav-link i {
    margin-left: 8px;
    font-size: 1rem;
}

.navbar .btn-primary {
    font-size: 1.1rem;
    padding: .7rem .6rem;
    border-radius: 25px;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    text-align: center;
}

.navbar-nav .nav-item {
    margin-left: 20px;
    margin-right: 20px;
}

.navbar-nav .nav-link {
    color: #000;
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

.search-icon {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
} 

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
} 
.navbar-nav .nav-link:hover {
    color: var(--primary);
}



.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}


.category-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.category-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    display: flex;
    background: #c1f0c6;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-img {
    width: 60%;
    height: 70%;
    object-fit: cover;
    padding-top: 10px;
}

.category-card:hover {
    transform: translateY(-10px);
}

.expert-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.expert-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary);
}

.expert-card p.text-muted {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.expert-card p.small {
    font-size: 0.9rem;

    font-weight: bold;
    color: #777;
}


.author-card {
    text-align: center;
    width: 200px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.author-card:hover {
    transform: scale(1.05);
}

.author-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.author-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--primary);
}

.author-card .text-muted {
    font-size: 0.95rem;
}

.author-card .small {
    font-size: 0.85rem;
    color: #777;
}

.d-flex {
    display: flex;
}

.article-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-section {
    background-color: white;
    padding: 60px 0;
}

.testimonial-section .img-fluid {
    /* padding-left: 2rem; */
    /* width: 400px; */
}

.testimonial-section h2 {
    font-weight: bold;
    font-size: 3rem;
}

.testimonial-section p {
    font-size: 1.5rem;
    color: grey;
}

.d-flex.gap-2 img {
    width: 100px;
}



footer ul li a {
    color: grey;
    text-decoration: none;
    font-size: 1.7rem;
    color: grey;

}


footer ul li a:hover {
    color: darkgrey;
}

/* Footer styling */
footer {
    color: #333;
    background-color: #f8f9fa;
    padding: 3rem 0;
}

footer h1 {
    font-size: 2rem;
}

footer p.small {
    color: grey;
    font-size: 1.3rem;
}

footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    background: #ffd7d8;
    color: #333;
}

footer .social-icons {
    display: flex;
    gap: 10px;
}

footer ul.list-unstyled a {
    text-decoration: none;
    color: #333;
}

footer .social-icons a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

footer .d-flex {
    display: flex;
    
    align-items: center; 
}

footer .footer-content p {
    font-size: 1.5rem;
    align-items: center;
}
footer .copyright {
    font-size: 1.5rem;
    color: grey;
}


footer .footer-bottom {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 3rem 1rem;
}


.a1{
    color: #f8f9fa;
}
.breadcrumb_nav {
    gap: 26px;
    list-style-type:none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 25px;
    
}
.category-card a {
    text-decoration: none;
    color: #111;
}