/* =========================================
   CATEGORIES PAGE FULL REVAMP
========================================= */

/* --- 1. HERO BANNER ANIMATIONS --- */
.cat-revamp-hero {
    position: relative;
    width: 100%;
    height: 70vh; 
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
}

.cat-revamp-bg {
    position: absolute;
    top: -10%; left: -10%; width: 120%; height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slowPan 30s linear infinite alternate;
    opacity: 0.5;
}

@keyframes slowPan {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-3%, -3%) scale(1.05); }
}

.cat-revamp-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11, 26, 74, 0.95) 0%, rgba(11, 26, 74, 0.4) 100%);
}

.cat-revamp-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-left: 5%;
}

.cat-revamp-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.cat-revamp-title span {
    color: #f75023;
}

.cat-revamp-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.cat-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    color: white;
    font-weight: 500;
    opacity: 0;
    animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    border: 1px solid rgba(255,255,255,0.2);
}
.cat-breadcrumbs a {
    color: #f75023;
    text-decoration: none;
    transition: color 0.3s;
}
.cat-breadcrumbs a:hover { color: white; }

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}


/* --- 2. CATEGORY BLOCKS (FLOATING + GLASSMORPHISM) --- */
.cat-blocks-wrapper {
    background: #fdfdfd;
    padding: 100px 0;
    overflow: hidden;
}

.cat-revamp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
    gap: 50px;
}

.cat-revamp-row.reverse {
    flex-direction: row-reverse;
}

.cat-revamp-img-col {
    width: 45%;
    position: relative;
}

.cat-revamp-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    animation: floatImage 6s ease-in-out infinite;
}

.cat-revamp-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.cat-revamp-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    pointer-events: none;
}

/* Decorative background circle behind image */
.cat-revamp-img-col::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; padding-bottom: 120%;
    background: radial-gradient(circle, rgba(247,80,35,0.1) 0%, transparent 70%);
    z-index: -1;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.cat-revamp-text-col {
    width: 50%;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(11, 26, 74, 0.05);
    border: 1px solid #eee;
    position: relative;
    z-index: 2;
    transition: transform 0.4s, box-shadow 0.4s;
}

.cat-revamp-text-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(11, 26, 74, 0.08);
}

.cat-revamp-text-col h2 {
    font-size: 2.2rem;
    color: #0b1a4a;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.cat-revamp-text-col h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: #f75023;
}

.cat-revamp-text-col p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.cat-feature-list {
    list-style: none;
    padding: 0; margin: 0 0 40px;
}

.cat-feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.cat-feature-list li i {
    color: #f75023;
    background: rgba(247, 80, 35, 0.1);
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}


/* --- 3. IMMERSIVE CTA --- */
.cat-cta-revamp {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(45deg, #0b1a4a, #f75023, #0b1a4a);
    background-size: 300% 300%;
    animation: gradientFlow 10s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cat-cta-revamp * {
    position: relative;
    z-index: 2;
}

.cat-cta-revamp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvc3ZnPg==');
    z-index: 1;
}

.cat-cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}
.cat-cta-title span { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.cat-cta-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.btn-pulse-ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #0b1a4a;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 3;
}

.btn-pulse-ring:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: #f75023;
}

.btn-pulse-ring::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    border: 2px solid white;
    z-index: -1;
    animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}


/* Responsive */
@media (max-width: 992px) {
    .cat-revamp-row, .cat-revamp-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }
    .cat-revamp-img-col, .cat-revamp-text-col {
        width: 100%;
    }
    .cat-revamp-hero { height: 60vh; }
    .cat-revamp-title { font-size: 3rem; }
}
@media (max-width: 576px) {
    .cat-revamp-title { font-size: 2.5rem; }
    .cat-revamp-text-col { padding: 30px 20px; }
    .cat-cta-title { font-size: 2.2rem; }
}
