/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

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

/* General Styles */
:root {
    --primary-color: #ff8800;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
/* Statistics Section */
.bg-gradient {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: #ffffff; /* Changed from rgb(255, 60, 0) to white */
    position: relative;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.counter-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-item i {
    color: rgba(255, 123, 0, 0.9);
    margin-bottom: 1rem;
}

.counter-item h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, #ff9900, rgba(255, 94, 0, 0.8));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

.counter-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255, 153, 0, 0.9);
    font-weight: 500;
}

/* Navbar Styles */
.navbar {
    background-color: var(--bg-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    border: none;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 149, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link i {
    font-size: 0.9rem;
}

/* Hero Section */
#hero {
    padding: 30px 0;
    background-color: #f8f9fa;
    background-image: url('https://storage.perfectcdn.com/jp11cn/8y03gk30zjcipfwm.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero_image {
    text-align: right;
    position: relative;
    z-index: 2;
}

.hero_image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.animate-on-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.hero_content {
    padding-right: 30px;
}

.hero_content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero_content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero_content p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.login-form {
    max-width: 450px;
    margin: 0 auto;
}

/* About SMMcute */

#about-smmcute {
    padding: 30px 0;
    background-color: #f8f9fa;
    background-image: url('https://storage.perfectcdn.com/jp11cn/3p6wk3aeow3dweuy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}   

/* Social Media Section */

#social-media {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.home-service-card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Social Media Icons */
.nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-item {
    flex: 0 1 auto;
    margin: 5px;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-color);
}

.nav-pills .nav-link .icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-pills .nav-link .icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.nav-pills .nav-link .text {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

.nav-pills .nav-link:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-pills .nav-link.active .text {
    color: white;
}

.home-service-card .card-header {
    background: rgb(255, 255, 255);
    border: none;
    padding: 20px;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

.nav-pills .nav-link .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-pills .nav-link .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Testimonials */
.testimonial-card {
    height: 100%;
}

.rating .fas {
    color: #ffc107;
}

.counter-item h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion .accordion-button {
    background-color: white;
    box-shadow: none;
}

/* Newsletter Section */
.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

/* RTL Support */
.rtl-form {
    direction: rtl;
    text-align: right;
}

.rtl-form .form-label {
    text-align: right;
}

.rtl-alert {
    text-align: right;
}

/* Animations */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0.7; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

.animate-on-scroll {
    animation: fadeIn 1s cubic-bezier(0.23, 1, 0.32, 1);
    transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero_image.animate-on-scroll img {
    animation: scaleUp 1.2s cubic-bezier(0.23, 1, 0.32, 1), floatY 3.5s ease-in-out infinite;
    transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card, .testimonial-card, .counter-item, .card.home-service-card {
    transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover, .testimonial-card:hover, .card.home-service-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-8px) scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
    .hero_content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav-pills .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    #hero {
        padding: 40px 0;
    }

    .hero_content h1 {
        font-size: 2rem;
    }

    .counter-item {
        margin-bottom: 30px;
    }
}

/* Tab Content Styles */
.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
    opacity: 1;
}

.tab-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-top: 10px;
}

/* Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(45deg, #7b7c7e, #8a7669);
}

.footer-links li a, .footer-contact li a {
    transition: all 0.3s ease;
}

.footer-links li a:hover, .footer-contact li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* FAQ Styles */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background-color: #fff;
    font-weight: 500;
    padding: 1.25rem;
}

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

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.accordion-body {
    padding: 1.25rem;
    color: #6c757d;
}

/* Custom Classes */
.line-below {
    position: relative;
    display: inline-block;
}

.line-below::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Sidebar Styles */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1041;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar-brand img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-nav {
    flex: 1;
    padding: 0 1rem;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 0.25rem 0;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: white;
    background-color: var(--primary-color);
    border-left-color: var(--primary-color);
}


/* Landing Page Navbar Styles */
.navbar {
    background-color: var(--bg-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    border: none;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 149, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link i {
    font-size: 0.9rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0077cc;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 140, 66, 0.3);
}

.sidebar-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar-brand img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* User Profile in Sidebar */
.user-profile {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-name {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.user-balance {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 0.25rem 0;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: white;
    font-weight: 600;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar .nav-link span {
    font-weight: 500;
}

/* Dashboard Main Content */
.main-content {
    flex: 1;
    margin-left: 320px;
    background-color: var(--light-bg);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Top Navigation for Dashboard */
.top-nav {
    background-color: var(--bg-color);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-title h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.top-nav-right .dropdown-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.top-nav-right .dropdown-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.content-wrapper {
    padding: 2rem;
}

/* Stats Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-info .label {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.stat-info .value {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
}

.sidebar.collapsed {
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.main-content.collapsed {
  margin-left: 0 !important;
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
}

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1041;
    width: 80vw;
    max-width: 320px;
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .sidebar-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1040;
    display: block;
  }
  .sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,0.4);
  }
}

@media (max-width: 768px) {
    }

    .top-nav {
        padding: 1rem;
    }

    .page-title h4 {
        font-size: 1.3rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    /* Landing page navbar improvements */
    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }

    .nav-right {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

@media (max-width: 576px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}
