/* Main Website CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Tajawal', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-image: url("../images/bg.png");
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: repeat; */
    padding-bottom: 80px; /* Space for mobile bottom nav */
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #129990;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    padding: 10px 0 8px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-bottom-nav .nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    padding: 6px 4px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 45px;
    flex: 1;
    max-width: 65px;
    position: relative;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: #129990;
    background-color: rgba(18, 153, 144, 0.12);
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #129990;
    border-radius: 0 0 3px 3px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item:hover i,
.mobile-bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

.mobile-bottom-nav .nav-item span {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Language dropdown in mobile nav */
.mobile-lang-dropdown {
    position: relative;
}

.mobile-lang-dropdown .dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    min-width: 120px;
}

/* Hide desktop nav on mobile */
@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: block !important;
    }
    
    .header {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        padding-bottom: 80px;
    }
    
    .main-content {
        padding-top: 0;
    }
}

html[data-theme="dark"] #whatsapp .floating-wpp-popup,
body.dark-mode #whatsapp .floating-wpp-popup {
    background: #121f36 !important;
    border: 1px solid #2d4361;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] #whatsapp .floating-wpp-head,
body.dark-mode #whatsapp .floating-wpp-head {
    background: linear-gradient(135deg, #0f3f7e, #1661b0) !important;
    color: #eef5ff !important;
}

html[data-theme="dark"] #whatsapp .floating-wpp-message,
body.dark-mode #whatsapp .floating-wpp-message {
    background: #1a2b46 !important;
    color: #e3edff !important;
    border: 1px solid #304a70;
}

html[data-theme="dark"] #whatsapp .floating-wpp-input-message,
body.dark-mode #whatsapp .floating-wpp-input-message {
    background: #101d34 !important;
}

html[data-theme="dark"] #whatsapp .floating-wpp-input-message textarea,
body.dark-mode #whatsapp .floating-wpp-input-message textarea {
    background: #0d182c !important;
    color: #e8f2ff !important;
    border-color: #2f4768 !important;
}

html[data-theme="dark"] #whatsapp .floating-wpp-input-message textarea::placeholder,
body.dark-mode #whatsapp .floating-wpp-input-message textarea::placeholder {
    color: #9eb3d1 !important;
}

/* Show desktop nav on larger screens */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    
    .header {
        display: block !important;
    }
    
    body {
        padding-bottom: 0;
    }
}
/* Neo Brutalism Styles */
.brutalism-card {
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 #000;
    transition: all 0.3s ease;
    position: relative;
}

.bg-man-light{
    --bs-bg-opacity:1;
    background-color: #129990;
}

/* body {
  margin: 0;
  padding: 0;
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */

.bg-man-body{
    background-color: rgba(255,255,255,0.85);
    min-height: 100vh;
}

.bg-man-blue{
    --bs-bg-opacity:1;
    background-color: #129990;
}

.bg-man-warning{
    --bs-bg-opacity:1;
    background-color: #FFC2C0;
}

.text-man-warning{
    --bs-text-opacity:1;
    color: #f9a3a0;
}

.btn-man-blue{
    --bs-btn-color: #141414;
    --bs-btn-bg: #7291F9;
    --bs-btn-border-color: #7291F9;
    --bs-btn-hover-color: #141414;
    --bs-btn-hover-bg: #84a0fa;
    --bs-btn-hover-border-color: #9fb1e9;
    --bs-btn-focus-shadow-rgb: 129, 146, 199;
    --bs-btn-active-color: #141414;
    --bs-btn-active-bg: #a9b9ec;
    --bs-btn-active-border-color: #9fb1e9;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(20, 20, 20, .125);
    --bs-btn-disabled-color: #141414;
    --bs-btn-disabled-bg: #7291F9;
    --bs-btn-disabled-border-color: #7291F9;
}

