* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    place-content: center;
    background: #1a1a2e;
    overflow: hidden;
}

.flipbook {

    height: 600px;
    width: 800px;
}

.center {
    display: grid;
    flex-direction: column;
    justify-content: center;
    margin-top: 200px;
}
#cover {
    background-image: url('book_cover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#right {
    background-image: url('book_r_page.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#left {
    background-image: url('book_l_page.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#back {
    background-image: url('book_cover_b.PNG');
    background-size: cover;
    background-position: right -15px bottom 5px;
    background-repeat: no-repeat;
}

.flipbook .pages {
    border: none;
}

.flipbook .pages p1 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #5f2802;
    text-align: center;
    text-shadow: 0px 1px 3px #5f2802;
    font-size: 25px;
    margin-top: -50px; /* Moves just the heading up */
    margin-bottom: 10px; /* Adjust spacing between elements */
    background: transparent;
    border-radius: 0;
}

.flipbook .pages p2 {
    font-family: 'Arial', sans-serif;
    padding-top: 5px;
    font-size: 13px;
    box-shadow: 0px -1px #5f2802;
    border-top: 1px solid #5f2802;
    margin-top: 50px; /* Adjust this value to position the paragraph */
    color: #5f2802;
    text-align: center;
    text-transform: uppercase;
}

.flipbook text1 {
    color: #555;
    position: absolute;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.85rem;
    padding-top: 61%;
    padding-right: 60px;
}

.flipbook text2 {
    color: #555;
    position: absolute;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.8rem;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 50px;
}

.flipbook text3{
    color: #555;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 2rem;
    margin-top: 0px;
    margin-left: 0px;
    padding-left: 10px;
    padding-right: 50px;

}

.flipbook text4{
    color: #555;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.85rem;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 60px;

}

.flipbook text5{
    color: #555;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.85rem;
    margin-top: -30px;
    padding-left: 5px;
    padding-right: 40px;

}

.flipbook text6{
    color: #555;
    text-align: center;
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.9rem;
    margin-top: -10px;
    padding-left: 5px;
    padding-right: 40px;

}

.flipbook .page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.flipbook .pages p2 {
    font-size: 14px;
    margin-bottom: 10px;
}

.pic1{
    height: 400px;
    width: auto;
    margin-left: 60px;
}

.pic2{
    height: 400px;
    width: auto;
    margin-left: 40px;
}

.pic3{
    height: 380px;
    width: auto;
    margin-left: 40px;
}

.pic4{
    height: 200px;
    width: auto;
    margin-left: 30px;
}

.pic5{
    height: 180px;
    width: auto;
    margin-left: 30px;
}


/* Responsive Layout */
@media screen and (min-width: 801px) {
    .hide-on-desktop {
        display: none;
      }
}

@media screen and (max-width: 800px) {
    .hide-on-mobile {
        display: none;
        
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45aaf2;
    --dark-color: rgb(26, 26, 46);
    --light-color: #f7f7f7;
    --text-color: #e0e0e0;
    --text-light: #b8b8b8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

body {
    all:unset;
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--dark-color);
    color: var(--text-color);
}

.container {
    max-width: 800px;
    min-width: 400px;
    margin: 50px auto;
    padding: 0 50px;
}

h1 {
    font-size: 1.5em;
    color: var(--light-color);
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h2 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.8em;
}

.team {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 20px; /* Spacing between team members */
    margin-top: 20px;
}

.team h2 {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.team .team-member {
    align-items: center;

}
.team-member {
    background: rgba(50, 50, 70, 0.6);
    border-radius: 12px;
    width: 80%; /* Adjust width as needed */
    margin: 0 auto 20px; /* Center horizontally + add bottom margin */
    padding: 30px;
    text-align: center;
    flex: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.team-member:hover img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.team-member h3 {
    font-size: 1.5em;
    color: var(--light-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.team-member p {
    color: var(--accent-color);
    font-weight: 500;
}

.about-us h2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -31px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--dark-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.about-us h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -23px;
    transform: translateY(-50%);
    width: 2px;
    height: calc(100% + 20px);
    background: var(--primary-color);
    z-index: 0;
}

    }