/* ===========================================
   BHAVYA FOUNDATION - MODERN DESIGN SYSTEM
   Consistent Color Scheme Based on Logo
   =========================================== */

:root {
    /* Primary Colors - New Orange-Dominant Theme (70% Orange) */
    --primary: #F07E00;
    --primary-orange: #F07E00;
    --primary-hover: #E59746;
    --accent: #F07E00;
    --accent-orange: #F07E00;
    --accent-hover: #E59746;
    --secondary: #F5B774;
    --light-orange: #F5B774;
    
    /* Blue Colors (20% Blue) */
    --primary-blue: #0C97CC;
    --accent-blue: #6BBFDF;
    --light-blue: #6BBFDF;
    
    /* Green Colors (10% Green) */
    --primary-green: #1AA75B;
    --accent-green: #1AA75B;
    
    /* Legacy color support */
    --accent-yellow: #E59746;
    --dark-navy: #0C97CC;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-cream: #FFF8E7;
    --soft-gray: #F5F7FA;
    --light-gray: #E5E7EB;
    --medium-gray: #9CA3AF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Gradients - Orange Dominant */
    --gradient-primary: linear-gradient(135deg, #F07E00 0%, #E59746 100%);
    --gradient-secondary: linear-gradient(135deg, #F5B774 0%, #F07E00 100%);
    --gradient-success: linear-gradient(135deg, #F07E00 0%, #E59746 100%);
    --gradient-hero: linear-gradient(135deg, #F5B774 0%, #E59746 100%);
}

/* ===========================================
   MODERN HEADER - STICKY WITH GLASS EFFECT
   =========================================== */

/* Add padding to body to account for fixed header.
   Values MUST exceed the actual rendered header height
   (header-nav min-height can expand due to logo + padding,
    plus 1px border-bottom on .modern-header). */
body {
    padding-top: 74px;
}

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.header-nav {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    min-height: 70px;
}

.header-logo {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: -0.375rem -0.375rem;
    padding: 0.375rem 0.375rem;
}

.header-logo img {
    height: 2.5rem;
    width: auto;
}

/* ===========================================
   DESKTOP NAVIGATION
   =========================================== */

.header-desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-link:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 14rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.nav-item:hover .nav-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.nav-dropdown:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.dropdown-link:hover {
    background-color: rgba(240, 126, 0, 0.1);
    color: var(--primary);
}

/* Chevron Icon */
.chevron-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chevron-icon.rotated {
    transform: rotate(180deg);
}

/* ===========================================
   HEADER BUTTONS
   =========================================== */

.header-donate-desktop {
    display: none;
    gap: 0.75rem;
    flex: 1 1 0%;
    justify-content: flex-end;
    align-items: center;
}

/* Join Us Button - Outline Style */
.btn-join {
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-join:hover {
    background: var(--accent);
    color: white;
}

/* Donate Button - Filled Style */
.btn-donate {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-donate:hover {
    background-color: var(--accent-hover);
    color: white;
}

/* ===========================================
   MOBILE NAVIGATION
   =========================================== */

.header-mobile-actions {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.btn-join-mobile {
    background: transparent;
    color: var(--accent);
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    font-size: 0.75rem;
    white-space: nowrap;
}

.btn-join-mobile:hover {
    background: var(--accent);
    color: white;
}

.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0.5rem;
    color: #374151;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 0.5rem 1rem 0.75rem;
}

.mobile-nav-item {
    margin-bottom: 0.25rem;
}

.mobile-nav-link {
    display: block;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
    color: var(--primary);
}

.mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mobile-dropdown-btn:hover {
    background-color: #f9fafb;
    color: var(--primary);
}

.mobile-dropdown-content {
    margin-left: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out;
    margin-top: 0;
}

.mobile-dropdown-content.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.5rem;
}

.mobile-dropdown-link {
    display: block;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-dropdown-link:hover {
    background-color: #f9fafb;
    color: var(--primary);
}

/* ===========================================
   UNIVERSAL BREADCRUMB STYLING
   =========================================== */

.modern-breadcrumb {
    background: var(--gradient-secondary);
    padding: 80px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.modern-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.breadcrumb-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.breadcrumb-path {
    font-size: 1.1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumb-path a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-path a:hover {
    opacity: 0.7;
}

/* ===========================================
   BHAVYA FOUNDATION - MODERN PAGINATION
   Reusable pagination component styles
   =========================================== */

/* Pagination Navigation Container */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

/* Pagination Content List */
.pagination-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Pagination Item */
.pagination-item {
    list-style: none;
}

/* Base Pagination Link/Button Styles */
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
}

/* Ghost variant (default) */
.pagination-link.ghost {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.pagination-link.ghost:hover:not(.disabled):not([aria-disabled="true"]) {
    background: rgba(245, 130, 32, 0.1);
    color: #F58220;
    border-color: #F58220;
}

/* Outline variant (active) */
.pagination-link.outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    font-weight: 600;
}

.pagination-link.outline:hover {
    background: rgba(245, 130, 32, 0.1);
    color: #F58220;
    border-color: #F58220;
}

/* Active state */
.pagination-link[data-active="true"],
.pagination-link.active {
    background: white;
    color: #111827;
    border-color: #d1d5db;
    font-weight: 600;
}

/* Disabled state */
.pagination-link:disabled,
.pagination-link.disabled,
.pagination-link[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}

/* Previous/Next buttons */
.pagination-previous,
.pagination-next {
    gap: 0.25rem;
    padding: 0 0.625rem;
    color: #374151;
    background: transparent;
    border: 1px solid transparent;
}

.pagination-previous:hover:not(.disabled):not([aria-disabled="true"]),
.pagination-next:hover:not(.disabled):not([aria-disabled="true"]) {
    color: #F58220;
    background: rgba(245, 130, 32, 0.1);
}

@media (min-width: 640px) {
    .pagination-previous {
        padding-left: 0.625rem;
    }
    
    .pagination-next {
        padding-right: 0.625rem;
    }
}

/* Icons in pagination */
.pagination-icon {
    width: 1rem;
    height: 1rem;
}

/* Hide text on mobile, show on desktop */
.pagination-text {
    display: none;
}

@media (min-width: 640px) {
    .pagination-text {
        display: block;
    }
}

/* Ellipsis */
.pagination-ellipsis {
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.pagination-ellipsis .icon {
    width: 1rem;
    height: 1rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .pagination-content {
        gap: 0.125rem;
    }
    
    .pagination-link {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8125rem;
        padding: 0 0.375rem;
    }
}

/* Page info text (optional) */
.pagination-info {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ===========================================
   STATS SECTION FIX (NO OVERFLOW)
   =========================================== */

.stats-section-fixed {
    background: var(--gradient-secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid-fixed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 15px;
}

.stat-card-fixed {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.stat-card-fixed:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.stat-icon-fixed {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.stat-number-fixed {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.stat-label-fixed {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid-fixed {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card-fixed {
        padding: 1.5rem 0.75rem;
    }
    
    .modern-breadcrumb {
        padding: 50px 0 40px;
        margin-top: 0;
    }
    
    .pagination-modern {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stats-grid-fixed {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb-path {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ===========================================
   MOBILE-FIRST RESPONSIVE UTILITIES
   =========================================== */

/* Container Max Widths */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Minimize empty space on left/right */
body, html {
    margin: 0;
    padding: 0;
}

.container {
    padding-left: 12px;
    padding-right: 12px;
}

.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

/* Typography Responsive Scaling */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }
    
    h3 {
        font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
    }
    
    p, li, span {
        font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
        line-height: 1.6 !important;
    }
}

/* Button Responsive Sizing */
@media (max-width: 768px) {
    .btn, .btn-modern-primary, .btn-modern-outline, 
    .hero-btn, .donate-btn, .volunteer-btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    .btn, .btn-modern-primary, .btn-modern-outline,
    .hero-btn, .donate-btn, .volunteer-btn {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        justify-content: center;
    }
}

/* Image Responsive Sizing */
img {
    max-width: 100%;
    height: auto;
}

/* Grid Responsive Adjustments */
@media (max-width: 992px) {
    .row > [class*='col-lg-'] {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .row > [class*='col-md-'] {
        margin-bottom: 1.5rem;
    }
    
    .g-4 {
        gap: 1rem !important;
    }
    
    .g-5 {
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .row > [class*='col-'] {
        margin-bottom: 1rem;
    }
}

/* Section Padding Responsive - Reduced for more content space */
section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 576px) {
    section {
        padding: 30px 0 !important;
    }
}

/* Reduce default margins */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 0.75rem;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row > * {
    padding-left: 10px;
    padding-right: 10px;
}

/* Card Responsive Adjustments */
@media (max-width: 768px) {
    .card, .blog-card, .initiative-card, 
    .team-card, .volunteer-card {
        margin-bottom: 1.5rem;
    }
}

/* Make blog cards wider and more appealing - remove shadows */
.blog-modern-card,
.blog-card-modern {
    max-width: 100%;
    width: 100%;
    box-shadow: none !important;
}

.blog-modern-card:hover,
.blog-card-modern:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
}

@media (min-width: 1400px) {
    .col-lg-3 {
        width: 20%;
    }
}

@media (max-width: 991px) {
    .col-lg-3 {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-3 {
        width: 100%;
    }
}

/* Navigation Mobile Fix */
/* Hide dropdown arrow image - use CSS arrow instead */
.dropdown-arrow {
    display: none !important;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.dropdown-item.show .dropdown-toggle::after,
.dropdown-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: var(--white);
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .dropdown-menu {
        position: static !important;
        display: none;
        background: var(--soft-gray);
        margin-left: 15px;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
}

/* Hero Section Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content-overlay, .hero-content-wrapper,
    .campaign-hero, .education-hero, .donate-hero {
        min-height: 60vh !important;
        height: auto !important;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
    }
}

/* Form Elements Responsive */
@media (max-width: 768px) {
    input[type="text"], input[type="email"], 
    input[type="number"], input[type="tel"],
    textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        padding: 12px 15px !important;
    }
}

/* Gallery Grid Responsive */
@media (max-width: 768px) {
    .gallery-grid, .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .gallery-grid, .gallery-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

/* Prevent Horizontal Overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Text Truncation Utility Classes */
.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Image Object Fit Utilities */
.img-cover {
    object-fit: cover;
    object-position: center;
}

.img-contain {
    object-fit: contain;
    object-position: center;
}

/* Ensure all images have proper object-fit by default */
img:not([class*="logo"]) {
    object-fit: cover;
    object-position: center;
}

/* Utility Classes for Mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    /* More aggressive text truncation on mobile */
    .text-truncate-mobile-1 {
        display: -webkit-box;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .text-truncate-mobile-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-desktop {
        display: block !important;
    }
}

/* ===========================================
   SCROLL TO TOP BUTTON
   =========================================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F07E00 0%, #E59746 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(240, 126, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #E06E00 0%, #D58736 100%);
    box-shadow: 0 6px 20px rgba(240, 126, 0, 0.5);
    transform: translateY(-3px);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
}

.scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .scroll-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top-btn svg {
        width: 18px;
        height: 18px;
    }
}
