/* Header Styles */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.navbar-nav .nav-link {
    color: #000000;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

/* Align dropdown icon with the Courses link */
.nav-item.dropdown {
    display: flex;
    align-items: center;
    position: relative;
}

.dropdown-toggle-icon {
    cursor: pointer;
    margin-left: 2px;/* Adjust the space between Courses link and icon */
    color: #000000;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #ddd;
    margin-top: 10px;
    min-width: 70px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    display: block;
    text-align: center;
    justify-content: center;
    margin: 10px;
}

.dropdown-item {
    color: #000000;
    padding: 10px 20px;
    
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

/* Search Bar Styles */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    border: none;
    padding: 10px;
    height: 40px;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.5s ease, opacity 0.5s ease, visibility 0s 0.5s;
    border-radius: 5px;
    outline: none;
    background-color: #dbdbdb;
}

.search-btn {
    background-color: #3C3D37;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    margin-left: 10px;
    width: 35px;
    height: 36px;
}

.search-btn i {
    font-size: 18px;
}

.search-btn:hover {
    background-color: #fd0059;
}

.close-btn {
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    margin-left: 10px;
    width: 35px;
    height: 36px;
}

.close-btn i {
    font-size: 18px;
}

.close-btn:hover {
    background-color: #cc0000;
}

.search-input.active {
    width: 200px;
    opacity: 1;
    visibility: visible;
    transition: width 0.5s ease, opacity 0.5s ease;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 10px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-nav .nav-link {
        text-align: center;
    }

    .search-container {
        flex-direction: column;
        margin-top: 10px;
    }

    .search-input {
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: width 0.5s ease, opacity 0.5s ease, visibility 0s 0.5s;
    }

    .search-input.active {
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: width 0.5s ease, opacity 0.5s ease;
    }

    .search-btn {
        width: 100%;
    }
}

/* blog section */


/* Blog Section Styles */
.blog-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-heading {
    font-size: 1.5rem; /* Adjusted for better visibility */
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 1rem; /* Increased margin for spacing */
    color: #333;
    text-align: center; /* Center heading */
}

.start-with-cloud {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    font-family: 'Kameron', serif;
    text-align: center; /* Center heading */
    padding: 10px; /* Add padding for spacing */
    width: 100%; /* Full width */
}

/* Card Styles */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
    margin-bottom: 20px; /* Add margin for spacing */
    width: 100%; /* Full width */
    max-width: 500px; /* Limit max width */
    border-radius: 10px; /* Rounded corners */
}

.card:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly darker shadow on hover */
}

.card-img-top {
    height: 200px; /* Adjusted height for responsiveness */
    object-fit: cover; /* Maintain aspect ratio */
    border-top-left-radius: 10px; /* Match card radius */
    border-top-right-radius: 10px; /* Match card radius */
}

.card-body {
    padding: 1.5rem;
    text-align: center; /* Center text */
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.btn-read-more {
    background-color: #007bff;
    color: #fff;
    transition: transform 0.3s ease;
    display: block; /* Full-width button */
    width: 130px;
    padding: 12px; /* Button padding to match image */
    height: 50px; /* Ensure consistent height */
    text-align: center;
    border: none; /* Remove border */
    border-radius: 5px; /* Slightly rounded corners */
    margin: 0 auto; /* Center the button */
}

.btn-read-more:hover {
    transform: scale(1.05);
    background-color: #0056b3;
    color: #fff;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .section-heading {
        font-size: 1.4rem; /* Slightly smaller heading */
    }

    .card {
        width: 90%; /* Slightly reduce width */
        max-width: 400px; /* Adjust max width */
    }

    .card-img-top {
        height: 180px; /* Adjust image height */
    }

    .btn-read-more {
        width: 100px; /* Adjust button size */
        padding: 10px;
    }
}

@media (max-width: 575.98px) {
    .blog-section {
        padding: 10px; /* Reduce padding for small screens */
    }

    .section-heading {
        font-size: 1.2rem; /* Smaller heading size */
    }

    .start-with-cloud {
        font-size: 1.5rem; /* Smaller font size */
        padding: 8px; /* Adjust padding */
    }

    .card {
        width: 100%; /* Full width */
        max-width: none; /* Remove max width */
    }

    .card-img-top {
        height: 150px; /* Smaller image height */
    }

    .btn-read-more {
        width: 100%; /* Full width button */
        padding: 8px; /* Smaller padding */
    }
}


/*blog section*/



/*newsletter*/

.newsletter-section {
    padding: 0 15px;
    background-color: #f9f8fa;
    
}

.newsletter-heading {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 28px; /* Matches the size in the image */
}

.newsletter-description {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.newsletter-description::before,
.newsletter-description::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 40px; /* Adjust the height as needed */
    background-color: #6c757d;
}

.newsletter-description::before {
    left: 0;
    transform: translateX(-10px); /* Adjust the horizontal spacing as needed */
}

.newsletter-description::after {
    right: 0;
    transform: translateX(10px); /* Adjust the horizontal spacing as needed */
}

.past-issues-link {
    color: #007bff;
    text-decoration: none;
}

.past-issues-link:hover {
    text-decoration: underline;
}

.newsletter-form .form-control {
    border-radius: 0;
    font-size: 16px;
    height: 50px; /* Height adjustment for alignment */
}

.newsletter-form .btn-subscribe {
    border-radius: 0;
    width: 100%;
    max-width: 200px;
    margin-top: 10px; /* Adjust spacing between inputs and button */
    height: 50px; /* Height matching the inputs */
    background-color: #007bff; /* Matching color */
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.btn-subscribe:hover{
    background-color: #ffffff;
    color: #000;
}

/* Toast Styles */
.toast {
    background-color: #343a40;
    color: #fff;
}

.toast .btn-close {
    filter: invert(1);
}
@media (max-width: 768px) {
    .newsletter-heading {
        font-size: 24px;
    }

    .newsletter-description {
        font-size: 14px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .newsletter-heading {
        font-size: 20px;
    }

    .newsletter-description {
        font-size: 12px;
    }

    .newsletter-description::before,
    .newsletter-description::after {
        height: 30px; /* Adjust line height for smaller screens */
    }

    .newsletter-form .btn-subscribe {
        max-width: 100%;
    }
}



/*newsletter*/

/*footer*/

footer {
    background-color: #1E201E; 
    
    color: #fff; 
    
    text-align: center;
    padding: 20px;
    width: 100%;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: center; 
    
    align-items: center;
    flex-direction: column; 
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: white;
}

.brand {
    color: red;
    font-weight: bold;
}

.to-top {
    cursor: pointer;
    margin-top: 10px;
}

.circlee {
    width: 50px;
    height: 50px;
    background-color: #ffffff; 
    
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.circlee:hover {
    background-color: #fd0059; 
    
}

.circlee i {
    font-size: 20px;
    color: #000;
}
.circlee i:hover{
    color: #fff;
}



@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        
        justify-content: space-between; 
        
    }

    .circlee {
        width: 40px;
        height: 40px;
    }

    .circle i  {
        font-size: 18px;
    }

    footer p {
        font-size: 16px;
    }
}


/*footer*/



