@charset "UTF-8";
/* Bootstrap Needed Classes */
.d-flex {
  display: flex;
}

.justify-content-around {
  justify-content: space-around;
}

.justify-content-center {
  justify-content: center;
  gap: 20px;
}

.align-center {
  align-items: center;
}

.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.hero-large {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.hero-large img {
  height: 100%;
  object-fit: cover;
}
.hero-large .overlay {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
}
.hero-large h2 {
  font-size: 24px;
}

.hero-small {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hero-small .card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.hero-small .overlay {
  position: absolute;
  bottom: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  width: 100%;
  font-size: 14px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 20px;
  border-inline-start: 4px solid #e63946;
  padding-inline-start: 10px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sidebar .widget {
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 8px;
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .phone-only {
    display: none;
  }
}
@media (max-width: 767px) {
  .screen-only {
    display: none;
  }
}
.form-field {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  border: 2px solid;
  border-radius: 90px;
  padding: 0 5px;
  margin: 20px 0;
}
.form-field label {
  position: absolute;
  top: -20px;
  inset-inline-start: 25px;
  padding: 2.5px;
  background: #FFF;
  display: flex;
  align-items: flex-end;
}
.form-field.iconed {
  margin-inline-start: 45px;
}
.form-field.iconed i {
  background: #000;
  color: #FFF;
  margin-inline-start: -50px;
  border-radius: 100px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-field i {
  padding: 0 5px;
  transition: all 0.25s ease;
}
.form-field input, .form-field textarea {
  flex-grow: 1;
  border: none;
  background: none;
  text-indent: 10px;
  margin-bottom: 0;
  max-width: 105%;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
}
.form-field textarea {
  padding: 20px;
}
.form-field input:focus ~ i {
  background: #222;
  color: #FFF;
  border-radius: 90px;
}

.collection-card {
  max-width: 400px;
}
.collection-card .collection-card-image {
  height: 250px;
  object-fit: cover;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.post-card .content {
  padding: 15px;
}
.post-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.post-card .post-meta {
  font-size: 12px;
  color: #888;
}

#search-panel {
  position: absolute;
  top: 100%;
  inset-inline-end: 0;
}
@media (max-width: 769px) {
  #search-panel {
    bottom: 100px;
    top: auto;
  }
}

/*#search-panel {
    overflow-y: auto;

    z-index:9999;

    position:fixed;

    inset:0;
    width:100%;
    height:100%;

    background:#FFF;

    padding:20px;

    display:flex;
    flex-direction: column;

    > header {
        display:flex;
        align-items:center;
        justify-content:space-between;

        border-bottom:2px solid;
        padding-bottom:10px;
        margin-bottom:10px;
    }

    ul {
        display:flex;
        flex-wrap:wrap;

        justify-content:space-around;

        gap:10px;
    }
}*/
@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes notFoundPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Enhanced Header Styles */
.header-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.logo-enhanced:hover img {
  transform: scale(1.05);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #495057;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-link-active {
  color: #007bff;
}

.nav-links a.nav-link-active::after {
  width: 100%;
}

.nav-link.parent-nav-link::before {
  position: absolute;
  inset-inline-start: -5px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  content: "\f282";
  font-family: "bootstrap-icons";
}

.nav-link.parent-nav-link > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 300%;
  padding: 10px 0;
  transition: transform 0.25s ease-in-out;
  transform: scaleY(0);
  transform-origin: 50% 0;
  background: #FFF;
  border-bottom: 2px solid;
  z-index: 9999;
}

.nav-link.parent-nav-link > ul > a {
  padding: 10px 0;
}

.nav-link.parent-nav-link:hover > ul {
  transform: scaleY(1);
}

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

.language-selector select {
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.language-selector select:hover {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

.user-menu-wrapper {
  position: relative;
}

.user-dropdown-toggle:hover {
  background-color: #f8f9fa;
  border-color: #007bff;
}

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

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecef;
}

.user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1rem;
  border: 2px solid #dee2e6;
}

.user-name {
  font-weight: 500;
  color: #495057;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.show {
  display: block;
  opacity: 1;
}

/* RTL Support */
.main-nav.rtl {
  direction: rtl;
}

.main-nav.rtl .nav-links {
  gap: 2rem;
}

.main-nav.rtl .nav-links a::after {
  left: auto;
  right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 0.75rem;
    height: 60px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1001;
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .main-nav.open {
    left: 0;
  }
  .main-nav.rtl.open {
    left: auto;
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  .header-actions {
    gap: 0.75rem;
  }
  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .logo-enhanced img {
    height: 35px;
  }
}
@media (max-width: 576px) {
  .header-container {
    padding: 0 0.5rem;
  }
  .main-nav {
    width: 90%;
  }
  .language-selector select {
    font-size: 0.875rem;
  }
}
.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.contact-item i {
  color: #3498db;
  font-size: 1rem;
  width: 20px;
}

.contact-item a,
.contact-item span {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #3498db;
}

/* Focus States for Accessibility */
.mobile-menu-toggle:focus,
.nav-links a:focus,
.language-selector select:focus,
.user-dropdown-toggle:focus,
.footer-section-header:focus,
.social-link:focus,
.footer-bottom-links a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
/* @media (prefers-contrast: high) {
    .header-enhanced {
        border-bottom: 2px solid #000;
    }

    .footer-enhanced {
        background: #000;
        color: #fff;
    }

    .nav-links a {
        color: #000;
    }

    .footer-links a {
        color: #fff;
    }
}*/
/* Blogazine Style Header with Minimalist Editorial Theme */
.blogazine-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--color-dark);
  padding: 0.5rem 0;
  font-size: 0.77rem;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 40px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-blogazine {
  text-decoration: none;
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-blogazine:hover {
  color: #cfe2ff;
  transform: scale(1.05);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.logo-text {
  background: linear-gradient(45deg, #ffffff 0%, #cfe2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.language-selector select {
  border-radius: 8px;
  border: 2px solid #cfe2ff;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  color: #007bff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.language-selector select option {
  color: #000;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Action navbar - login/register in same row */
#action-navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#action-navbar a {
  color: #FFF;
}

#action-navbar li {
  display: inline-flex;
  align-items: center;
}

.user-menu-wrapper {
  position: relative;
}

.user-dropdown-toggle {
  padding: 0.2rem 0.8rem 0.2rem 2.5px;
  transition: all 0.3s ease;
  color: #FFF;
}

.user-dropdown-toggle:hover {
  background: rgb(255, 255, 255);
  border-color: #cfe2ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

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

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #cfe2ff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  border: 2px solid #cfe2ff;
}

.user-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.875rem;
}

.mobile-menu-toggle {
  display: none;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: none;
  font-size: 1.25rem;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: scale(1.05);
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 86, 179, 0.7);
  z-index: 999;
}

.mobile-menu-backdrop.show {
  display: block;
}

.header-main {
  background: #Fff;
  padding: 1rem 0;
}

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

.logo-large {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-main {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-title {
  font-family: "Georgia", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 123, 255, 0.3);
}

.logo-subtitle {
  font-family: "Arial", sans-serif;
  font-size: 0.875rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.main-nav-blogazine {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@font-face {
  src: url("https://ejaz0.com/arabic-handwriting.ttf");
  font-family: handwriting;
}
html[dir=rtl] .nav-link {
  font-weight: 100 !important;
  font-size: 1.45rem !important;
}
html[dir=rtl] .parent-nav-link {
  margin-inline-start: 10px !important;
}
html[dir=rtl] .parent-nav-link::before {
  inset-inline-start: -10px !important;
  font-size: 14px !important;
}
html[dir=rtl] .main-nav-blogazine .nav-link {
  font-family: handwriting;
}
@media (max-width: 800px) {
  html[dir=rtl] .main-nav-blogazine .nav-link {
    font-size: 19px !important;
  }
}

@font-face {
  src: url("https://ejaz0.com/english-handwriting.ttf");
  font-family: handwriting;
}
html[dir=ltr] .main-nav-blogazine .nav-link {
  font-family: handwriting;
}
@media (max-width: 900px) {
  html[dir=ltr] .main-nav-blogazine .nav-link {
    font-size: 11px;
  }
}

.main-nav-blogazine .nav-link {
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  border: none;
  background: transparent;
  position: relative;
  display: block;
}

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

.main-nav-blogazine .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 1rem;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.main-nav-blogazine .nav-link:hover::after {
  width: calc(100% - 2rem);
}

.main-nav-blogazine .nav-home {
  /* Kept exactly in layout but styled as normal link instead of giant blue pill */
  background: transparent !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

.main-nav-blogazine .nav-home:hover {
  color: var(--color-primary) !important;
}

.main-nav-blogazine .dropdown-toggle {
  color: #2c3e50;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
}

.main-nav-blogazine .dropdown-toggle:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #cfe2ff 100%);
  color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.main-nav-blogazine .dropdown-toggle::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: #007bff;
}

.main-nav-blogazine .dropdown-toggle:hover::after {
  transform: rotate(180deg);
}

.main-nav-blogazine .dropdown-menu {
  border: 2px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.25);
  margin-top: 0;
  padding: 0;
  background: #ffffff;
}

.main-nav-blogazine .dropdown-item {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e3f2fd;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.main-nav-blogazine .dropdown-item:hover {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  transform: translateX(5px);
}

.main-nav-blogazine .dropdown-item:last-child {
  border-bottom: none;
}

.main-nav-blogazine .dropdown-divider {
  background: #e3f2fd;
  margin: 0;
}

/* Mega Menu Styles */
.mega-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 2px solid #007bff;
  border-top: none;
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
  z-index: 1001;
}

.mega-menu {
  padding: 2rem 0;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mega-menu-section h5 {
  font-family: "Georgia", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 123, 255, 0.3);
}

.mega-menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-section li {
  margin-bottom: 0.75rem;
}

.mega-menu-section a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  position: relative;
  border-radius: 6px;
}

.mega-menu-section a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #007bff;
  font-weight: bold;
}

.mega-menu-section a:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #cfe2ff 100%);
  color: #007bff;
  transform: translateX(8px);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.mega-menu-section a:hover::before {
  opacity: 1;
  left: -15px;
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
  .header-top-content,
  .header-main-content {
    padding: 0 1rem;
  }
  .mega-menu-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 1200px) {
  .logo-title {
    font-size: 2rem;
  }
  .mega-menu-content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 992px) {
  .header-main-content {
    flex-direction: column-reverse;
    height: auto;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  .logo-large {
    order: 2;
    margin-bottom: 1rem;
  }
  .main-nav-blogazine {
    order: 1;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .logo-title {
    font-size: 1.75rem;
  }
  .logo-subtitle {
    font-size: 0.75rem;
  }
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .header-top {
    padding: 0.5rem 0;
  }
  .header-main {
    position: absolute;
    right: 100%;
    height: 100vh;
    transition: all 0.25s ease;
  }
  .header-main.active {
    right: 0;
  }
  .mega-menu-container {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    overflow-y: auto;
    border-radius: 0;
  }
  .mega-menu {
    padding: 1rem 0;
  }
  .logo-subtitle {
    font-size: 0.7rem;
  }
  .main-nav-blogazine .nav-link,
  .main-nav-blogazine .dropdown-toggle {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .header-top-content {
    padding: 0 0.75rem;
  }
  .logo-blogazine {
    font-size: 1.25rem;
  }
  .language-selector select {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
}
/* RTL Support */
[dir=rtl] .main-nav-blogazine .nav-link::after {
  left: auto;
  right: 1.5rem;
}

[dir=rtl] .mega-menu-section a::before {
  content: "←";
  left: auto;
  right: -20px;
}

[dir=rtl] .mega-menu-section a:hover::before {
  right: -15px;
  left: auto;
}

[dir=rtl] .mega-menu-section a:hover {
  transform: translateX(-8px);
}

[dir=rtl] .main-nav-blogazine {
  direction: rtl;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mega-menu {
  animation: slideDown 0.4s ease-out;
}

/* Focus States */
.mobile-menu-toggle:focus,
.main-nav-blogazine .nav-link:focus,
.main-nav-blogazine .dropdown-toggle:focus,
.user-dropdown-toggle:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .blogazine-header {
    border-bottom: 4px solid #007bff;
  }
  .mega-menu-container {
    border: 3px solid #007bff;
  }
  .main-nav-blogazine .nav-link,
  .main-nav-blogazine .dropdown-toggle {
    color: #007bff;
    font-weight: 700;
    border: 1px solid #007bff;
  }
}
.footer {
  background: var(--color-dark);
  color: #ccc;
  margin-top: 60px;
  padding: 50px 15px;
}
.footer h4 {
  color: #fff;
  margin-bottom: 15px;
}
.footer p, .footer li {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer .footer-logo-img {
  width: 48px;
  height: auto;
  max-width: 48px;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
  padding: 2.5px 0 0 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #95a5a6;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-bottom-links a {
  color: #95a5a6;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #3498db;
}

.footer-divider {
  color: #7f8c8d;
  font-size: 0.85rem;
}

.footer-grid #footer-menu a {
  font-size: 16px;
  padding-block: 5px;
}
.footer-grid #footer-menu li {
  margin-inline-start: 20px;
}
.footer-grid #footer-menu .parent-list {
  position: relative;
}
.footer-grid #footer-menu .parent-list::before {
  content: "\f282";
  font-family: "bootstrap-icons";
  position: absolute;
  inset-inline-start: -20px;
}
.footer-grid #footer-menu .parent-list ul {
  transform-origin: 50% 0%;
  position: absolute;
  top: calc(100% + 5px);
  background: var(--color-text);
  padding: 10px;
  transform: scaleY(0);
  transition: all 0.25s ease-in-out;
  z-index: 99;
}
.footer-grid #footer-menu .parent-list:hover ul {
  transform: scaleY(1);
}

.footer-grid > * {
  margin-bottom: 20px;
}
.footer-grid > * > h4 {
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #666;
}

.footer-grid #footer-social-links,
.footer-grid #footer-categories {
  margin-top: 20px;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer-enhanced {
    padding: 2rem 0 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .footer-section {
    padding: 1rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-links a::before {
    display: none;
  }
  .footer-links a:hover {
    transform: none;
    color: #3498db;
  }
}
@media (max-width: 576px) {
  .footer-container {
    padding: 0 0.5rem;
  }
  .footer-section {
    padding: 0.75rem;
  }
  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .footer-logo {
    width: 60px;
  }
}
/* RTL Support for Footer */
.footer-enhanced[dir=rtl] .footer-links a::before {
  content: "←";
  right: -20px;
  left: auto;
}

.footer-enhanced[dir=rtl] .footer-links a:hover::before {
  right: -15px;
  left: auto;
}

.footer-enhanced[dir=rtl] .footer-links a:hover {
  transform: translateX(-5px);
}

.footer-enhanced[dir=rtl] .contact-item {
  direction: rtl;
}

/* Social Links */
#footer-social-links a {
  text-decoration: none;
}

#footer-social-links i {
  outline: 2px solid #999;
  border-radius: 90px;
  padding: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0);
  font-size: 18px;
  transition: all 0.15s ease-in-out;
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 0, #FFF 0) bottom/100% 0% no-repeat #999;
  background-clip: text;
}