.btn-man-outline-light{
    --bs-btn-color: #141414;
    --bs-btn-bg: #3B3086;
    --bs-btn-border-color: #3B3086;
    --bs-btn-hover-color: #141414;
    --bs-btn-hover-bg: #84a0fa;
    --bs-btn-hover-border-color: #9fb1e9;
    --bs-btn-focus-shadow-rgb: 129, 146, 199;
    --bs-btn-active-color: #141414;
    --bs-btn-active-bg: #a9b9ec;
    --bs-btn-active-border-color: #9fb1e9;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(20, 20, 20, .125);
    --bs-btn-disabled-color: #141414;
    --bs-btn-disabled-bg: #3B3086;
    --bs-btn-disabled-border-color: #3B3086;
}

.btn-man-warning{
    --bs-btn-color: #141414;
    --bs-btn-bg: #FFC2C0;
    --bs-btn-border-color: #FFC2C0;
    --bs-btn-hover-color: #141414;
    --bs-btn-hover-bg: #FFC2C0;
    --bs-btn-hover-border-color: #9fb1e9;
    --bs-btn-focus-shadow-rgb: 129, 146, 199;
    --bs-btn-active-color: #141414;
    --bs-btn-active-bg: #fb8581;
    --bs-btn-active-border-color: #9fb1e9;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(20, 20, 20, .125);
    --bs-btn-disabled-color: #141414;
    --bs-btn-disabled-bg: #FFC2C0;
    --bs-btn-disabled-border-color: #FFC2C0;
}

.brutalism-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
   /* font-family: 'Arial', sans-serif; */
   font-family: 'Tajawal', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.img-fixed{
    width: 800px;
    height: 400px;
    object-fit: contain;
}

/* Header */
.header {
    margin-bottom: 2rem;
    padding: 0;
    position: relative;
    z-index: 100;
    background-color: #00ffff; /* Neon blue color */
    border-bottom: 4px solid #000;
    height: 70px !important; /* Fixed height for both languages */
    min-height: 70px !important;
    max-height: 70px !important;
    display: flex;
    align-items: center;
}

/* Fix for navbar in all pages */
.navbar {
    padding: 0;
    min-width: 100%;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
}

.navbar-collapse {
    height: 100%;
    padding: 1rem;
    border-radius: 4px;
}

.navbar-nav {
    height: 100%;
    align-items: center;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #fff !important;
        padding: 1rem;
        border-radius: 4px;
    }
}


/* Fix for navbar items */
.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding: 0.4rem 0.8rem;
    color: #000 !important;
    border: 3px solid #000;
    background-color: #fff;
    box-shadow: 4px 4px 0 #000;
    transition: all 0.2s ease;
    margin-right: 2rem;
    height: auto;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

/* Fix for navbar brand size */
.navbar-brand span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Fix for navbar toggler */
.navbar-toggler {
    border: 2px solid #000;
    background-color: #fff;
    height: 40px;
    width: 40px;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    margin: 0 0.3rem;
    color: #000 !important;
    transition: all 0.2s ease;
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
}

.nav-link:hover, .nav-link.active {
    color: #000 !important;
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 4px 4px 0 #000;
    padding: 0.5rem;
    background-color: #fff;
}

.dropdown-item {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: #ff6ec7;
    color: #000;
}

.navbar-toggler {
    border: 2px solid #000;
    border-radius: 0;
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: 3px 3px 0 #000;
}

.navbar-toggler:focus {
    box-shadow: 3px 3px 0 #000;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Animation */
@keyframes headerShadow {
    0% {
        box-shadow: 4px 4px 0 #000;
    }
    50% {
        box-shadow: 6px 6px 0 #000;
    }
    100% {
        box-shadow: 4px 4px 0 #000;
    }
}

.navbar-brand {
    animation: headerShadow 3s infinite;
}

/* Add some spacing between nav items */
.navbar-nav .nav-item {
    margin: 0 5px;
}

/* Footer */
.footer {
    margin-top: 3rem;
}

/* Course Cards */
.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    transition: transform 0.3s ease;
}

