/**
 * Geeks Phone Auth Custom Styles
 *
 * Custom Colors:
 * - Primary: #0A0227
 * - Secondary: #79758f
 * - Success: #19cb98
 * - Info: #29BAF9
 *
 * @package geeks
 * @since   1.3.0
 */

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

/* Force Cairo font globally */
body,
html,
* {
    font-family: 'Cairo', sans-serif !important;
}

button,
input,
select,
textarea {
    font-family: 'Cairo', sans-serif !important;
}

/* ========================================
   Header Top Bar
   ======================================== */
.header-top-bar {
    background-color: #0A0227 !important;
    color: #ffffff;
    position: relative;
    z-index: 9999 !important;
}

/* Ensure navbar is always above backdrop */
.navbar {
    position: relative;
    z-index: 9999 !important;
    background-color: #fff !important;
}

/* Make menu items bold and centered */
.navbar-nav {
    justify-content: center !important;
}

.navbar-nav .nav-link {
    font-weight: 700 !important;
    font-size: 15px;
    color: #000000 !important;
}

/* Navbar Container Flex Order */
.navbar > .container,
.navbar > .container-fluid {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
}

/* Desktop Order: Logo (1), Navbar (2), Login/Profile (3) */
@media (min-width: 992px) {
    .navbar-brand {
        order: 1;
        flex: 0 0 auto;
    }

    .navbar-toggler {
        display: none !important;
    }

    .navbar-collapse {
        order: 2;
        flex: 1 1 auto;
    }

    .geeks-auth-btn,
    .navbar-right,
    .navbar-right-wrap,
    .user-profile,
    .dropdown-user,
    .custom-user-profile {
        order: 3;
        flex: 0 0 auto;
        margin-left: 1rem !important;
        display: block !important;
    }
}

