@font-face {
    font-family: DM-Serif-Text;
    src: url("../fonts/text_fonts/DMSerifText-Regular.ttf");
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: DM-Serif-Text;
}

body {
    position: relative;
}

/*common*/
.container-fluid {
    padding: 0 7%;
}

section {
    padding: 5% 0;
}

h1 {
    font-size: 42px;
    margin-bottom: 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 0;

}

h3 {
    font-size: 32px;
    margin-bottom: 0;

}

h4 {
    font-size: 26px;
    margin-bottom: 0;

}

h5 {
    font-size: 20px;
    margin-bottom: 0;

}

p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #828282;
    letter-spacing: 1px;
    font-weight: 500;
}

a {
    font-size: 18px;
}

button {
    font-size: 20px;
    padding: 8px;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 6px;

}

button.btn-dark-outline {
    border: 1px solid black;
}

button.btn-light-outline {
    border: 1px solid white;
    background-color: transparent;
}

button.btn-light,
button.btn-dark-outline {
    background-color: white;
}

button.btn-dark {
    background-color: black;
}

button.btn-light a,
button.btn-dark-outline a {
    text-decoration: none;
    color: black;
}

button.btn-dark a,
button.btn-light-outline a {
    text-decoration: none;
    color: white;
}

.blank {
    height: 80px;
}

.error {
    color: red;
}

/*header*/
#header .container-fluid {
    padding: 0 3%;

}

#header {
    background-color: white;
}

button.navbar-toggler {
    width: auto;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
}

#header .nav-link {
    position: relative;
    text-decoration: none;
}

#header .nav-link::after,
#header .nav-item.current-item .nav-link::after {
    content: "";
    display: block;
    height: 2px;
    background: black;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

#header .nav-link:hover,
#header .nav-item.current-item .nav-link {
    color: black;
}

#header .nav-link:hover::after,
#header .nav-item.current-item .nav-link::after {
    width: 100%;
}


#header .nav-link.active::after,
#header .nav-item.current-item .nav-link::after {
    background: black;
    /* Color for the active state underline */
}

/*home banner*/
.home {
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4950574d;
    mix-blend-mode: overlay;
}

.home .content {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 10px;
}

.home .content h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.home .content p {
    font-size: 20px;
    width: 980px;
    max-width: 100%;
    margin: 0 auto;
    line-height: 28px;
    margin-bottom: 30px;
    color: #C0C0C0;
    font-weight: 500;
}

/*home about us*/
.about-content img {
    width: 40px;
    height: 40px;
    max-width: 100%;
    max-height: 100%;
}

/*In depth*/
.in-depth .climate-change-img img,
.human-cosmos .what-for-img img,
.carbon .carbon-emissions-img img,
.nue .nue-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.in-depth .content,
.human-cosmos .content,
.carbon .content,
.nue .content {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.in-depth .content h2 {
    width: 75%;
}

/*book section*/
.books .card {
    width: 100%;
    height: 790px;
    border-radius: 15px;
    padding: 1.5rem;
    background: white;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: 0.4s ease-out;
    overflow: hidden;
    border: none;
}

.books .card:hover:before {
    opacity: 1;
}

.books .card:hover .info {
    opacity: 1;
    transform: translateY(0);
}

.books .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #000000cc;
    z-index: 2;
    transition: 0.5s;
    opacity: 0;
}

.books .card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.books .info {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    z-index: 3;
    color: white;
    opacity: 0;
    transform: translateY(100%);
    transition: 0.5s;
    padding: 20px;
    text-align: start;
}

.books .info h1 {
    margin: 0;
}

.books .info button {
    width: 135px;
    padding: 3px;
}

.books .info button a {
    font-size: 16px;
    line-height: 27px;
}

/*upcoming releases*/
section.upcoming-releases {
    background-color: #F2F2F2;
}