#footer-social-links a:hover i {
  transform: scale(1.15);
  background-size: 100% 100%;
  outline-color: #FFF;
}

.footer-section {
  animation: fadeInUp 0.6s ease-out;
}

.footer-enhanced {
  background: var(--color-dark);
  color: #ecf0f1;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--color-primary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 0.25rem;
}

.footer-section {
  background: transparent;
  padding: 0;
  transition: all 0.3s ease;
  border: none;
}

.footer-section:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.footer-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 1rem;
  user-select: none;
}

.footer-section-header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-section-header:hover h4 {
  color: #3498db;
}

.footer-toggle-icon {
  color: #bdc3c7;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-section-header:hover .footer-toggle-icon {
  color: #3498db;
}

.footer-section-content {
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-section-content.expanded {
  max-height: 500px;
  opacity: 1;
}

.footer-section-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.1);
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.25rem 0;
  position: relative;
  font-size: 0.9rem;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #3498db;
}

.footer-links a:hover {
  color: #3498db;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -15px;
}

/*
 * Images
 * Anchor Links
 * Lists
 * Buttons
 * Inputs
*/
img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

a {
  text-decoration: none;
  color: inherit;
}
a.link {
  background: linear-gradient(to top, currentColor 2px, rgba(0, 0, 0, 0) 0) 100%/0% 95% no-repeat;
  transition: background 0.4s ease;
}
a.link:hover {
  background-size: 100% 95%;
}

