/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #8d021f;
    --primary-hover: #b00327;
    --primary-rgb: 141, 2, 31;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body) !important;
    color: var(--text-main) !important;
    background-color: var(--bg-light) !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

a {
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}
a:hover {
    color: var(--primary-hover);
}

/* Section Title Refactoring */
.section-tittle h3, .section-title h3 {
    position: relative;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    padding-bottom: 12px;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}
.section-tittle h3::after, .section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Header & Sticky Navbar */
.header-area {
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.header-top {
    background-color: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
}

.header-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-left: 6px;
    transition: all 0.2s ease;
}
.header-social li a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.header-bottom {
    background-color: var(--primary-color) !important;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.header-sticky.sticky-bar {
    background-color: rgba(141, 2, 31, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-menu ul li a {
    font-family: var(--font-heading);
    font-weight: 500 !important;
    font-size: 1rem !important;
    color: #ffffff !important;
    padding: 24px 20px !important;
    position: relative;
}
.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.main-menu ul li:hover > a::after, .main-menu ul li.active > a::after {
    transform: scaleX(1);
}

/* Custom Search Box */
.header-right-btn {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.header-right-btn i {
    color: #ffffff;
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
}
.header-right-btn i:hover {
    background: rgba(255, 255, 255, 0.2);
}
.header-area .search-box {
    position: absolute !important;
    right: 42px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5;
}
.header-area .search-box input {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    height: 38px !important;
    width: 0px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.header-right-btn:hover .search-box input,
.header-right-btn:focus-within .search-box input {
    width: 200px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 15px !important;
}

/* Card & News Layout redesign */
.weekly-single, .single-what-news, .weekly2-single {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.weekly-single:hover, .single-what-news:hover, .weekly2-single:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.weekly-img img, .what-img img, .weekly2-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.weekly-single:hover .weekly-img img, 
.single-what-news:hover .what-img img, 
.weekly2-single:hover .weekly2-img img {
    transform: scale(1.05);
}

.weekly-caption, .what-cap, .weekly2-caption {
    padding: 20px;
}

/* Tags/Categories Badges */
.color1, .trend-top-cap span, .weekly-caption span, .what-cap span {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color) !important;
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.weekly-caption h4 a, .what-cap h4 a, .weekly2-caption h4 a {
    font-family: var(--font-heading);
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    color: var(--text-main) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.weekly-caption h4 a:hover, .what-cap h4 a:hover, .weekly2-caption h4 a:hover {
    color: var(--primary-color) !important;
}

/* Trending Top (Featured Post) */
.trending-top {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}
.trending-top:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}
.trend-top-img {
    position: relative;
    overflow: hidden;
}
.trend-top-img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.trending-top:hover .trend-top-img img {
    transform: scale(1.03);
}
.trend-top-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}
.trend-top-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}
.trend-top-cap span {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 6px 16px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}
.trend-top-cap h2 a {
    font-family: var(--font-heading) !important;
    color: #ffffff !important;
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Trend Sidebar (Right Column) */
.trand-right-single {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}
.trand-right-single:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.1);
}
.trand-right-img img {
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.trand-right-cap {
    padding-left: 20px;
}
.trand-right-cap h4 a {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
    color: var(--text-main) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tabs Design */
.properties__button nav {
    margin-bottom: 30px;
}
.properties__button .nav-tabs {
    border-bottom: none;
    gap: 8px;
    flex-wrap: wrap;
}
.properties__button .nav-link {
    border: 1px solid var(--border-color) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-family: var(--font-heading);
    color: var(--text-muted) !important;
    background: var(--bg-card) !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
}
.properties__button .nav-link.active, .properties__button .nav-link:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

/* Social media follow cards */
.single-follow {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.follow-us {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.follow-us:hover {
    background: #ffffff;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.follow-social a img {
    width: 38px;
    height: 38px;
}
.follow-count span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}
.follow-count p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

/* Youtube / Video Section */
.youtube-area {
    background-color: #0f172a !important;
    padding: 80px 0;
    border-radius: var(--radius-lg);
    margin: 60px 0;
    overflow: hidden;
}
.youtube-area h2 {
    color: #ffffff !important;
}
.youtube-area p {
    color: #94a3b8 !important;
}
.video-items iframe {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}
.single-video {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    margin-bottom: 15px;
}
.single-video:hover {
    background: rgba(255, 255, 255, 0.08);
}
.single-video iframe {
    border-radius: var(--radius-sm);
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}
.video-intro h4 {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    margin-top: 10px;
    font-weight: 600 !important;
}

/* Post Detail styling */
.about-right .card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
    background: var(--bg-card);
}
.card-img-top {
    height: 420px !important;
    object-fit: cover;
}
.card-body {
    padding: 40px !important;
}
.card-title {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.3;
    margin-bottom: 24px;
}
.card-text {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

/* Comment Box and Feed */
.comments-section h4 {
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 24px;
}
.comment {
    border-radius: var(--radius-md) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm);
    padding: 24px !important;
    margin-bottom: 20px !important;
    border-left: 4px solid var(--primary-color) !important;
}
.comment-avatar {
    width: 42px;
    height: 42px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    margin-right: 15px;
}

/* Modern Form Elements */
.form-control {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    color: var(--text-main) !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1) !important;
}

/* Popular News List */
.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.popular-news-item {
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.popular-news-item:hover {
    transform: translateX(4px);
    border-left-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-decoration: none !important;
}
.popular-rank {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}
.popular-news-item:nth-child(1) .popular-rank { background: #8d021f; }
.popular-news-item:nth-child(2) .popular-rank { background: #a0182e; }
.popular-news-item:nth-child(3) .popular-rank { background: #b22840; }
.popular-news-item:nth-child(4) .popular-rank { background: #9e9e9e; }
.popular-news-item:nth-child(5) .popular-rank { background: #bdbdbd; }

/* Pagination Area Style */
.pagination {
    gap: 6px;
    flex-wrap: wrap;
}
.page-item {
    flex-shrink: 0;
}
.page-item .page-link {
    border-radius: 22px !important;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color) !important;
    background: #ffffff;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}
.page-item.active .page-link, .page-item .page-link:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

/* Sweet Button */
.boxed-btn, .boxed-btn2, .btn-primary {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 50px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em;
    padding: 14px 30px !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25) !important;
}
.boxed-btn:hover, .boxed-btn2:hover, .btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35) !important;
}

/* Footer layout */
.footer-area {
    background-color: #0f172a !important;
    border-top: 1px solid #1e293b;
    padding-top: 80px;
}
.footer-logo img {
    margin-bottom: 24px;
}
.footer-pera p {
    color: #94a3b8 !important;
    line-height: 1.7;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08) !important;
    margin-right: 12px !important;
    transition: all 0.2s ease;
}
.footer-social a i {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
}
.footer-social a:hover {
    background: var(--primary-color) !important;
    transform: translateY(-3px);
}
.footer-social a:hover i {
    color: #ffffff !important;
}
.footer-tittle h4 {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 1.25rem !important;
    margin-bottom: 24px;
    font-weight: 600 !important;
}
.footer-form input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.recent-post-caption ul li a {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.recent-post-caption ul li a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
.footer-bottom-area {
    background-color: #020617 !important;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-copy-right p {
    color: #64748b !important;
    margin: 0;
}
.footer-menu ul li a {
    color: #64748b !important;
}
.footer-menu ul li a:hover {
    color: #ffffff !important;
}

/* Modals */
.modal-content {
    border-radius: var(--radius-lg) !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden;
}
.modal-body {
    padding: 40px !important;
}
.modal-body h5 {
    font-size: 1.5rem !important;
    margin-bottom: 24px !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .trend-top-cap h2 a {
        font-size: 1.75rem !important;
    }
    .trend-top-img img {
        height: 380px;
    }
}

/* Compact Navbar Customization */
.sticky-logo {
    display: block !important;
}
.sticky-logo img {
    height: 42px !important;
    width: auto !important;
}
.header-bottom {
    padding: 10px 0 !important;
}
.header-bottom .header-flex {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.main-menu ul li a {
    padding: 12px 16px !important;
}
.main-menu ul li a::after {
    bottom: -4px !important;
    left: 16px !important;
    right: 16px !important;
}

/* Carousel Active Dot Color Override */
.dot-style .slick-active button,
.weekly2-news-area .weekly2-wrapper .dot-style .slick-active button {
    background: var(--primary-color) !important;
}

/* Back to Top (scrollUp) button override */
#scrollUp {
    background: var(--primary-color) !important;
}
#scrollUp:hover {
    background: #5a0113 !important;
}

/* Brand Text Color Utility */
.text-brand {
    color: var(--primary-color) !important;
}