section.upcoming-releases .content {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.upcoming-releases p {
    width: 900px;
    max-width: 100%;
    margin: 0 auto 40px;
}

/* .release-1 {
    border-top-left-radius: 10px;
}

.release-img-1 {
    border-top-right-radius: 10px;
}

.release-2 {
    border-bottom-right-radius: 10px;
}

.release-img-2 {
    border-bottom-left-radius: 10px;
} */

/*upcoming features*/
/* .carousel-item img {
    height: 100%;
    max-height: 100%;
}

.carousel-caption {
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    text-align: left;
    padding: 5rem 2rem 2rem 5rem;
    width: 1100px;
    max-width: 100%;
}

.carousel-caption p {
    font-size: 18px;
    color: #C6C6C6;

}

.carousel-fade .carousel-item {
    transition: opacity 0.5s ease-in-out;
    Change duration to 0.5s for faster fade
} */
.section-heading {
    text-align: center;
}

/*contact us*/
#contact {
    background: #F8F8F8;
}

#contact .contact-wrapper p {
    color: #828282;
    font-weight: 400;
}

#contact form label {
    font-family: 'Helvetica';
    color: #7B7B7B;
    font-weight: 400;
}

#contact .form-control {
    background: #EFEFEF;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    border: none;
}

#contact input.form-control {
    height: 60px;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    margin-right: 10px;
}

/*listing page*/

#listing .banner {
    background: url('../images/books_banner_bg.png');
    color: white;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content p {
    color: white;
}

/*about*/
#about .banner {
    background: url("../images/about_banner_bg.png");
    color: white;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.about-wrapper {

    background: #F2F2F2;
    border-radius: 10px;

}

#about .about-title p {
    color: #4E4E4E;
    font-weight: 400;
    line-height: 20px;
    font-size: 16px;
}



#about .company .nav-link {
    color: #000000;
    border-radius: 4px;
    font-family: DM-Serif-Text;
    border: 1px solid #000000;
    width: 130px;
}

#about .company .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: black;
    color: white;
}

.timeline-item {
    display: flex;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ccc;
    left: 0;
    bottom: 0;
}

/*vision-mission*/
.vm-content {
    background: #F2F2F2;
    border-radius: 10px;
}

.vision-mission img {
    width: 100%;
}

.company h3 {
    width: 40%;
}

/*experience*/
#counter {
    height: 6em;
    overflow: hidden;
}

.digits {
    margin: 0;
    padding: 0;
    animation: luckie 2s ease forwards;
}

.digits h1 {
    font-size: 100px;
}

@keyframes luckie {
    100% {
        margin-top: -23em;
    }

    /* Moves from 30 to 55 */
}

.counter-div {
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: 100%;
}

.counter-div h1 {
    font-size: 100px;
}

/*privacy*/
#privacy .banner {
    background: url("../images/privacy_banner_bg.jpg");
    color: white;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

/**footer**/
.footer-company {
    font-size: 16px;
    color: #828282;
}

.footer-company img {
    width: 30px;
    height: 30px;
}

.footer-company a {
    text-decoration: none;
    font-size: 18px;
    color: white;
}


/*social media*/
.social a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
}

.social {
    position: fixed;
    bottom: 0px;
    z-index: 3;
    width: 40px;
}

.social ul {
    padding: 0px;
    transform: translate(-270px, 0);
}

.social ul li {
    display: block;
    margin: 5px;
    background: rgb(102 97 97 / 39%);
    width: 317px;
    text-align: right;
    padding: 10px;
    border-radius: 0 30px 30px 0;
    transition: all 1s;
}

.social ul li:hover {
    transform: translate(90px, 0);
    background: rgba(0, 0, 0, 0.36);
}

.social ul li:hover a {
    color: #ffffff;
    text-decoration: none;
}

.social ul li:hover i {
    color: #fff;
    background: rgba(0, 0, 0, 0.36);
    transform: rotate(360deg);
    transition: all 1s;
}

.social ul li i {
    margin-left: 10px;
    color: #ffffff;
    background: #fff;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 20px;
    background: #ffffff;
    transform: rotate(0deg);
}

.social ul li i.bi-twitter {
    background-color: #00aced;
}

.social ul li i.bi-facebook {
    background-color: #003e9b;
}

.social ul li i.bi-instagram {
    background-color: #d600a8;
}

