/* 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%;
    }
}

/*talk*/


section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0;
    padding: 25px;
    font-weight: bold;
}

.subtext {
    margin-bottom: 0;
}

button {
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-tabs {
    margin-bottom: 15px;
    overflow-x: auto; /* Allows the tabs to be scrollable on small screens */
}

.table {
    margin-bottom: 0;
    white-space: nowrap; /* Prevent table data from wrapping */
}

.bi-megaphone {
    margin-right: 8px;
}

.btn-primary {
    display: flex;
    align-items: center;
}

/* Hover effect for table rows */
.table tbody tr:hover {
    background-color: #e0e0e0; /* Light grey background */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Custom styles for clickable rows */
.clickable-row {
    transition: background-color 0.3s ease;
}

.clickable-row:hover {
    background-color: #d3d3d3; /* Slightly darker grey on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }

    .table-responsive {
        overflow-x: auto;
    }

    .table {
        font-size: 0.875rem; /* Smaller font size for smaller screens */
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem; /* Smaller button size */
    }

    button i {
        font-size: 1rem; /* Icon size adapts to button size */
    }

    .row > div {
        flex-direction: column;
    }

    .subtext {
        text-align: center; /* Center align subtext for smaller screens */
    }

    .text-md-end {
        text-align: center; /* Center align button for smaller screens */
    }
}

@media (max-width: 576px) {
    .btn-primary {
        width: 100%; /* Full width button on extra small screens */
        justify-content: center;
    }

    .col-12 {
        flex-direction: column;
    }

    .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .row {
        gap: 10px; /* Adds space between row elements */
    }
}


/*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*/
