
.terms-section {
    padding-top:50px;
    background-color: var(--eduact-soft5);
    font-family: var(--eduact-font);
}

.terms-container {
    display: flex;
    gap: 30px;
}

.terms-sidebar {
    flex: 0 0 280px;
}

.terms-content {
    flex: 1;
}

.terms-nav {
    background: var(--eduact-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(var(--eduact-black-rgb), 0.05);
}

.terms-nav__title {
    color: var(--eduact-black);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--eduact-soft4);
}

.terms-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-nav__list li {
    margin-bottom: 10px;
}

.terms-nav__list li a {
    display: block;
    padding: 10px 15px;
    color: var(--eduact-text);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.terms-nav__list li a:hover,
.terms-nav__list li a.active {
    background-color: var(--eduact-soft);
    color: var(--eduact-base);
    font-weight: 600;
}

.terms-card {
    background: var(--eduact-white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(var(--eduact-black-rgb), 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--eduact-black-rgb), 0.1);
}

.terms-card__title {
    color: var(--eduact-base);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.terms-card__title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--eduact-secondary);
}

.terms-list {
    padding-left: 20px;
    margin: 15px 0;
}

.terms-list li {
    margin-bottom: 10px;
    color: var(--eduact-text);
    position: relative;
    padding-left: 15px;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@media (max-width: 991px) {
    .terms-container {
        flex-direction: column;
    }
    
    .terms-sidebar {
        flex: 0 0 auto;
        margin-bottom: 30px;
    }
    
    .terms-nav {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .terms-card {
        padding: 20px;
    }
    
    .terms-card__title {
        font-size: 20px;
    }
}
.sticky-top{
    z-index:1;
}
.privacy-section {
    padding-top:50px;
    background-color: var(--eduact-soft5);
    font-family: var(--eduact-font);
}

.privacy-container {
    display: flex;
    gap: 30px;
}

.privacy-sidebar {
    flex: 0 0 280px;
}

.privacy-content {
    flex: 1;
}

.privacy-nav {
    background: var(--eduact-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(var(--eduact-black-rgb), 0.05);
}

.privacy-nav__title {
    color: var(--eduact-black);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--eduact-soft4);
}

.privacy-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-nav__list li {
    margin-bottom: 10px;
}

.privacy-nav__list li a {
    display: block;
    padding: 10px 15px;
    color: var(--eduact-text);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.privacy-nav__list li a:hover,
.privacy-nav__list li a.active {
    background-color: var(--eduact-soft);
    color: var(--eduact-base);
    font-weight: 600;
}

.privacy-card {
    background: var(--eduact-white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(var(--eduact-black-rgb), 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--eduact-black-rgb), 0.1);
}

.privacy-card__title {
    color: var(--eduact-base);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.privacy-card__title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--eduact-secondary);
}

.privacy-subtitle {
    color: var(--eduact-black);
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.privacy-list {
    padding-left: 20px;
    margin: 15px 0;
}

.privacy-list li {
    margin-bottom: 10px;
    color: var(--eduact-text);
    position: relative;
    padding-left: 15px;
}

.privacy-list li:before {
    content: '•';
    color: var(--eduact-secondary);
    position: absolute;
    left: 0;
}

.privacy-update {
    font-style: italic;
    color: var(--eduact-grey);
    margin-top: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@media (max-width: 991px) {
    .privacy-container {
        flex-direction: column;
    }
    
    .privacy-sidebar {
        flex: 0 0 auto;
        margin-bottom: 30px;
    }
    
    .privacy-nav {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .privacy-card {
        padding: 20px;
    }
    
    .privacy-card__title {
        font-size: 20px;
    }
    
    .privacy-subtitle {
        font-size: 16px;
    }
}
 /* Modal Styles */
        .eduact-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
        animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
        }

        .eduact-modal {
        background-color: #fff;
        border-radius: 16px;
        width: 100%;
        max-width: 450px;
        position: relative;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        margin: 20px;
        transform: translateY(20px);
        opacity: 0;
        animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes modalSlideUp {
        to {
            transform: translateY(0);
            opacity: 1;
        }
        }

        .eduact-modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s;
        }

        .eduact-modal-close:hover {
        background-color: #f5f8ff;
        transform: rotate(90deg);
        }

        .eduact-modal-close svg {
        width: 20px;
        height: 20px;
        }

        .eduact-modal-header {
        padding: 30px 30px 15px;
        text-align: center;
        }

        .eduact-step-illustration {
        margin-bottom: 20px;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        }

        .eduact-step-illustration svg {
        width: 150px;
        height: 100px;
        }

        .eduact-modal-header h3 {
        color: #2d3748;
        font-size: 24px;
        margin-bottom: 8px;
        font-weight: 700;
        }

        .eduact-modal-header p {
        color: #718096;
        font-size: 15px;
        margin: 0;
        line-height: 1.5;
        }

        .eduact-modal-body {
        padding: 0 30px 20px;
        animation: fadeInUp 0.4s ease-out;
        }

        @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

        .eduact-input-group {
        margin-bottom: 20px;
        }

        .eduact-input-group label {
        display: block;
        color: #4a5568;
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 600;
        }

        .eduact-input-with-icon {
        position: relative;
        display: flex;
        align-items: center;
        }

        .input-icon {
        position: absolute;
        left: 15px;
        font-size: 18px;
        z-index: 1;
        }

        .eduact-input-with-icon input {
        padding-left: 45px !important;
        }

        .eduact-input-group input {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #f8fafc;
        }

        .eduact-input-group input:focus {
        border-color: #4a6cf7;
        outline: none;
        box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.15);
        background-color: #fff;
        }

        .eduact-input-group input::placeholder {
        color: #a0aec0;
        }

        .eduact-modal-footer {
        padding: 0 30px 30px;
        text-align: center;
        }

        .eduact-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        width: 100%;
        position: relative;
        overflow: hidden;
        }

        .eduact-btn-proceed {
        background-color: #4a6cf7;
        color: white;
        box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
        }

        .eduact-btn-proceed:hover {
        background-color: #3a5ce9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
        }

        .eduact-btn-proceed:active {
        transform: translateY(0);
        }

        .btn-icon {
        margin-left: 10px;
        font-size: 18px;
        display: inline-block;
        animation: bounce 2s infinite;
        }

        @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-5px);}
        60% {transform: translateY(-3px);}
        }

        /* OTP Input Styles */
        .eduact-otp-container {
        display: flex;
        justify-content: space-between;
        margin: 25px 0 15px;
        gap: 10px;
        }

        .eduact-otp-input {
        width: 50px;
        height: 60px;
        text-align: center;
        font-size: 22px;
        font-weight: 600;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        background-color: #f8fafc;
        transition: all 0.3s;
        }

        .eduact-otp-input:focus {
        border-color: #4a6cf7;
        outline: none;
        box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.15);
        transform: scale(1.05);
        }

        .eduact-resend-otp {
        text-align: center;
        color: #718096;
        font-size: 15px;
        }

        .eduact-resend-otp a {
        color: #4a6cf7;
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        }

        .resend-icon {
        margin-left: 5px;
        animation: spin 4s linear infinite;
        }

        @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
        }

        /* Payment Options */
        .eduact-payment-options {
        margin: 20px 0;
        }

        .eduact-payment-option {
        display: block;
        margin-bottom: 12px;
        }

        .eduact-payment-option input {
        display: none;
        }

        .eduact-payment-card {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #f8fafc;
        }

        .eduact-payment-option input:checked + .eduact-payment-card {
        border-color: #4a6cf7;
        background-color: #f5f8ff;
        transform: translateX(5px);
        }

        .payment-arrow {
        margin-left: auto;
        color: #a0aec0;
        font-size: 18px;
        opacity: 0;
        transition: all 0.3s;
        }

        .eduact-payment-option input:checked + .eduact-payment-card .payment-arrow {
        opacity: 1;
        color: #4a6cf7;
        }

        .eduact-payment-icon {
        font-size: 24px;
        margin-right: 15px;
        width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .eduact-payment-text {
        font-weight: 600;
        color: #2d3748;
        font-size: 16px;
        }

        /* Success Message */
        .eduact-modal-success {
        padding: 30px;
        text-align: center;
        position: relative;
        }

        .eduact-success-icon {
        width: 100px;
        height: 100px;
        background-color: #f5f8ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        position: relative;
        }

        .success-animation {
        width: 60px;
        height: 60px;
        }

        .eduact-modal-success h3 {
        color: #2d3748;
        font-size: 26px;
        margin-bottom: 15px;
        font-weight: 700;
        }

        .eduact-modal-success p {
        color: #718096;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
        }

        .eduact-success-details {
        background-color: #f8fafc;
        padding: 18px;
        border-radius: 12px;
        margin: 25px 0;
        text-align: left;
        border: 1px dashed #cbd5e0;
        }

        .eduact-success-details p {
        margin: 8px 0;
        font-size: 15px;
        color: #4a5568;
        display: flex;
        align-items: center;
        }

        .success-detail-icon {
        margin-right: 10px;
        font-size: 18px;
        }

        .eduact-btn-success {
        background-color: #4a6cf7;
        color: white;
        box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4);
        z-index: 2;
        position: relative;
        }

        .eduact-btn-success:hover {
        background-color: #3a5ce9;
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(74, 108, 247, 0.5);
        }

        /* Confetti Animation */
        .confetti-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 1;
        overflow: hidden;
        }

        .confetti {
        position: absolute;
        width: 10px;
        height: 10px;
        background-color: #f00;
        opacity: 0;
        }

        .confetti:nth-child(1) {
        background-color: #4a6cf7;
        left: 10%;
        animation: confettiFall 3s ease-in 0.5s forwards;
        }
        .confetti:nth-child(2) {
        background-color: #ff6b6b;
        left: 20%;
        animation: confettiFall 3s ease-in 0.7s forwards;
        }
        .confetti:nth-child(3) {
        background-color: #48dbb4;
        left: 30%;
        animation: confettiFall 3s ease-in 0.9s forwards;
        }
        .confetti:nth-child(4) {
        background-color: #f6c;
        left: 40%;
        animation: confettiFall 3s ease-in 1.1s forwards;
        }
        .confetti:nth-child(5) {
        background-color: #f9a825;
        left: 50%;
        animation: confettiFall 3s ease-in 0.8s forwards;
        }
        .confetti:nth-child(6) {
        background-color: #7e57c2;
        left: 60%;
        animation: confettiFall 3s ease-in 1s forwards;
        }
        .confetti:nth-child(7) {
        background-color: #4a6cf7;
        left: 70%;
        animation: confettiFall 3s ease-in 1.2s forwards;
        }
        .confetti:nth-child(8) {
        background-color: #ff6b6b;
        left: 80%;
        animation: confettiFall 3s ease-in 0.6s forwards;
        }
        .confetti:nth-child(9) {
        background-color: #48dbb4;
        left: 90%;
        animation: confettiFall 3s ease-in 1.3s forwards;
        }
        .confetti:nth-child(10) {
        background-color: #f9a825;
        left: 95%;
        animation: confettiFall 3s ease-in 0.9s forwards;
        }

        @keyframes confettiFall {
        0% {
            opacity: 1;
            transform: translateY(-100px) rotate(0deg);
        }
        100% {
            opacity: 1;
            transform: translateY(500px) rotate(360deg);
        }
        }

        /* Progress Dots */
        .eduact-progress-dots {
        display: flex;
        justify-content: center;
        padding: 20px 0;
        gap: 8px;
        }

        .progress-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #e2e8f0;
        transition: all 0.3s;
        }

        .progress-dot.active {
        background-color: #4a6cf7;
        transform: scale(1.2);
        }

        /* Responsive */
        @media (max-width: 480px) {
        .eduact-modal {
            margin: 10px;
            border-radius: 12px;
        }
        
        .eduact-modal-header {
            padding: 25px 20px 15px;
        }
        
        .eduact-modal-body {
            padding: 0 20px 15px;
        }
        
        .eduact-modal-footer {
            padding: 0 20px 25px;
        }
        
        .eduact-otp-input {
            width: 40px;
            height: 50px;
            font-size: 20px;
        }
        }
            /* Course Page Styles */
        .course-details {
            padding: 80px 0;
            background-color: var(--eduact-soft5);
        }

        .course-video-container {
            background-color: var(--eduact-white);
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(var(--eduact-black-rgb), 0.05);
            overflow: hidden;
            margin-bottom: 30px;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
        }

        .video-placeholder, .video-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background-color: var(--eduact-base);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .play-button i {
            color: var(--eduact-white);
            font-size: 30px;
            margin-left: 5px;
        }

        .play-button:hover {
            background-color: var(--eduact-secondary);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .course-info {
            padding: 30px;
        }

        .course-title {
            color: var(--eduact-black);
            font-size: 28px;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .course-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            color: var(--eduact-text);
            font-size: 14px;
        }

        .course-meta i {
            margin-right: 5px;
            color: var(--eduact-base);
        }

        .course-description p {
            color: var(--eduact-text);
            line-height: 1.7;
        }

        /* Sidebar Styles */
        .course-sidebar {
            position: sticky;
            top: 20px;
        }

        .sidebar-widget {
            background-color: var(--eduact-white);
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(var(--eduact-black-rgb), 0.05);
            padding: 30px;
            margin-bottom: 30px;
        }

        .widget-title {
            color: var(--eduact-black);
            font-size: 20px;
            margin-bottom: 20px;
            font-weight: 700;
            position: relative;
            padding-bottom: 10px;
        }

        .widget-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--eduact-base);
        }

        .accordion-item {
            border: 1px solid var(--eduact-soft4);
            border-radius: 8px !important;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .accordion-button {
            background-color: var(--eduact-soft);
            color: var(--eduact-black);
            font-weight: 600;
            padding: 15px 20px;
            box-shadow: none;
        }

        .accordion-button:not(.collapsed) {
            background-color: var(--eduact-base);
            color: var(--eduact-white);
        }

        .accordion-body {
            padding: 0;
        }

        .lesson-items {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .lesson-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid var(--eduact-soft4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lesson-item:last-child {
            border-bottom: none;
        }

        .lesson-item:hover {
            background-color: var(--eduact-soft);
        }

        .lesson-item.active {
            background-color: var(--eduact-soft3);
        }

        .lesson-item.active .lesson-icon i {
            color: var(--eduact-base);
        }

        .lesson-icon {
            margin-right: 15px;
        }

        .lesson-icon i {
            color: var(--eduact-text);
            font-size: 20px;
        }

        .lesson-content h4 {
            font-size: 15px;
            color: var(--eduact-black);
            margin-bottom: 5px;
            font-weight: 600;
        }

        .lesson-duration {
            font-size: 12px;
            color: var(--eduact-text);
        }

        /* Progress Widget */
        .progress-container {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .progress-circle {
            position: relative;
            width: 120px;
            height: 120px;
        }

        .progress-ring-circle {
            stroke-dasharray: 326.56;
            stroke-dashoffset: 326.56;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
            transition: stroke-dashoffset 0.5s ease;
        }

        .progress-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 24px;
            font-weight: 700;
            color: var(--eduact-black);
        }

        .progress-info p {
            color: var(--eduact-text);
            margin-bottom: 15px;
        }

        /* Animations */
        .animate-fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

        .animate-slide-up {
            animation: slideUp 0.5s ease forwards;
        }

        .animate-slide-right {
            animation: slideRight 0.5s ease forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideRight {
            from { 
                opacity: 0;
                transform: translateX(20px);
            }
            to { 
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Styles */
        @media (max-width: 991px) {
            .course-details {
                padding: 60px 0;
            }
            
            .course-sidebar {
                margin-top: 50px;
            }
        }

        @media (max-width: 767px) {
            .course-meta {
                flex-wrap: wrap;
                gap: 10px;
            }
            
            .progress-container {
                flex-direction: column;
                text-align: center;
            }
        }