/* ==========================================
   NEW TERMS PAGE - COMPLETE REDESIGN
   ========================================== */

/* Hero Section - New Design */
.terms-hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #fefdfb 0%, #f8fafc 100%);
}

.terms-hero-bg-new {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(0, 183, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
}

.hero-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 183, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 183, 74, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
}

.hero-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 183, 74, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.06) 0%, transparent 70%);
    bottom: 15%;
    left: -10%;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content-center {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0px;
}

.hero-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.icon-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 183, 74, 0.3);
    z-index: 10;
}

.icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 183, 74, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-out infinite;
}

.ring-1 {
    width: 160px;
    height: 160px;
    animation-delay: 0s;
}

.ring-2 {
    width: 190px;
    height: 190px;
    animation-delay: 1s;
}

.ring-3 {
    width: 220px;
    height: 220px;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Enhanced badge */
.hero-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(11, 245, 11, 0.08), rgba(12, 234, 112, 0.05));
    border: 1.5px solid rgba(31, 245, 11, 0.25);
    border-radius: 50px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.badge-line {
    width: 36px;
    height: 3px;
    background: linear-gradient(to right, var(--digibro-green), var(--digibro-teal));

    border-radius: 4px;
}

.badge-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--digibro-green) !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.badge-dot {
    width: 12px;
    height: 12px;
    background: var(--digibro-green) !important;
    box-shadow: 0 0 15px rgba(0, 183, 74, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;

}

.hero-title-new {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero-subtitle-new {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.meta-item i {
    color: #00b74a;
    font-size: 16px;
}

.meta-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
}

.hero-actions-new {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 183, 74, 0.3);
    transition: all 0.4s ease;
}

.btn-scroll-down:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 183, 74, 0.4);
    color: white;
}

.btn-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s ease;
}

.btn-secondary-link:hover {
    background: #f8fafc;
    border-color: #00b74a;
    color: #00b74a;
}

.hero-quick-nav {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: 5rem;
}

.quick-nav-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-nav-items {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.05), rgba(0, 191, 166, 0.03));
    border: 1px solid rgba(0, 183, 74, 0.15);
    border-radius: 50px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-nav-item:hover {
    background: linear-gradient(135deg, #00b74a, #0066cc);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 183, 74, 0.3);
}

.quick-nav-item i {
    font-size: 16px;
}

/* Why Read Section - New */
.why-read-section-new {
    padding: 100px 0;
    background: white;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--digibro-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #00b74a, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header-center p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.why-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card-new {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.why-card-new:hover {
    background: white;
    border-color: rgba(0, 183, 74, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.1), rgba(0, 102, 204, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #00b74a;
    transition: all 0.4s ease;
}

.why-card-new:hover .why-card-icon {
    background: linear-gradient(135deg, #00b74a, #0066cc);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.why-card-new h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.why-card-new p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Terms Content - New Full Width Layout */
.terms-content-new {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.term-block {
    background: white;
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.term-block:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.term-block-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
}

.term-number {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 183, 74, 0.3);
}

.term-header-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.term-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.1), rgba(0, 102, 204, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #00b74a;
}

.term-header-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

.term-block-body {
    position: relative;
}

.term-intro {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.term-content-grid {
    display: grid;
    gap: 20px;
}

.term-point {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.02), rgba(0, 191, 166, 0.02));
    border-radius: 12px;
    border-left: 4px solid #00b74a;
    transition: all 0.3s ease;
}

.term-point:hover {
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.05), rgba(0, 191, 166, 0.05));
    transform: translateX(5px);
}

.point-marker {
    width: 8px;
    height: 8px;
    background: #00b74a;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.term-point p {
    font-size: 16px;
    color: #1e293b;
    line-height: 1.8;
    margin: 0;
}

.term-list-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.term-list-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border-radius: 12px;
    border-left: 3px solid #ef4444;
}

.term-list-item i {
    color: #ef4444;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.term-list-item span {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.6;
}

.term-note {
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 183, 74, 0.05));
    border-radius: 16px;
    border-left: 4px solid #0066cc;
    display: flex;
    gap: 16px;
}

.term-note i {
    font-size: 24px;
    color: #0066cc;
    flex-shrink: 0;
}

.term-note p {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.term-obligations-list {
    display: grid;
    gap: 16px;
}

.obligation-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    align-items: center;
}

