/* =========================================
   HOME REVAMP (MARQUEE, ABOUT, BOOK)
========================================= */

/* --- 1. MARQUEE COUNTERS --- */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: #0b1a4a; /* Deep blue background */
    color: white;
    padding: 30px 0;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    border-right: 2px solid rgba(255,255,255,0.2);
}

.marquee-item i {
    color: #f75023;
    font-size: 2rem;
}

.marquee-value {
    color: #f75023;
    font-size: 2.2rem;
    font-weight: 800;
    margin-right: 10px;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- 2. ABOUT US REVAMP --- */
.about-revamp-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

/* Auto-scrolling image slider container */
.about-slider-col {
    width: 50%;
    position: relative;
    height: 700px;
    overflow: hidden;
}

.about-slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide-images 15s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.about-slider-track img {
    width: 33.3333%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide-images {
    0%, 25% { transform: translateX(0); }
    33%, 58% { transform: translateX(-33.3333%); }
    66%, 91% { transform: translateX(-66.6666%); }
    100% { transform: translateX(0); }
}

/* Content area */
.about-content-col {
    width: 50%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfdfd;
}

.about-content-col h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #0b1a4a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content-col p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Modern Unique Button */
.btn-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #0b1a4a;
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(11, 26, 74, 0.2);
    width: fit-content;
}

.btn-glow span {
    position: relative;
    z-index: 1;
}

.btn-glow .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #f75023;
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-glow::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #f75023;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
}

.btn-glow:hover {
    color: white;
    box-shadow: 0 15px 30px rgba(247, 80, 35, 0.4);
}

.btn-glow:hover::before {
    transform: scaleX(1);
}

.btn-glow:hover .icon-circle {
    background: white;
    color: #f75023;
    transform: translateX(5px);
}


/* --- 3. FEATURED BOOK REVAMP --- */
.book-revamp-section {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-revamp-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Floating 3D Book Animation */
.book-visual {
    width: 50%;
    perspective: 1000px;
}

.book-visual img {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5);
    animation: float-book 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float-book {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(10deg); }
    100% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
}

.book-text {
    width: 50%;
    color: white;
}

.book-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.book-text h2 span {
    color: #f75023;
}

.book-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Dual modern buttons */
.book-actions-modern {
    display: flex;
    gap: 20px;
}

.btn-book-primary, .btn-book-outline {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-book-primary {
    background: #f75023;
    color: white;
    box-shadow: 0 10px 25px rgba(247, 80, 35, 0.3);
}

.btn-book-primary:hover {
    background: #e63f12;
    transform: translateY(-3px);
    color: white;
}

.btn-book-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-book-outline:hover {
    background: white;
    color: #1a1a2e;
    border-color: white;
    transform: translateY(-3px);
}


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .about-slider-col, .about-content-col {
        width: 100%;
    }
    .about-slider-col {
        height: 400px;
    }
    .about-content-col {
        padding: 50px 20px;
    }
    .book-revamp-container {
        flex-direction: column;
        text-align: center;
    }
    .book-visual, .book-text {
        width: 100%;
    }
    .book-visual {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }
    .book-actions-modern {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .marquee-item {
        font-size: 1.2rem;
        padding: 0 30px;
    }
    .marquee-value {
        font-size: 1.6rem;
    }
    .about-content-col h2, .book-text h2 {
        font-size: 2.2rem;
    }
}
