/* Global About Styles */
.about-container {
    margin-top: 7rem;
    overflow-x: hidden;
    padding-bottom: 0;
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding-top: 50px;
}

.hero-logo {
    width: 170px;
    height: auto;
    z-index: 10;
    position: relative;
    margin-top: -20px;
}

.hero-bg-text {
    position: absolute;
    top: 27%; /* Moved up from 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    line-height: 0.8;
    width: 100%;
}

.hero-bg-text span {
    font-size: 15rem; /* Increased size */
    font-weight: 900;
    color: #e0e0e0; /* Very light grey */
    text-transform: lowercase;
    white-space: nowrap;
}

/* Books Container */
.books-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7%; /* Space between books */
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin-top: 150px; /* Increased margin to push books down */
}

.book {
    width: 180px; /* Increased size */
    height: auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.book:hover {
    transform: translateY(-10px);
}

/* Wave Effect for Books */
.book:nth-child(1), .book:nth-child(5) {
    margin-top: -80px; /* Highest */
}

.book:nth-child(2), .book:nth-child(4) {
    margin-top: 60px; /* Lower */
}

.book:nth-child(3) {
    margin-top: 120px; /* Lowest */
}

/* Remove old specific book positioning */
.book-1, .book-2, .book-3, .book-4, .book-5 {
    /* Reset styles if they persist anywhere */
    position: static;
    transform: none;
}

.content-wrapper {
background: linear-gradient(to bottom, #fff , #e7e7e7);
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section-title-wrapper {
    margin-bottom: 25px;
    display: flex;
}

.section-title-wrapper.align-right {
    justify-content: flex-end;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    z-index: 1;
    margin: 0;
}

/* Highlights */
.highlight-yellow::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #FFC107;
    z-index: -1;
    opacity: 0.6;
}

.highlight-green::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #00d045;
    z-index: -1;
    opacity: 0.6;
}

.section-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content strong {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-bg-text span {
        font-size: 5rem;
    }
    
    .hero-logo {
        width: 120px;
        margin-bottom: 20px;
    }
    
    .books-container {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }
    
    .book {
        width: 90px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Innovation & Accessibility Section Styles */
.innovation-section {
    background-color: #000;
    padding: 50px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.innovation-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
    max-width: 900px;
    font-family: 'Poppins', sans-serif;
}

.innovation-cards {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.card {
    flex: 1;
    height: 250px;
    border-radius: 25px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-green {
    background-color: #3ED453;
}

.card-orange {
    background-color: #FF9E2C;
}

.card h3 {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: #fff;
}

.card p {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.card-text{
    transition: opacity .28s ease, transform .28s ease;
}

.card-text-orange{
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.innovation-cards.is-orange .card-text-green{
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.innovation-cards.is-orange .card-text-orange{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.plus-btn{
    transition: transform .28s ease;
}

.innovation-cards.is-orange .plus-btn{
    transform: rotate(45deg);
}

.plus-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
}

/* Orange Card Pattern */
.card-pattern span {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 25px;
    border-radius: 4px;
}

.card-pattern span:nth-child(1) {
    bottom: 40px;
    right: -10px;
    transform: rotate(-45deg);
}
.card-pattern span:nth-child(2) {
    bottom: 10px;
    right: 20px;
    transform: rotate(-45deg);
}
.card-pattern span:nth-child(3) {
    bottom: 70px;
    right: 20px;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .about-hero {
        height: auto;
        min-height: 300px;
    }

    .about-hero .hero-logo{
        margin-top: -50px;
    }

    .hero-bg-text {
        top: 20%;
    }

    .hero-bg-text span {
        font-size: 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .books-container {
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 30px; /* Adjust margin for mobile */
    }
    
    .book {
        width: clamp(60px, 18vw, 90px);
    }

    .book:nth-child(1), .book:nth-child(5) {
        margin-top: -28px;
    }

    .book:nth-child(2), .book:nth-child(4) {
        margin-top: 18px;
    }

    .book:nth-child(3) {
        margin-top: 36px;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .section-content {
        font-size: 1.1rem;
    }

    .innovation-cards {
        flex-direction: column;
    }
    .card {
        height: auto;
        min-height: 220px;
    }

    .card h3 {
        font-size: 2rem;
    }

    .card p {
        font-size: 1.3rem;
    }
}
