/**
 * Naat Academy Theme CSS - Exact styles from user's HTML design
 */

/* Custom Font */
@font-face {
    font-family: 'NaatFont';
    src: url('https://res.cloudinary.com/awescreative/raw/upload/v1749150996/Awes/naatfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
html {
    font-size: 110%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.urdu-text {
    font-family: 'NaatFont', serif;
    line-height: 1.8;
}

h1.urdu-text,
h2.urdu-text,
h3.urdu-text,
h4.urdu-text {
    line-height: 1.6 !important;
    padding-bottom: 0.2em;
    padding-top: 0.1em;
    display: inline-block;
    width: 100%;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Section Title Bar */
.section-title-bar {
    position: relative;
    padding-right: 1rem;
}

.section-title-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    border-radius: 99px;
}

/* Typography Card */
.typo-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 1.0rem;
}

/* Book Cover Effect */
.book-cover {
    box-shadow:
        -2px 0 5px rgba(0, 0, 0, 0.1),
        inset 2px 0 5px rgba(255, 255, 255, 0.2),
        inset -2px 0 5px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 20%, rgba(0, 0, 0, 0.05) 100%);
}

.book-spine {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
}

/* Shine Edge Effect */
.shine-edge {
    position: relative;
    overflow: hidden;
}

.shine-edge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.7;
}

/* Notification Slider */
.notification-slider {
    height: 24px;
    overflow: hidden;
    position: relative;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideVertical {

    0%,
    30% {
        transform: translateY(0);
    }

    33%,
    63% {
        transform: translateY(-33.33%);
    }

    66%,
    96% {
        transform: translateY(-66.66%);
    }

    100% {
        transform: translateY(0);
    }
}

.animate-slide-vertical {
    animation: slideVertical 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Line Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rounded UI */
.rounded-ui {
    border-radius: 1.0rem;
}

/* Widget Styles */
.widget-title {
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 4px;
    background: #10b981;
    border-radius: 9999px;
}

/* Compact List Items */
.compact-list-item h4 {
    margin-bottom: 0;
}