/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #161960;
    --primary-dark: #0e1040;
    --primary-light: #1e227a;
    --primary-rgb: 22, 25, 96;

    --secondary: #FDC405;
    --secondary-dark: #d4a504;
    --secondary-light: #fed13b;
    --secondary-rgb: 253, 196, 5;

    --accent: #FDC405;
    --accent-dark: #d4a504;
    --accent-light: #fed13b;

    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-dark: #161960;
    --bg-card: #ffffff;

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: #ffffff;

    --border-color: #e5e7eb;
    --border-radius: 4px;
    --border-radius-sm: 2px;
    --border-radius-lg: 8px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14.5px;
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

/* Removed background overlay */
body::before {
    display: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

a:hover {
    color: var(--primary-dark);
    cursor: pointer;
}

/* ===== UTILITY CLASSES ===== */
.section {
    padding: 3rem 0;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.ms-1 {
    margin-left: 0.25rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* ===== GRID SYSTEM ===== */
.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px;
    margin-left: -15px;
    align-items: center;
}

[class*="col-"] {
    padding: 0 15px;
    width: 100%;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 991px) {

    .col-lg-7,
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-white);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: default;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card a {
    cursor: pointer !important;
}

.card-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 1rem 0;
}

.card-footer {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== NEW HEADER DESIGN ===== */
.header-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
    font-size: 0.8rem;
    color: #666;
}

.header-top-bar .info-item i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.header-top-bar .top-socials a {
    color: #888;
    margin-left: 18px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.header-top-bar .top-socials a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.main-header {
    background: var(--primary);
    padding: 20px 0;
    color: var(--text-white);
}

.main-header .navbar-brand {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 800;
}

.main-header .navbar-brand span {
    color: var(--secondary);
}

/* Updated Image Constraints */
.hero-image-stack img,
.feature-section img,
.bg-primary img {
    max-height: 400px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
}

.search-form {
    display: flex;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    outline: none;
}

.search-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0 25px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--secondary-dark);
}

/* Larger Search Bar */
.search-section-large {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-form-large {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.search-form-large:focus-within {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-form-large .search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    pointer-events: none;
}

.search-form-large input {
    flex: 1;
    border: none;
    padding: 16px 20px 16px 50px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-form-large input::placeholder {
    color: var(--text-light);
}

.search-form-large button {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--primary);
    border: none;
    padding: 16px 35px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.search-form-large button:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    transform: scale(1.05);
}

/* Notification Bell */
.notification-bell-wrapper {
    position: relative;
}

.notification-bell-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-bell-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.notification-bell-icon i {
    animation: bellRing 2s ease-in-out infinite;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    border: 2px solid var(--primary);
}

.pulse-animation {
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.8);
    }
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}