.obligation-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.obligation-number {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.obligation-item p {
    font-size: 16px;
    color: #1e293b;
    line-height: 1.7;
    margin: 0;
    padding-top: 12px;
}

.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.responsibility-card {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.responsibility-card:hover {
    background: white;
    border-color: rgba(0, 183, 74, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.responsibility-card i {
    font-size: 42px;
    color: #00b74a;
    margin-bottom: 20px;
}

.responsibility-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.responsibility-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Contact Support - New */
.contact-support-new {
    padding: 100px 0;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    position: relative;
    overflow: hidden;
}

.contact-support-new::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.support-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.support-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.support-wrapper h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.support-wrapper p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
}

.support-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-support-primary,
.btn-support-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s ease;
}

.btn-support-primary {
    background: white;
    color: #1e293b;
}

.btn-support-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    color: #1e293b;
}

.btn-support-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-support-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .why-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .term-list-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .terms-hero-new {
        padding: 120px 0 60px;
    }

    .hero-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }

    .icon-circle {
        font-size: 44px;
    }

    .hero-title-new {
        font-size: 2.5rem;
    }

    .hero-meta-info {
        flex-direction: column;
        gap: 15px;
    }

    .meta-divider {
        display: none;
    }

    .quick-nav-items {
        flex-direction: column;
    }

    .quick-nav-item {
        width: 100%;
        justify-content: center;
    }

    .why-grid-new {
        grid-template-columns: 1fr;
    }

    .term-block {
        padding: 30px 20px;
    }

    .term-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .term-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .term-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .term-header-content h2 {
        font-size: 22px;
    }

    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-actions-new {
        flex-direction: column;
        width: 100%;
    }

    .btn-scroll-down,
    .btn-secondary-link {
        width: 100%;
        justify-content: center;
    }

    .term-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .support-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-support-primary,
    .btn-support-secondary {
        width: 100%;
        justify-content: center;
    }
}



/* new hero section visual css  */


/* TERMS VISUAL - NEW UNIQUE DESIGN */
.terms-visual-new {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Legal Document */
.legal-document-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 220px;
    z-index: 15;
}

.document-glow {
    position: absolute;
    inset: -35px;
    background: radial-gradient(circle, rgba(0, 183, 74, 0.25), transparent 70%);
    border-radius: 20px;
    animation: documentPulse 4s ease-in-out infinite;
}

@keyframes documentPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.document-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15),
        inset 0 -10px 30px rgba(0, 0, 0, 0.05);
    border: 4px solid white;
    overflow: hidden;
}

.document-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent 0%,
            transparent 30%,
            rgba(0, 183, 74, 0.05) 30%,
            rgba(0, 183, 74, 0.05) 32%,
            transparent 32%,
            transparent 38%,
            rgba(0, 183, 74, 0.05) 38%,
            rgba(0, 183, 74, 0.05) 40%,
            transparent 40%,
            transparent 46%,
            rgba(0, 183, 74, 0.05) 46%,
            rgba(0, 183, 74, 0.05) 48%,
            transparent 48%);
    animation: documentLines 3s ease-in-out infinite;
}

@keyframes documentLines {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.document-icon i {
    font-size: 80px;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    position: relative;
    animation: documentIcon 3s ease-in-out infinite;
}

@keyframes documentIcon {

    0%,
    100% {
        transform: scale(1) rotateY(0deg);
    }

    50% {
        transform: scale(1.08) rotateY(10deg);
    }
}

/* Document Badge */
.document-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00b74a, #00bfa6);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 183, 74, 0.4);
    z-index: 20;
    border: 3px solid white;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
}

.badge-icon i {
    font-size: 14px;
    color: #00b74a;
}

.badge-text {
    font-size: 13px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Legal Rings SVG */
.legal-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    z-index: 5;
    opacity: 0.7;
}

/* Legal Cards - Diamond Layout */
.legal-card {
    position: absolute;
    background: white;
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border: 3px solid #f0fdf4;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 130px;
    text-align: center;
    z-index: 12;
}

.legal-card::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00b74a, #0066cc);
    color: white;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.legal-card:hover::before {
    opacity: 1;
}

.legal-card:hover {
    transform: translateY(-18px) scale(1.12);
    box-shadow: 0 25px 70px rgba(0, 183, 74, 0.35);
    color: white;
    border-color: transparent;
    z-index: 30;
}

