/* styles.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #e0e5ec;
    color: #333;
    line-height: 1.6;
}


/* preloader */

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 10%;
    background-color: #181818;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #dddddd;
}

.hero p {
    font-size: 1.2rem;
    color: #bbbbbb;
}

/* Search Section */
.search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px auto;
    padding: 20px;
    background-color: #e0e5ec;
    border-radius: 20px;
    width: 80%;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
}

.search-section input,
.search-section select,
.search-section button {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background: #e0e5ec;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    transition: all 0.3s ease;
}

.search-section input:focus,
.search-section select:focus,
.search-section button:hover {
    box-shadow: inset 5px 5px 15px #a3b1c6, inset -5px -5px 15px #ffffff;
}

/* Grid Popup */
#gridPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e0e5ec;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    display: none;
    z-index: 1000;
    width: 60%;
    max-height: 70vh;
    overflow-y: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.grid-container div {
    padding: 10px;
    background-color: #d1d9e6;
    border-radius: 10px;
    text-align: center;
    box-shadow: 3px 3px 8px #a3b1c6, -3px -3px 8px #ffffff;
    cursor: pointer;
}

#closeGrid {
   margin-top: 10px;
    padding: 10px 50px 10px 50px;
    border-color: #d1d9e6;
    background-color: #d1d9e6;
    border-radius: 10px;
    text-align: center;
    box-shadow: 3px 3px 15px #a3b1c6, -3px -3px 15px #ffffff;
    cursor: pointer;
}

/* Subbox Styling */
#gridbutton{
    margin: none;
    padding: none;
    width: 45px;
    height: 45px;
}

.results-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 10%;
}

.subbox {
    background-color: #e0e5ec;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    transition: transform 0.3s;
}

.subbox:hover {
    transform: translateY(-5px);
}

.subbox-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.book-icon {
    width: 50px;
    height: 50px;
    background-color: #d1d9e6;
    padding: 10px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: inset 2px 2px 6px #a3b1c6, inset -2px -2px 6px #ffffff;
}

.syllabus-preview {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.syllabus-preview img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
}

.download-btn img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #d1d9e6;
    padding: 5px;
    border-radius: 50%;
    box-shadow: inset 2px 2px 6px #a3b1c6, inset -2px -2px 6px #ffffff;
}

/* Quick Access Links Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background-color: #e0e5ec;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    box-shadow: inset 5px 5px 15px #a3b1c6, inset -5px -5px 15px #ffffff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e0e5ec;
    min-width: 150px;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    border-radius: 10px;
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 6px 10px;
    text-decoration: none;
    display: block;
    font-size: 15 ;
}

.dropdown-content a:hover {
    background-color: #d1d9e6;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* Quick Access Links */
.m-quick-links {
    text-align: center;
    padding: 20px 10%;
    background-color: #e0e5ec;
}

.m-quick-links a {
    display: block;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
}

.m-quick-links a:hover {
    text-decoration: none;
}
.vct{
    position: relative;
    display: grid;
    place-items: center;
}
.videocourse{
    position: relative;
    display: grid;
    place-items: center;
    margin-top: 10px;
    padding: 10px;
    background-color: #e0e5ec;
    min-width: 150px;
    box-shadow: 5px 5px 15px #a3b1c6, -5px -5px 15px #ffffff;
    max-width: 280px;
    border-radius: 10px;
}