.action-icon,
.login-link {
    color: var(--text-white);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.action-icon:hover,
.login-link:hover {
    color: var(--secondary);
    opacity: 0.8;
    cursor: pointer;
}

/* Sub Navigation */
.sub-nav {
    background: #fff;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: block;
    padding: 15px 25px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: var(--bg-secondary);
    border-bottom-color: var(--secondary);
}

/* Mobile Toggle */
.nav-toggle-island {
    background: var(--secondary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only {
        display: flex;
    }
}

/* Notification Dropdown Adjustments */
.notification-trigger-wrapper {
    position: relative;
}

.notification-trigger-wrapper>a {
    cursor: pointer;
    display: inline-block;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    display: none;
    z-index: 2000;
    margin-top: 10px;
    pointer-events: auto;
}

.notification-dropdown.active {
    display: block;
}

.notification-header {
    padding: 15px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.dropdown-links a {
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.dropdown-links a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.notification-divider {
    letter-spacing: 0.1em;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.notification-item span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.6;
}

.notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    margin-left: 5px;
}

/* Mobile Side-Blade */
.mobile-side-blade {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--primary);
    z-index: 1100;
    padding: 4rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.85, 0, 0.15, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-side-blade.active {
    right: 0;
}

.mobile-side-blade .close-blade {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Mobile Search */
.mobile-search {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.2s;
}

.mobile-side-blade.active .mobile-search {
    opacity: 1;
    transform: translateY(0);
}

.mobile-search .search-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-search .search-form input {
    background: transparent;
    color: var(--text-white);
}

.mobile-search .search-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search .search-form button {
    background: var(--secondary);
    color: var(--primary);
    min-width: 50px;
}


.mobile-menu-links {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.mobile-menu-links li {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.mobile-side-blade.active .mobile-menu-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-links a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

/* Visibility Utilities */
/* Hide hamburger menu by default (desktop) */
.nav-toggle-island {
    display: none;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-toggle-island:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

@media (max-width: 992px) {

    /* Hide desktop navigation on mobile */
    .d-none-mobile {
        display: none !important;
    }

    /* Show hamburger menu on mobile */
    .nav-toggle-island {
        display: flex !important;
    }

    /* Hide mobile-only elements on desktop */
    .mobile-only {
        display: block !important;
    }
}

/* ===== SIDEBAR ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    font-size: 13.5px;
}

.sidebar {
    width: 240px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f172a 100%);
    color: var(--text-white);
    padding: 1rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    padding: 0 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-left-color: var(--secondary);
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-left-color: var(--secondary);
}

.sidebar-menu a svg,
.sidebar-menu a i {
    width: 20px;
    height: 20px;
}

.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 1.5rem;
    background: #0b0f1a;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control-file {
    padding: 0.5rem;
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== TABLES ===== */
.table-container {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--bg-tertiary);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.admin-layout th {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.02);
}

tr:hover {
    background: var(--bg-secondary);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: capitalize;
}

.badge-primary {
    background: #dbeafe;
    color: var(--primary);
}

.badge-success {
    background: #d1fae5;
    color: var(--secondary);
}

.badge-warning {
    background: #fef3c7;
    color: var(--warning);
}

.badge-danger {
    background: #fee2e2;
    color: var(--danger);
}

.badge-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* ===== GRID SYSTEM ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--text-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: #d1fae5;
    border-color: var(--success);
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    border-color: var(--danger);
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    border-color: var(--warning);
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    border-color: var(--primary);
    color: #1e40af;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

/* ===== SERVICE CARD SPECIFIC ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

/* ===== DASHBOARD STATS ===== */
.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
}

/* ===== LOADING SPINNER ===== */
.spinner {
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
.header-top-bar .contact-info .info-item:last-child {
    border-right: none;
}

@media (max-width: 576px) {
    .header-top-bar .contact-info .info-item:not(:first-child) {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-menu {
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* ===== NEW FOOTER DESIGN ===== */
.main-footer-area {
    background: var(--primary);
    color: var(--text-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.footer-logo span {
    color: var(--secondary);
}


.company-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    background: var(--primary-dark);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 20px;
    transition: var(--transition);
}

.bottom-links a:hover {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CURSOR FIX - PREVENT FLICKERING ===== */
/* Ensure all non-interactive elements have default cursor */
div,
section,
main,
header,
footer,
nav,
article,
aside,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
ol,
li,
img {
    cursor: default;
}

/* Ensure all interactive elements have pointer cursor */
button,
a,
[role="button"],
.btn,
input[type="submit"],
input[type="button"],
select,
[onclick] {
    cursor: pointer !important;
}

/* Specific fixes for hero section */
.hero-home,
.hero-text,
.hero-image,
.hero-btns {
    cursor: default;
}

.hero-btns a,
.hero-btns button {
    cursor: pointer !important;
}

/* Service cards specific fix */
.service-card {
    cursor: default;
    pointer-events: auto;
}

.service-card a {
    cursor: pointer !important;
    pointer-events: auto;
}

/* Container elements should not interfere */
.container,
.container-fluid,
.row,
[class*="col-"] {
    cursor: default;
}

/* Text elements */
.text-primary,
.text-secondary,
.text-white,
.lead,
.display-1,
.display-2,
.display-3,
.display-4 {
    cursor: default;
}

/* Icons should inherit cursor from parent unless they're in links */
i,
svg {
    cursor: inherit;
}

a i,
a svg,
button i,
button svg,
.btn i,
.btn svg {
    cursor: pointer !important;
}

/* Input fields */
input,
textarea {
    cursor: text !important;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer !important;
}

/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    z-index: 10000;
    animation: slideIn 0.3s ease-out forwards;
    cursor: pointer;
    border-left: 5px solid var(--secondary);
}

.notification-toast:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateX(-5px);
}

.toast-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: bellShake 0.5s ease-in-out;
}

.toast-content {
    flex: 1;
}

.toast-content strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 5px;
}

.toast-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--danger);
    transform: scale(1.2);
}

@keyframes slideIn {
    from {
        transform: translateX(500px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(500px);
        opacity: 0;
    }
}

@keyframes bellShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

@media (max-width: 768px) {
    .notification-toast {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}