@charset "utf-8";
/* CSS Document for home page */

*{
scroll-behavior: smooth !important;
}


a{
	 color:#FFF;
}
/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #0C1B4D;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

/* Header Styles */
header {
    background-color: #0C1B4D;
    padding: 15px 0;
	 z-index:100;
}

.navbar-brand img {
    height: 25px;
}


.navbar-nav .nav-link {
    color: #0C1B4D; /* Updated to the specified dark blue color */
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.anchor {
    color: #0C1B4D; /* Updated to the specified dark blue color */
    padding: 0.5rem 1rem;
    font-weight: 600;
	padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff; /* Hover color for menu items */
}

.btn-primary {
    background-color: #0C1B4D;
    border-color: #007bff;
	 
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 60px 0;
    color: #fff;
    background-image: url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
}

.hero .btn {
    margin-top: 20px;
    background-color: #0C1B4D;
    color: #ffffff;
	border-color:#FFF;
}

/* About Us Section */
.about-us {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-us h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1.1rem;
}

.about-us img {
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Highlights Section */
.highlights {
    padding: 60px 0;
    background-color: #fff;
}

.highlights h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.highlights ul {
    list-style: none;
    padding: 0;
}

.highlights ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    padding-left: 20px;
    position: relative;
}

.highlights ul li::before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
}

/* Certification Section */
.certification {
    padding: 60px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.certification .card {
    border: none;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.certification .card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.certification .card h2 {
    font-size: 2rem;
    margin: 15px 0;
}

/* Blog Section */
.blog {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.blog h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.blog .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog .card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog .list-group-item {
    padding: 15px;
    font-size: 1rem;
}

.blog .list-group-item:hover {
    background-color: #e9ecef;
}













 

header h1 {
    color: #000080;
    font-size: 2.5em;
}









/* Main Layout */
main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping of content on smaller screens */
}

/* Featured Post */
.featured-post {
    flex: 2;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px; /* Add some spacing at the bottom for better stacking */
}

.featured-post img {
    width: 100%;
    border-radius: 10px;
}

.post-meta {
    margin-top: 10px;
}

.category {
    color: #4169E1;
    font-weight: bold;
}

.date {
    color: #808080;
    margin-left: 10px;
}

.author {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.author-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

.read-more, .learn-more{
    color: grey;
    text-decoration: none;
    margin-left: auto;
	 font-size: 0.8em;
}


.author-name{
    color: grey;
    text-decoration: none;
    
	 font-size: 0.8em;
}

/* Recent Posts */
.recent-posts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content next to the image */
}

.post h3 {
    margin: 0 0 10px 0;
    font-size: 1em;
}

.post .author {
    margin-top: 5px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    main {
        flex-direction: column; /* Stack content vertically on smaller screens */
    }

    .featured-post, .recent-posts {
        flex: 1 1 100%; /* Take full width on smaller screens */
    }

    .post {
        flex-direction: row; /* Keep the image and content side by side on smaller screens */
    }

    .post img {
        width: 80px; /* Reduce image size for smaller screens */
        height: 80px;
    }

    .post-content {
        justify-content: flex-start; /* Align content at the top */
    }
}

@media (max-width: 480px) {
    .post h3 {
        font-size: 0.9em; /* Slightly smaller heading for mobile devices */
    }

    .post img {
        width: 60px; /* Further reduce image size for very small screens */
        height: 60px;
    }

    .featured-post h2 {
        font-size: 1.2em; /* Adjust featured post title size */
    }

    .post {
        flex-direction: row; /* Ensure side-by-side layout */
    }
}


























/* Contact Us Section */
.contact-us {
    padding: 60px 0;
    background-color: #fff;
}

.contact-us h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-us .form-group {
    margin-bottom: 20px;
}

.contact-us input, .contact-us textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

.contact-us input:focus, .contact-us textarea:focus {
    border-color: #007bff;
}

.contact-us .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color:#0C1B4D;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}



.img {
   object-fit: cover;
  color: #fff;
    background-image: url('../images/hero_bg.jpg');
	text-align: left;
	padding-left:20px;
	 border-radius: 10px;
	padding-top:15px;
	padding-bottom:10px;
	
}

 

#navbarNav2 {
  /* overflow: hidden; */
  background-color: #ffffff;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

/* Page content */
.content {
  padding: 16px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
   z-index: 1000;
  top: 0;
   width: 100%;
   
  background-color:#333;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
}



 

@media     (max-width: 900px) { 
#heroImage { margin-top:25px; }

#heroImage2 { margin-top:25px; }
}





/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .about-us .row {
        flex-direction: column-reverse;
    }

    .blog .card {
        margin-bottom: 20px;
    }

    .navbar-brand img {
        height: 18px;
    }
}