.card-icon-small {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(0, 183, 74, 0.1), rgba(0, 102, 204, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.legal-card:hover .card-icon-small {
    background: linear-gradient(135deg, #00b74a, #0066cc);
    transform: rotateY(360deg) scale(1.15);
    color: white;
}

.card-icon-small i {
    font-size: 24px;
    color: #00b74a;
    transition: color 0.4s ease;
}

.legal-card:hover .card-icon-small i {
    color: white;
}

.legal-card h5 {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.legal-card p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Hover effect */
.legal-card:hover h5,
.legal-card:hover p {
    color: #ffffff;
}

/* Perfect Diamond Positioning */
.card-top {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-250px);
    animation: floatLegal1 7s ease-in-out infinite;
}

.card-right {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(250px);
    animation: floatLegal2 8s ease-in-out infinite;
}

.card-bottom {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(250px);
    animation: floatLegal3 7.5s ease-in-out infinite;
}

.card-left {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-250px);
    animation: floatLegal4 8.5s ease-in-out infinite;
}

/* Floating Animations */
@keyframes floatLegal1 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(-250px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(-260px) rotate(-3deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-245px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(-255px) rotate(3deg);
    }
}

@keyframes floatLegal2 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateX(250px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateX(260px) rotate(3deg);
    }

    50% {
        transform: translate(-50%, -50%) translateX(245px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateX(255px) rotate(-3deg);
    }
}

@keyframes floatLegal3 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(250px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(260px) rotate(3deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(245px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(255px) rotate(-3deg);
    }
}

@keyframes floatLegal4 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateX(-250px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateX(-260px) rotate(-3deg);
    }

    50% {
        transform: translate(-50%, -50%) translateX(-245px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateX(-255px) rotate(3deg);
    }
}

/* Floating Legal Icons */
.legal-float-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 8;
    animation: iconFloat 6s ease-in-out infinite;
}

.legal-float-icon i {
    font-size: 18px;
    color: #00b74a;
}

.icon-1 {
    top: 22%;
    left: 25%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 28%;
    animation-delay: 1.5s;
}

.icon-3 {
    bottom: 25%;
    left: 22%;
    animation-delay: 3s;
}

.icon-4 {
    bottom: 28%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Update hero section for two column layout */
.terms-hero-new .hero-content-center {
    max-width: 100%;
}

.hero-title-new {
    text-align: left;
}

.hero-subtitle-new {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.hero-meta-info {
    justify-content: flex-start;
}

.hero-actions-new {
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 992px) {
    .terms-visual-new {
        height: 500px;
        margin-top: 50px;
    }

    .legal-document-center {
        width: 170px;
        height: 210px;
    }

    .document-icon i {
        font-size: 65px;
    }

    .legal-rings {
        width: 420px;
        height: 420px;
    }

    .card-top {
        transform: translate(-50%, -50%) translateY(-210px);
    }

    .card-right {
        transform: translate(-50%, -50%) translateX(210px);
    }

    .card-bottom {
        transform: translate(-50%, -50%) translateY(210px);
    }

    .card-left {
        transform: translate(-50%, -50%) translateX(-210px);
    }
}

@media (max-width: 768px) {
    .terms-visual-new {
        height: 450px;
    }

    .legal-document-center {
        width: 150px;
        height: 190px;
    }

    .document-icon i {
        font-size: 55px;
    }

    .document-badge {
        padding: 8px 16px;
        bottom: -15px;
    }

    .badge-text {
        font-size: 12px;
    }

    .legal-rings {
        width: 360px;
        height: 360px;
    }

    .legal-card {
        padding: 16px 14px;
        min-width: 110px;
    }

    .card-icon-small {
        width: 45px;
        height: 45px;
    }

    .card-icon-small i {
        font-size: 22px;
    }

    .legal-card h5 {
        font-size: 14px;
    }

    .card-top {
        transform: translate(-50%, -50%) translateY(-180px);
    }

    .card-right {
        transform: translate(-50%, -50%) translateX(180px);
    }

    .card-bottom {
        transform: translate(-50%, -50%) translateY(180px);
    }

    .card-left {
        transform: translate(-50%, -50%) translateX(-180px);
    }

    .legal-float-icon {
        width: 35px;
        height: 35px;
    }

    .legal-float-icon i {
        font-size: 16px;
    }

    .hero-title-new {
        text-align: center;
    }

    .hero-subtitle-new {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-meta-info {
        justify-content: center;
    }

    .hero-actions-new {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .terms-visual-new {
        height: 400px;
    }

    .legal-document-center {
        width: 130px;
        height: 170px;
    }

    .document-icon i {
        font-size: 48px;
    }

    .legal-card {
        padding: 14px 12px;
        min-width: 100px;
    }

    .card-icon-small {
        width: 42px;
        height: 42px;
    }

    .card-icon-small i {
        font-size: 20px;
    }

    .legal-card h5 {
        font-size: 13px;
    }

    .legal-card p {
        font-size: 11px;
    }

    .card-top {
        transform: translate(-50%, -50%) translateY(-155px);
    }

    .card-right {
        transform: translate(-50%, -50%) translateX(155px);
    }

    .card-bottom {
        transform: translate(-50%, -50%) translateY(155px);
    }

    .card-left {
        transform: translate(-50%, -50%) translateX(-155px);
    }
}