.course-image:hover img {
    transform: scale(1.05);
}

/* Exam Cards */
.exam-timer {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Drag and Drop */
.drag-item {
    cursor: grab;
    user-select: none;
}

.drag-item.dragging {
    opacity: 0.5;
}

.drop-zone {
    min-height: 60px;
    border: 2px dashed #ccc;
    position: relative;
}

.drop-zone.drag-over {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.drop-placeholder {
    color: #999;
    font-style: italic;
}

.dropped-item {
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Question Navigation */
.question-nav-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Page */
.profile-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Leaderboard */
.leaderboard-item {
    transition: transform 0.2s ease;
}

.leaderboard-item:hover {
    transform: translateY(-5px);
}

.leaderboard-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .brutalism-card {
        margin-bottom: 1.5rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
}

/* RTL Support */
html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

/* Custom Colors for Neo Brutalism */
.bg-neon-green {
    background-color: #39ff14;
}

.bg-neon-pink {
    background-color: #ff6ec7;
}

.bg-neon-orange {
    background-color: #ff6700;
}

.bg-neon-blue {
    background-color: #00ffff;
}

.text-neon-green {
    color: #39ff14;
}

.text-neon-pink {
    color: #ff6ec7;
}

.text-neon-orange {
    color: #ff6700;
}

.text-neon-blue {
    color: #00ffff;
}

/* Country Selector Styles */
.country-selector {
    position: relative;
    width: 100%;
}

.country-selector-button {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.country-selector-button:hover {
    border-color: #129990;
    box-shadow: 0 2px 8px rgba(18, 153, 144, 0.1);
}

.country-selector-button:focus {
    outline: none;
    border-color: #129990;
    box-shadow: 0 0 0 3px rgba(18, 153, 144, 0.1);
}

.country-flag {
    font-size: 20px;
    margin-right: 8px;
}

.country-code {
    font-weight: 500;
    color: #333;
    margin-right: auto;
}

.country-selector-button i {
    color: #666;
    transition: transform 0.3s ease;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow: hidden;
    min-width: 300px;
}

.country-search {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.country-search input {
    width: 100%;
    padding: 8px 12px 8px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.country-search input:focus {
    border-color: #129990;
    box-shadow: 0 0 0 2px rgba(18, 153, 144, 0.1);
}

.country-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
}

.country-list {
    max-height: 200px;
    overflow-y: auto;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.country-item:last-child {
    border-bottom: none;
}

.country-item:hover,
.country-item:focus {
    background-color: #f8f9fa;
    outline: none;
}

.country-item .country-flag {
    margin-right: 12px;
    font-size: 18px;
}

.country-item .country-name {
    flex: 1;
    font-size: 14px;
    color: #333;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-item .country-dial-code {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Phone input group */
.phone-input-group {
    display: flex;
    gap: 8px;
}

.phone-input-group .country-selector {
    flex: 0 0 180px;
}

.phone-input-group .phone-number-input {
    flex: 1;
}

.phone-number-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.phone-number-input input:focus {
    outline: none;
    border-color: #129990;
    box-shadow: 0 0 0 3px rgba(18, 153, 144, 0.1);
}

/* OTP Verification Styles */
.otp-container {
    max-width: 500px;
    margin: 0 auto;
}

.otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #129990;
    box-shadow: 0 0 0 3px rgba(18, 153, 144, 0.1);
}

.otp-input.filled {
    border-color: #129990;
    background-color: #f0f9ff;
}

.otp-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

.otp-timer.warning {
    color: #ff6b6b;
}

.resend-button {
    background: none;
    border: none;
    color: #129990;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.resend-button:hover {
    color: #0f7a73;
}

.resend-button:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

.verification-status {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.verification-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.verification-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.verification-status.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-input-group {
        flex-direction: column;
    }
    
    .phone-input-group .country-selector {
        flex: none;
        margin-bottom: 8px;
    }
    
    .country-dropdown {
        min-width: 280px;
        left: -50px;
    }
    
    .country-item .country-name {
        font-size: 13px;
    }
    
    .country-item .country-dial-code {
        font-size: 13px;
    }
    
    .otp-input-group {
        gap: 6px;
    }
    
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* OTP Verification Styles - Redesigned */
.otp-verification-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.otp-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.otp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #7C3AED, #EC4899);
}

/* Header Section */
.otp-header {
    margin-bottom: 40px;
}

.otp-icon {
    margin-bottom: 20px;
}

.otp-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.otp-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.5;
}

.phone-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #374151;
}

.phone-icon {
    font-size: 18px;
}

/* Alert Messages */
.otp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.otp-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    text-align: left;
}

.alert-content p {
    margin: 0;
    color: #dc2626;
    font-weight: 500;
}

/* OTP Input Section */
.otp-input-section {
    margin-bottom: 30px;
}

.otp-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.otp-digit {
    width: 56px;
    height: 56px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    background: white;
    transition: all 0.2s ease;
}

.otp-digit:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: scale(1.05);
}

.otp-digit:not(:placeholder-shown) {
    border-color: #10b981;
    background: #f0fdf4;
}

.otp-hint {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Timer Section */
.otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
}

.timer-icon {
    font-size: 20px;
}

.timer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.withNoRight{
    padding-right: 0rem;
}

.timer-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.timer-value {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Courier New', monospace;
}

.otp-timer.expired .timer-value {
    color: #dc2626;
}

/* Submit Button */
.otp-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    opacity: 0.6;
    transform: scale(0.98);
}

.otp-submit-btn:disabled {
    cursor: not-allowed;
}

.otp-submit-btn.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.otp-submit-btn:hover.active {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

.btn-icon {
    font-size: 18px;
}

/* Resend Section */
.otp-resend-section {
    margin-bottom: 30px;
}

.resend-question {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.otp-resend-btn {
    background: none;
    border: 2px solid #e5e7eb;
    color: #374151;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.otp-resend-btn:hover:not(:disabled) {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-1px);
}

.otp-resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-resend-btn.loading {
    animation: pulse 1.5s infinite;
}

.resend-icon {
    font-size: 16px;
}

.resend-cooldown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.cooldown-icon {
    font-size: 16px;
}

/* Attempts Remaining */
.otp-attempts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.attempts-icon {
    font-size: 16px;
}

/* Footer */
.otp-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #4f46e5;
}

.back-icon {
    font-size: 16px;
}

/* Notifications */
.otp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.otp-notification.show {
    transform: translateX(0);
}

.otp-notification.success {
    border-left: 4px solid #10b981;
}

.otp-notification.error {
    border-left: 4px solid #ef4444;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-message {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* OTP Responsive Design */
@media (max-width: 640px) {
    .otp-verification-container {
        padding: 16px;
    }
    
    .otp-card {
        padding: 24px;
    }
    
    .otp-title {
        font-size: 24px;
    }
    
    .otp-inputs {
        gap: 8px;
    }
    
    .otp-digit {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .phone-display {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Enhanced Home Page Styles */

/* Statistics Section */
.stats-section {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-section .brutalism-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-section .brutalism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Certification Providers Section */
.providers-section .brutalism-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.providers-section .brutalism-card:hover {
    transform: translateY(-3px);
    border-color: var(--man-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.provider-logo {
    transition: transform 0.3s ease;
}

.providers-section .brutalism-card:hover .provider-logo {
    transform: scale(1.1);
}

.certifications .badge {
    transition: all 0.2s ease;
}

.certifications .badge:hover {
    transform: scale(1.05);
}

/* Career Benefits Section */


.benefits-section .brutalism-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefits-section .brutalism-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.benefits-section .brutalism-card:hover::before {
    left: 100%;
}

.benefit-icon {
    transition: transform 0.3s ease;
}

.benefits-section .brutalism-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Industry Insights Section */
.insights-section .brutalism-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.insights-section .brutalism-card:hover {
    border-left-color: #129990;
    transform: translateX(5px);
}

.insight-icon {
    transition: all 0.3s ease;
}

.insights-section .brutalism-card:hover .insight-icon {
    transform: scale(1.1);
}

.stats-highlight .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Success Stories Section */
.success-stories {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-stories .brutalism-card {
    transition: all 0.3s ease;
    position: relative;
}

.success-stories .brutalism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.success-avatar {
    transition: transform 0.3s ease;
}

.success-stories .brutalism-card:hover .success-avatar {
    transform: scale(1.1);
}

.blockquote {
    position: relative;
    font-style: italic;
}

.blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #129990;
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

/* Enhanced CTA Section */
.cta-section .brutalism-card {
    background: linear-gradient(135deg, #129990 0%, #0a6b63 100%);
    position: relative;
    overflow: hidden;
}

.cta-section .brutalism-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-feature {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-feature:hover {
    transform: translateY(-3px);
}

.cta-feature i {
    transition: all 0.3s ease;
}

.cta-feature:hover i {
    transform: scale(1.2);
    color: #FFC2C0;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .providers-section .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    .benefits-section .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    .insights-section .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    .cta-section .row .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Softer Edges for All Elements */
.form-control,
.form-select,
.form-check-input,
.btn,
.card,
.alert,
.badge,
.modal-content,
.dropdown-menu,
.nav-pills .nav-link,
.pagination .page-link,
.toast,
.offcanvas,
.accordion-button,
.progress {
    border-radius: 0.5rem !important;
}

.btn-sm {
    border-radius: 0.375rem !important;
}

.btn-lg {
    border-radius: 0.75rem !important;
}

/* Input Groups */
.input-group .form-control:first-child,
.input-group .form-select:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
}

.input-group .form-control:last-child,
.input-group .form-select:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.input-group .btn:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
}

.input-group .btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

/* Password Toggle Button */
.password-toggle {
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

/* Modal */
.modal-content {
    border-radius: 0.75rem !important;
}

.modal-header {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

.modal-footer {
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
}

/* Tables */
.table {
    border-radius: 0.5rem !important;
    overflow: hidden;
}

/* Cards */
.card {
    border-radius: 0.75rem !important;
}

.card-header {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

.card-footer {
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
}

/* Hero Video Styles */
.hero-video-container {
    position: relative;
    overflow: hidden;
}

.hero-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.hero-video-badge {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Tajawal', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-video-badge:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.05);
}

#promoVideo {
    transition: all 0.3s ease;
}

#promoVideo:hover {
    transform: scale(1.02);
}

/* Exam Cards Layout Fix */
.exam-image {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.exam-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Ensure consistent card heights */
.brutalism-card.h-100 {
    display: flex;
    flex-direction: column;
}

.brutalism-card.h-100 .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brutalism-card.h-100 .p-4 .mt-3 {
    margin-top: auto !important;
}

/* Mobile New Badge for Professional Booking */
.mobile-new-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc3545;
    color: white;
    font-size: 0.5em;
    padding: 1px 4px;
    border-radius: 8px;
    font-weight: bold;
}

/* Remove underline from professional booking link in header */
.navbar-nav .nav-link:hover {
    text-decoration: none !important;
}

/* WhatsApp widget positioning above mobile nav */
#whatsapp,
#whatsapp.floating-wpp {
    z-index: 1110 !important;
}

@media (max-width: 991.98px) {
    #whatsapp,
    #whatsapp.floating-wpp {
        left: 10px !important;
        right: auto !important;
        bottom: 144px !important;
        position: fixed !important;
        z-index: 1110 !important;
    }

    #whatsapp .floating-wpp-button,
    #whatsapp.floating-wpp .floating-wpp-button {
        position: relative !important;
        z-index: 1111 !important;
    }
}