ul {
  list-style: none;
}

button,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 15px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #000;
  border-radius: 50px;
  background: #FFF;
  color: #000;
  transition: all 0.25s ease;
  overflow: hidden;
}
button i,
a.btn i {
  background: #000;
  color: #FFF;
  padding: 5px;
  margin-inline: -12.5px 10px;
  border-radius: 50px;
  transition: all 0.65s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
button:hover,
a.btn:hover {
  color: #030a0f;
  cursor: pointer;
}
button:hover i,
a.btn:hover i {
  box-shadow: 0 0 0 400px #FFF;
}
button.noBgIcon i,
a.btn.noBgIcon i {
  background: none;
}
button.primary,
a.btn.primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
button.primary i,
a.btn.primary i {
  color: var(--color-primary);
  background: #FFF;
}
button.primary:hover i,
a.btn.primary:hover i {
  box-shadow: 0 0 0 400px #FFF;
}
button.primary:hover,
a.btn.primary:hover {
  color: var(--color-primary);
}
button.danger,
a.btn.danger {
  background: #dc3545;
  color: #FFF;
}
button.danger i,
a.btn.danger i {
  background: inherit;
  color: inherit;
}
button.inverted,
a.btn.inverted {
  background: #000;
  color: #fff;
}
button.inverted i,
a.btn.inverted i {
  color: #000;
  background: #FFF;
}
button.iconBtn,
a.btn.iconBtn {
  padding: 0;
  border: none;
}
button.iconBtn i,
a.btn.iconBtn i {
  margin: 0;
}

input {
  border-radius: 100px;
  border: 1px solid;
  padding: 7.5px 2.5px;
}

:root {
  --color-primary: #e63946;
  /* slightly more elegant red */
  --color-primary-hover: #d62828;
  --color-dark: #0f172a;
  --color-surface: #ffffff;
  --color-bg: #f8fafc;
  /* Softer layout background */
  --color-text: #1e293b;
  --color-text-body: #334155;
  /* For reading text */
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --radius-sm: 4px;
  /* Stricter modern radius */
  --radius-md: 8px;
  --radius-lg: 12px;
  /* Modern soft shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@font-face {
  src: url("https://ejaz0.com/arabic.ttf");
  font-family: main;
}
html[dir=rtl] *:not(.bi) {
  font-family: main;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

#root {
  width: 100vw;
  overflow-x: hidden;
}

.loader {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #555;
  color: #555;
  position: relative;
  animation: dotPulse 1.2s infinite ease-in-out 0.2s;
  margin: 10px auto;
}
.loader::before, .loader::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #555;
}
.loader::before {
  left: -8px;
  animation: dotPulse 1.2s infinite ease-in-out 0s;
}
.loader::after {
  left: 8px;
  animation: dotPulse 1.2s infinite ease-in-out 0.4s;
}
.loader.loader-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.35rem 0 0;
}

.form-select {
  padding: 0.75em 2.5em;
}

/* Common */
.error {
  color: #dc3545;
  margin-block: 10px 20px;
  display: block;
  text-align: center;
}

/* Logged-in banner */
.logged-in-banner {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e9f8 100%);
  border-radius: 8px;
  border-inline-start: 4px solid #0d6efd;
  font-size: 0.95rem;
}

.logged-in-banner i {
  color: #0d6efd;
}

.logged-in-banner-link {
  margin-inline-start: auto;
  color: #0d6efd;
  font-weight: 600;
}

.logged-in-banner-link:hover {
  text-decoration: underline;
}

/* Main content area - centered */
.main-content-area {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: 60vh;
}

/* Shared page layout */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.section-head {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-primary);
}

.card-style {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all var(--transition);
}

.card-style:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Pages */
.container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

/* Header */
.top-bar {
  background: #111;
  color: #aaa;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 800;
}

.logo span {
  color: #e63946;
}

.ad-banner {
  width: 728px;
  height: 90px;
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
}

.navbar {
  background: #0f172a;
}

.navbar ul {
  display: flex;
  gap: 25px;
  margin: 0;
}

.navbar a {
  display: block;
  padding: 15px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.navbar a:hover {
  color: #e63946;
}

#action-navbar {
  padding: 2.5px 20px;
}

#switch-language {
  background: none;
  color: #FFF;
  border: none;
}

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-banner {
    display: none;
  }
}
@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .navbar ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  .logo {
    font-size: 24px;
  }
}

/*# sourceMappingURL=main.css.map */