.social ul li i.bi-youtube {
    background-color: #ed0000;
}

.social ul li i.bi-linkedin {
    background-color: #003e9b;
}


/*gallery Images*/
.masonry {
    column-count: 3;
    margin: 0 auto;
}

.masonry .grid-item img {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
    border-radius: 6px;
}

.masonry .grid-item video {
    width: 100%;
    height: auto;
    display: block;
}


.dropdown-details {
    position: relative;
}

.dropdown-details summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.dropdown-details summary::-webkit-details-marker {
    display: none;
    /* remove default arrow */
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    min-width: 180px;
}

.dropdown-list li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    /* color: #333; */
    font-size: 16px;

}

.dropdown-list li a:hover {
    background-color: #f8f9fa;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown-details[open] .arrow {
    transform: rotate(180deg);
}

.eventCat .event-img {
    height: 250px;
    max-height: 100%;
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Background color while loading */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#logo {
    width: 90px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

#content {
    display: none;
}

#muteToggle {
    position: absolute;
    bottom: 20px;
    left: 0px;
    z-index: 11111111;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 31px;
}

.documentry {
    width: 100%;
    height: 400px;
    max-height: 100%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.card-deck .card {
    height: 400px;
}

.card-deck .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* Fixed Audio Player Styles */
.audio-player-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #cbcbcb 100%);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.audio-player-fixed audio {
    width: 100%;
    max-width: 600px;
    border-radius: 25px;
    outline: none;
}

.audio-player-fixed .close-btn {
    background: #bdbdbd9e;
    border: none;
    color: black;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}

/*media*/
@media (max-width:1200px) {

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .author-img img {
        width: 50%;
    }

    .vision-mission img {
        width: auto;
    }

    .books .card {
        height: 400px;
    }

    button {
        font-size: 16px;
    }

    .card-deck .card {
        height: 345px;
    }


}

@media screen and (max-width:992px) {

    #header .nav-link:hover::after,
    #header .nav-item.current-item .nav-link::after {
        width: 14%;
    }

    h3 {
        font-size: 22px;
    }

    /* .release-1, .release-img-2 {
        border-radius: 10px 0 0 10px;
    }

    .release-img-1, .release-2 {
        border-radius: 0 10px 10px 0;
    } */
    .dropdown-details {
        position: static;
    }

    .dropdown-list {
        position: static;
        border: none;
        box-shadow: none;
    }

    .dropdown-list li a {
        padding-left: 2rem;
    }

    .card-deck .card {
        height: 295px;
    }

}

@media (max-width: 768px) {
    .audio-player-fixed {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .audio-player-fixed audio {
        max-width: 100%;
    }

    .audio-player-fixed .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

@media (max-width:576px) {
    .container-fluid {
        padding: 0 20px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 24px;
    }

    h4 {
        font-size: 18px;
    }

    a {
        font-size: 16px;
    }

    .vision-mission img,
    .in-depth .content h2 {
        width: 100%;
    }

    #listing .banner,
    #about .banner {
        height: 80vh;
    }

    .banner-content {
        margin-top: 20%;
    }


    .home .content h1 {
        font-size: 28px;
    }

    .home .content p {
        font-size: 14px;
        line-height: normal;
    }

    .section-heading {
        text-align: start;
        width: 85%;
    }

    section.upcoming-releases .content {
        padding: 15px 3px;
    }

    .note {
        font-size: 12px;
    }

    .company h3 {
        width: 100%;
    }

    .author-img img {
        width: 75%;
    }

    .footer-company a {
        font-size: 13px;
    }

    /* .release-1, .release-2 {
        border-radius: 0 0 10px 10px;
    } */

    /* .release-img-1, .release-img-2 {
        border-radius: 10px 10px 0 0;
    } */

    .marshall-logo,
    .ciia-logo {
        width: 92px;
    }

    .card-deck .card {
        height: 100%;
    }
}


@media (max-width: 480px) {
    .audio-player-fixed {
        padding: 8px 10px;
    }

    .audio-player-fixed audio {
        height: 40px;
    }
}