/* Mobile Order: Menu Toggle (1), Logo (2), Login/Profile (3) - 3 Column Grid */
@media (max-width: 991px) {
    .navbar > .container,
    .navbar > .container-fluid {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
    }

    .navbar-toggler-wrapper {
        order: 1;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        text-align: start;
        padding-left: 0.5rem !important;
        margin: 0 !important;
    }

    .navbar-toggler {
        margin: 0 !important;
        border: 0 !important;
    }

    .navbar-brand {
        order: 2;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        text-align: center;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .navbar-brand img {
        margin: 0 auto;
    }

    .geeks-auth-btn,
    .navbar-right,
    .navbar-right-wrap,
    .user-profile,
    .dropdown-user,
    .custom-user-profile {
        order: 3;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        text-align: right;
        padding-right: 0.5rem !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .navbar-collapse {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

.header-top-bar .social-icons-wrapper a {
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.header-top-bar .social-icons-wrapper a:hover {
    color: #29BAF9;
    transform: translateY(-2px);
}

/* ========================================
   Auth Button in Navbar
   ======================================== */
.geeks-auth-btn {
    position: relative;
    pointer-events: auto !important;
    background-color: #0A0227 !important;
    border-color: #0A0227 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
}

.geeks-auth-btn:hover,
.geeks-auth-btn:focus {
    background-color: #19cb98 !important;
    border-color: #19cb98 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 203, 152, 0.3);
}

.geeks-auth-btn i.fe {
    font-size: 16px;
    vertical-align: middle;
    display: inline-block;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .geeks-auth-btn {
        padding: 0.4rem 1rem;
        font-size: 14px;
        margin-top: 0 !important;
    }

    .geeks-auth-btn i.fe {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .geeks-auth-btn {
        padding: 0.4rem 0.875rem;
        font-size: 13px;
    }
}

/* ========================================
   Custom User Profile Modal
   ======================================== */
.custom-user-profile {
    position: relative;
    margin-left: auto;
}

.profile-trigger {
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 4px 12px 4px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-trigger:hover {
    border-color: #0A0227;
    box-shadow: 0 4px 12px rgba(10, 2, 39, 0.1);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.arrow-icon {
    font-size: 16px;
    color: #79758f;
}

/* Profile Modal */
.profile-modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    max-width: 400px;
    margin: 0 auto;
}

.profile-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background-color: #0A0227;
    opacity: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-image: none !important;
}

.profile-close-btn::before {
    content: "×";
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-close-btn:hover {
    background-color: #19cb98;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #0A0227 0%, #1a0e4f 100%);
    padding: 24px;
    text-align: center;
    position: relative;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    position: relative;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.change-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #19cb98;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-avatar-btn:hover {
    background: #16b589;
    transform: scale(1.1);
}

.change-avatar-btn i {
    color: #ffffff;
    font-size: 14px;
}

.profile-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.profile-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

/* Menu Items */
.profile-menu {
    padding: 12px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #0A0227;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.profile-menu-item:hover {
    background: #f8f9fa;
    color: #19cb98;
}

.profile-menu-item i {
    font-size: 18px;
    color: #79758f;
    transition: color 0.3s ease;
}

.profile-menu-item:hover i {
    color: #19cb98;
}

.profile-menu-item.logout {
    color: #dc3545;
}

.profile-menu-item.logout:hover {
    background: #fff5f5;
    color: #dc3545;
}

.profile-menu-item.logout i {
    color: #dc3545;
}

.profile-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* Avatar Selector Modal */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 8px;
}

.avatar-option {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.avatar-option:hover {
    border-color: #29BAF9;
    transform: scale(1.05);
}

.avatar-option.active {
    border-color: #19cb98;
}

.avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-selected {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: #19cb98;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-selected i {
    color: #ffffff;
    font-size: 14px;
}

/* Default Avatar Placeholders (CSS-based) */
.avatar-option:nth-child(1) img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar-option:nth-child(2) img {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.avatar-option:nth-child(3) img {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.avatar-option:nth-child(4) img {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.avatar-option:nth-child(5) img {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.avatar-option:nth-child(6) img {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .profile-dropdown {
        width: calc(100vw - 32px);
        right: -100px;
    }

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

/* ========================================
   Modal Styles
   ======================================== */
/* CRITICAL FIX: Hide orphaned backdrops completely */
.modal-backdrop {
    display: none !important;
}

/* Only show backdrop when modal is actually open */
.modal.show ~ .modal-backdrop {
    display: block !important;
    z-index: 1040 !important;
}

/* Fix z-index for modal and backdrop */
.modal.show {
    z-index: 1055 !important;
}

.modal-dialog {
    z-index: 1060 !important;
    pointer-events: auto !important;
    max-width: 480px;
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(10, 2, 39, 0.2);
    position: relative;
    z-index: 1065 !important;
    pointer-events: auto !important;
    overflow: hidden;
}

.geeks-modern-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
    direction: rtl;
}

.modal-header .btn-close {
    background-color: #0A0227;
    opacity: 1;
    margin-left: auto;
    margin-right: 0;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
    position: relative;
}

.modal-header .btn-close::before {
    content: "×";
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-header .btn-close:hover {
    background-color: #19cb98;
    opacity: 1;
}

.modal-header .btn-close:hover::before {
    color: #ffffff;
}

.modal-header .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(10, 2, 39, 0.25);
    background-color: #0A0227;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    direction: rtl;
    text-align: right;
}

.modal-body h2 {
    color: #0A0227;
}

/* ========================================
   Modern Tab Buttons
   ======================================== */
.auth-tabs {
    display: flex;
    gap: 10px;
    background: #e9ecef;
    padding: 5px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #79758f;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab i {
    font-size: 18px;
}

.auth-tab:hover {
    background: rgba(10, 2, 39, 0.05);
    color: #0A0227;
}

.auth-tab.active {
    background: #0A0227;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 2, 39, 0.2);
}

.auth-tab.active:hover {
    background: #0A0227;
    color: #ffffff;
}

/* Tab Content */
.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Form Elements
   ======================================== */
.modal-body .form-label {
    color: #0A0227;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.modal-body .form-label i {
    font-size: 16px;
    color: #79758f;
}

.modal-body .form-control {
    border-color: #e0e0e0;
    border-width: 2px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: #29BAF9;
    box-shadow: 0 0 0 4px rgba(41, 186, 249, 0.1);
    outline: none;
    background-color: #ffffff;
}

.modal-body .form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* Form Check (Checkbox/Radio) */
.modal-body .form-check-input {
    border-color: #79758f;
}

.modal-body .form-check-input:checked {
    background-color: #0A0227;
    border-color: #0A0227;
}

.modal-body .form-check-input:focus {
    border-color: #29BAF9;
    box-shadow: 0 0 0 0.2rem rgba(41, 186, 249, 0.25);
}

.modal-body .form-check-label {
    color: #0A0227;
}

/* Small Helper Text */
.modal-body .form-text {
    color: #79758f;
    font-size: 0.875rem;
}

/* ========================================
   Buttons in Modals
   ======================================== */
.modal-body .btn-primary,
.modal-body .btn-modern {
    background: linear-gradient(135deg, #0A0227 0%, #1a0e4f 100%);
    border: none;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 2, 39, 0.2);
}

.modal-body .btn-primary:hover,
.modal-body .btn-modern:hover,
.modal-body .btn-primary:focus,
.modal-body .btn-modern:focus {
    background: linear-gradient(135deg, #19cb98 0%, #16b589 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 203, 152, 0.3);
}

.modal-body .btn-primary:disabled,
.modal-body .btn-modern:disabled {
    background: #adb5bd;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.modal-body .btn-primary:active,
.modal-body .btn-modern:active {
    transform: translateY(0);
}

.forgot-link {
    color: #29BAF9;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #0A0227;
    text-decoration: underline;
}

.modal-body .btn-success {
    background-color: #19cb98;
    border-color: #19cb98;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
}

.modal-body .btn-success:hover,
.modal-body .btn-success:focus {
    background-color: #0A0227;
    border-color: #0A0227;
}

/* Modal Button Icons */
.modal-body .btn i.fe {
    font-size: 18px;
    vertical-align: middle;
    display: inline-block;
}

/* ========================================
   Links
   ======================================== */
.modal-body a {
    color: #29BAF9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-body a:hover {
    color: #0A0227;
    text-decoration: underline;
}

/* ========================================
   Alert Messages
   ======================================== */
.alert-success {
    background-color: #19cb98;
    border-color: #19cb98;
    color: #ffffff;
    border-radius: 6px;
}

.alert-success ul {
    margin-bottom: 0;
}

.alert-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    border-radius: 6px;
}

.alert-danger ul {
    margin-bottom: 0;
}

/* ========================================
   Text Colors
   ======================================== */
.text-muted {
    color: #79758f !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* ========================================
   Required Field Asterisk
   ======================================== */
.form-label .text-danger {
    font-weight: bold;
    font-size: 1.1em;
}

/* ========================================
   Loading Spinner
   ======================================== */
.spinner-border {
    border-color: currentColor;
    border-right-color: transparent;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* ========================================
   Modal Branding
   ======================================== */
.modal-body .custom-logo-link img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

/* ========================================
   WhatsApp Button Icon
   ======================================== */
.btn-success i.fe {
    vertical-align: middle;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-content {
        border-radius: 16px;
    }

    .modal-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }

    .header-top-bar .social-icons-wrapper a {
        font-size: 14px;
        margin: 0 0.5rem;
    }


    .auth-tab {
        padding: 10px 12px;
        font-size: 13px;
    }

    .auth-tab i {
        font-size: 16px;
    }

    .modal-body .btn i.fe {
        font-size: 16px;
    }

    .modal-body .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }

    .modal-body .btn-primary,
    .modal-body .btn-modern {
        padding: 12px 20px;
        font-size: 14px;
    }

    .modal-header .btn-close {
        width: 30px;
        height: 30px;
    }

    .modal-header .btn-close::before {
        font-size: 28px;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .geeks-auth-btn {
        font-size: 12px;
        padding: 0.35rem 0.75rem;
    }

    .geeks-auth-btn i.fe {
        font-size: 13px;
    }
}

/* ========================================
   Form Validation States
   ======================================== */
.was-validated .form-control:valid {
    border-color: #19cb98;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

/* ========================================
   Accessibility
   ======================================== */
.btn:focus,
.form-control:focus,
.btn-close:focus {
    outline: 2px solid #29BAF9;
    outline-offset: 2px;
}

/* ========================================
   Smooth Transitions
   ======================================== */
.btn,
.form-control,
a {
    transition: all 0.3s ease;
}

/* ========================================
   Password Field Toggle (if implemented later)
   ======================================== */
.password-toggle {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #79758f;
}

.password-toggle-icon:hover {
    color: #0A0227;
}

/* ========================================
   Single Course Page - Clean Styling
   ======================================== */
.single-courses .bg-primary {
    background-color: transparent !important;
    background: none !important;
}

.single-courses .pt-lg-8 {
    padding-top: 2rem !important;
}

.single-courses .pb-lg-16 {
    padding-bottom: 2rem !important;
}

.single-courses .pt-8 {
    padding-top: 1.5rem !important;
}

.single-courses .pb-12 {
    padding-bottom: 1.5rem !important;
}

.single-courses .mt-n8 {
    margin-top: 0 !important;
}

.single-courses .mt-lg-n22 {
    margin-top: 0 !important;
}

/* Single Course Enrolled Page - Clean Layout */
.single-courses .p-lg-5 {
    padding: 1rem !important;
}

.single-courses .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.single-courses .single-enrolled-video {
    height: 500px !important;
    max-height: 500px !important;
}

.single-courses .card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    margin-bottom: 1.5rem !important;
}

.single-courses .card-body {
    padding: 1.5rem !important;
}

.single-courses h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
}

.single-courses .container {
    max-width: 1200px !important;
}

/* Fix Tutor alerts and notifications on course page */
.single-courses .tutor-alert,
.single-courses .alert {
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

/* Clean up video wrapper */
.single-courses .single-enrolled-video {
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    background: #000 !important;
}

/* Better card spacing */
.single-courses .row {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
}

.single-courses .row > [class*='col-'] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

/* Clean course meta spacing */
.single-courses .d-flex.mb-5 {
    margin-bottom: 1rem !important;
}

/* Better button styling */
.single-courses .btn {
    border-radius: 0.375rem !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
}

/* Remove excessive margin from first row */
.single-courses .mb-5 {
    margin-bottom: 1.5rem !important;
}

/* Course page - Better overall layout */
.single-courses {
    background: #f8f9fa !important;
}

.single-courses .card-header {
    background: #fff !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 1rem 1.5rem !important;
}

.single-courses .card-header h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* Progress bar styling */
.single-courses .tutor-progress-bar {
    background: #e9ecef !important;
    border-radius: 10px !important;
}

.single-courses .tutor-progress-filled {
    background: #19cb98 !important;
    border-radius: 10px !important;
}

/* Clean course title */
.single-courses .fw-semi-bold {
    font-weight: 700 !important;
    color: #0A0227 !important;
}

/* Better author section */
.single-courses .avatar-md {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
}

/* Responsive video height */
@media (max-width: 768px) {
    .single-courses .single-enrolled-video {
        height: 300px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .single-courses .single-enrolled-video {
        height: 400px !important;
    }
}

/* Admin bar course sidebar positioning */
@media (min-width: 992px) {
    body.admin-bar .course-sidebar {
        top: 11.34rem !important;
    }
}

/* Header background white */
header,
.header,
.site-header {
    background-color: #fff !important;
}

/* Tutor course content wrappers positioning */
@media (min-width: 992px) {
    .tutor-course-single-content-wrapper,
    .tutor-single-assignment-wrap,
    .tutor-single-lesson-wrap,
    .tutor-single-quiz-wrap {
        position: fixed !important;
        top: 10.5rem !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        display: flex !important;
    }
}

/* ========================================
   Modern Footer v3 Styling
   ======================================== */
.footer-v3 {
    background: #0A0227 !important;
    color: #ffffff;
    margin-top: 4rem;
}

.footer-v3 .border-bottom,
.footer-v3 .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer v3 - Top Section (Centered Layout) */
.footer-v3-top .footer-logo {
    display: flex;
    justify-content: center;
}

.footer-v3-top .footer-logo img {
    max-height: 50px;
    width: auto;
    margin: 0 auto;
}

.footer-v3-top h4 {
    color: #ffffff !important;
    font-weight: 700;
}

.footer-v3-top .footer-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-v3-top .footer-description p {
    margin-bottom: 0.5rem;
}

.footer-v3-top .footer-description p:last-child {
    margin-bottom: 0;
}

/* Footer v3 - Social Menu */
.footer-v3 .social-menu a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer-v3 .social-menu a:hover {
    color: #19cb98 !important;
    transform: translateY(-2px);
}

/* Footer v3 - Navigation Menu */
.footer-v3-menu .nav-footer {
    gap: 1rem;
}

.footer-v3-menu .nav-footer .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.footer-v3-menu .nav-footer .nav-link:hover {
    color: #19cb98 !important;
}

/* Footer v3 - Bottom Copyright */
.footer-v3-bottom .geeks-copyright {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
}

/* Footer v3 - Responsive */
@media (max-width: 767px) {
    .footer-v3-top .footer-logo img {
        max-height: 40px;
    }

    .footer-v3-top .footer-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .footer-v3-menu .nav-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-v3 .social-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}
