   @import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Fauna+One&display=swap');



        .book-container {
            perspective: 2000px; /* Increased perspective for more depth */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .book {
            width: 500px; /* Wider book */
            height: 700px; /* Taller book */
            position: relative;
            transform-style: preserve-3d;
            transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
            box-shadow: 0 30px 50px rgba(0,0,0,0.5),
                       inset 0 0 15px rgba(0,0,0,0.3);
            border-radius: 8px;
        }

        .book.open {
            transform: translateX(50%) rotateY(-35deg); /* Slide and rotate */
        }

        .book.closed-end {
            transform: translateX(100%) rotateY(35deg);
        }

        .leaf {
            position: absolute;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transform-origin: left;
            transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .page {
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: #fdf6e3; /* Warm, aged paper color */
            background-image: url('https://www.transparenttextures.com/patterns/old-paper.png');
            border: 1px solid #dcd0b3;
            box-sizing: border-box;
            backface-visibility: hidden;
            padding: 40px 50px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start; /* Align content to top */
            align-items: center;
            box-shadow: inset 3px 0 8px rgba(0,0,0,0.15);
            border-radius: 5px;
        }

        .page.front {
            background: linear-gradient(to right, #1f3067, #2a408e); /* New gradient */
            color: #ffffff;
            box-shadow: 10px 10px 25px rgba(0,0,0,0.4);
            justify-content: center;
            border: 2px solid #ff7a56; /* New border color */
        }

        .page.back {
            transform: rotateY(180deg);
            box-shadow: inset -3px 0 8px rgba(0,0,0,0.15);
        }

        .page h2 {
            font-family: 'Cinzel Decorative', cursive; /* Ornate heading font */
            font-size: 2.2em;
            color: #1f3067; /* New heading color */
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #ff7a56; /* New border color */
            padding-bottom: 10px;
        }

        .page p {
            font-size: 1.2em;
            line-height: 1.9;
            color: #5a4a3a;
            text-align: justify; /* Justified text for a classic look */
        }

        .cover-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            border: 2px solid #ff7a56; /* New border color */
            padding: 20px;
            border-radius: 5px;
        }

        .cover-content h1 {
            font-family: 'Cinzel Decorative', cursive;
            font-size: 4em;
            margin-bottom: 40px;
            font-weight: bold;
            color: #ffffff;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
        }

        .cover-icons {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 25px;
        }

        .cover-icons span {
            font-size: 3.5em;
            color: #ff7a56; /* New icon color */
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            transition: transform 0.4s ease, color 0.4s ease;
        }
        .cover-icons span:hover {
            transform: scale(1.1);
            color: #fff;
        }

        .leaf.flipped {
            transform: rotateY(-180deg);
        }

        /* Page number styling */
        .page::after {
            content: attr(data-page-number);
            position: absolute;
            bottom: 20px;
            right: 30px;
            font-family: 'Cinzel Decorative', cursive;
            font-size: 1.2em;
            color: #ff7a56; /* New page number color */
        }
        
     

        .white{
            color: white !important;
        }

        @media (max-width: 1366px) {
            .book {
                width: 400px !important;
                height: 600px !important;
            }
            .cover-content h1 {
                font-size: 3.5em;
            }
            .page h2 {
                font-size: 2em;
            }
            .page p {
                font-size: 1.1em;
            }
        }

        @media (max-width: 1024px) {
            .book {
                width: 300px;
                height: 420px;
            }
            .cover-content h1 {
                font-size: 2.5em;
            }
            .page h2 {
                font-size: 1.5em;
            }
            .page p {
                font-size: 0.9em;
            }
            .brand-logo{
                width: 100px !important;
            }
        }

        @media (max-width: 768px) {
            .book {
                width: 300px;
                height: 450px;
            }
            .book.open {
                transform: translateX(25%) rotateY(-35deg);
            }
            .book-container {
                perspective: 1500px;
            }
            .cover-content h1 {
                font-size: 2.5em;
                margin-bottom: 20px;
            }
            .cover-icons span {
                font-size: 2.5em;
            }
            .page {
                padding: 20px 25px;
            }
            .page h2 {
                font-size: 1.5em;
                margin-bottom: 15px;
            }
            .page p {
                font-size: 0.9em;
                line-height: 1.6;
            }
            .page::after {
                font-size: 1em;
                bottom: 10px;
                right: 15px;
            }
        }

        @media (max-width: 480px) {
            .book {
                width: 250px;
                height: 375px;
            }
            .book.open {
                transform: translateX(25%) rotateY(-35deg);
            }
            .cover-content h1 {
                font-size: 2em;
            }
            .cover-icons {
                gap: 20px;
            }
            .cover-icons span {
                font-size: 2em;
            }
            .page h2 {
                font-size: 1.2em;
            }
            .page p {
                font-size: 0.8em;
            }
            
            .book-container{
                display: none !important;
            }
        }

        @media (max-width: 360px) {
            .book {
                width: 220px;
                height: 330px;
            }
            .book.open {
                transform: translateX(15%) rotateY(-35deg);
            }
            .cover-content h1 {
                font-size: 1.8em;
            }
            .cover-icons span {
                font-size: 1.8em;
            }
            .page h2 {
                font-size: 1em;
            }
            .page p {
                font-size: 0.7em;
            }
        }

/* Most Demanding Subjects Section */
.subject-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.subject-icon {
    font-size: 48px;
    color: var(--bs-primary);
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.subject-card:hover .subject-icon {
    transform: scale(1.2);
    color: var(--bs-secondary);
}

.subject-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bs-dark);
}

/* What Makes Us The Best Section */
.feature-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    background-color: var(--bs-primary);
    color: #fff;
}

.feature-icon {
    font-size: 56px;
    color: var(--bs-primary);
    margin-bottom: 25px;
    transition: all 0.4s ease-in-out;
}

.feature-card:hover .feature-icon {
    color: #fff;
    transform: scale(1.1);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bs-dark);
    transition: all 0.4s ease-in-out;
}

.feature-card:hover .feature-title {
    color: #fff;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.7;
    transition: all 0.4s ease-in-out;
}

.feature-card:hover p {
    color: #f1f1f1;
}

.cta-section {
    padding: 60px 0;
}

.cta-section-2 {
    position: relative;
    overflow: hidden;
}
.cta-content-2 h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.cta-content-2 p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-section-3 {
    padding: 60px;
    border: 2px dashed var(--bs-primary);
    border-radius: 15px;
}

.cta-3-item .icon {
    font-size: 48px;
    color: var(--bs-primary);
    margin-bottom: 20px;
}


.ctacta{
    background-color: #2a408e !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.limitedCta{
    padding-bottom: 0px !important;
}