    @import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap");
    @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

    :root {
      --primary-color: #3b82f6;
      --primary-dark: #2563eb;
      --secondary-color: #f43f5e;
      --secondary-dark: #e11d48;
      --accent-color: #22d3ee;
      --accent-dark: #0891b2;
      --text-light: #f8fafc;
      --text-dark: #1e293b;
      --bg-light: #ffffff;
      --bg-dark: #0f172a;
      --bg-gradient: linear-gradient(135deg, #3b82f6, #a855f7);
      --trans-dur: 0.6s;
      --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
      --primary-hover: #4863db;
      --success-color: #2dce89;
      --warning-color: #fb6340;
      --danger-color: #f5365c;
      --text-light: #ffffff;
      --body-bg: #f8f9fe;
      --card-bg: #ffffff;
      --border-color: #e9ecef;
      --navbar-height: 70px;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s ease;
      --border-radius: 6px;
      --primary-color: #5e72e4;
      --primary-hover: #4863db;
      --secondary-color: #11cdef;
      --success-color: #2dce89;
      --warning-color: #fb6340;
      --danger-color: #f5365c;
      --text-dark: #32325d;
      --text-light: #ffffff;
      --body-bg: #f8f9fe;
      --card-bg: #ffffff;
      --border-color: #e9ecef;
      --navbar-height: 70px;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s ease;
      --border-radius: 6px;
      --toggle-size: 22px;
      --toggle-padding: 3px;
      --toggle-width: calc(var(--toggle-size) * 2 + var(--toggle-padding) * 2);
      --toggle-height: calc(var(--toggle-size) + var(--toggle-padding) * 2);
      --primary-color: #3498db;
      --primary-dark: #2980b9;
      --secondary-color: #e74c3c;
      --accent-color: #f39c12;
      --dark-bg: #151823;
      --dark-secondary: #1e293b;
      --text-light: #ecf0f1;
      --text-dark: #2c3e50;
      --shadow-primary: 0 4px 20px rgba(52, 152, 219, 0.3);
      --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.3);
      --transition-normal: all 0.3s ease;
      --transition-slow: all 0.5s ease;
      --primary: #4f46e5;
      --primary-light: #6366f1;
      --secondary: #8b5cf6;
      --success: #22c55e;
      --background: #f1f5f9;
      --surface: #ffffff;
      --text: #1e293b;
      --text-light: #64748b;
      --border: #e2e8f0;
    }

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

    body {
      --theme-background: var(--bg-light);
      --theme-color: var(--text-dark);
      --theme-secondary-background: #f1f5f9;
      background-color: var(--body-bg);
      transition: var(--transition);
      overflow-x: hidden;
      font-family: "Tajawal", "Almarai", sans-serif;
      direction: rtl;
      text-align: right;
      color: var(--text-dark);
    }



    [data-theme="dark"] {
      --primary-color: #1787be;
      --primary-dark: #1785bd;
      --secondary-color: #80cbc4;
      --secondary-dark: #4db6ac;
      --accent-color: #ffab40;
      --accent-dark: #ff9100;
      --text-light: #e0e0e0;
      --text-dark: #424242;
      --bg-light: #121212;
      --bg-dark: #1e1e1e;
      --bg-gradient: linear-gradient(135deg, #455a64, #607d8b);
      --trans-dur: 0.6s;
      --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
      --primary-hover: #78909c;
      --success-color: #66bb6a;
      --warning-color: #ffa726;
      --danger-color: #ef5350;
      --body-bg: #121212;
      --card-bg: #1e1e1e;
      --border-color: #424242;
      --navbar-height: 70px;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.3);
      --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.3);
      --transition: all 0.3s ease;
      --border-radius: 6px;
      --toggle-size: 22px;
      --toggle-padding: 3px;
      --toggle-width: calc(var(--toggle-size) * 2 + var(--toggle-padding) * 2);
      --toggle-height: calc(var(--toggle-size) + var(--toggle-padding) * 2);
      --dark-bg: #121212;
      --dark-secondary: #1e1e1e;
      --shadow-primary: 0 4px 20px rgba(144, 164, 174, 0.3);
      --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
      --transition-normal: all 0.3s ease;
      --transition-slow: all 0.5s ease;
      --primary: #90a4ae;
      --primary-light: #b0bec5;
      --secondary: #80cbc4;
      --success: #66bb6a;
      --background: #121212;
      --surface: #1e1e1e;
      --text: #e0e0e0;
      --border: #424242;
    }



    a {
      text-decoration: none;
    }

    p {
      margin-bottom: 0;
    }

    input:focus {
      border: none;
      outline: none;
      box-shadow: none;
    }

    .main_content {
      margin-top: 96px;
    }


    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: var(--shadow-md);
      padding: 0;
      height: var(--navbar-height);
      transition: var(--transition);
    }

    [data-theme="dark"] .navbar {
      background: rgba(30, 30, 47, 0.95);
    }

    .navbar-brand {
      font-family: "Cairo", sans-serif;
      font-weight: 800;
      font-size: 2rem;
      color: var(--primary-color);
      margin-left: 1rem;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: var(--transition);
    }

    .navbar-brand:hover {
      transform: scale(1.05);
      color: var(--primary-hover);
    }

    .right-nav-items {
      display: flex;
      align-items: center;
      height: var(--navbar-height);
    }

    .notification-wrapper {
      position: relative;
      margin: 0 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .notification-btn {
      background: transparent;
      border: none;
      color: var(--text-dark);
      font-size: 1.2rem;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      transition: var(--transition);
      border-radius: 50%;
    }

    .notification-btn:hover {
      color: var(--primary-color);
      background-color: rgba(94, 114, 228, 0.1);
    }

    .notification-badge {
      position: absolute;
      top: 0;
      right: 0;
      background-color: var(--danger-color);
      color: white;
      font-size: 0.7rem;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .theme-toggle-wrapper {
      margin: 0 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .theme-switch {
      position: relative;
      display: inline-block;
      width: var(--toggle-width);
      height: var(--toggle-height);
      margin: 0;
    }

    .theme-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: var(--transition);
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .slider:before {
      position: absolute;
      content: "";
      height: var(--toggle-size);
      width: var(--toggle-size);
      left: var(--toggle-padding);
      bottom: var(--toggle-padding);
      background-color: white;
      transition: var(--transition);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      z-index: 2;
    }

    input:checked+.slider {
      background-color: #6e7bb8;
    }

    input:checked+.slider:before {
      transform: translateX(var(--toggle-size));
    }

    .slider.round {
      border-radius: 34px;
    }

    .slider.round:before {
      border-radius: 50%;
    }

    .sun-icon,
    .moon-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      transition: var(--transition);
      z-index: 1;
    }

    .sun-icon {
      color: #fb6340;
      right: calc(var(--toggle-padding) + 3px);
      opacity: 1;
    }

    .moon-icon {
      color: #a3a3ff;
      left: calc(var(--toggle-padding) + 3px);
      opacity: 0;
    }

    input:checked+.slider .sun-icon {
      opacity: 0;
    }

    input:checked+.slider .moon-icon {
      opacity: 1;
    }

    .user-profile-wrapper {
      margin-right: 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .user-profile-btn {
      display: flex;
      align-items: center;
      background: transparent;
      border: none;
      padding: 5px;
      cursor: pointer;
      transition: var(--transition);
      border-radius: var(--border-radius);
    }

    .user-profile-btn:hover {
      background: rgba(94, 114, 228, 0.1);
    }

    .user-img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary-color);
      transition: var(--transition);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .user-name {
      margin-right: 10px;
      font-weight: 600;
      color: var(--text-dark);
    }

    .user-dropdown {
      width: 280px;
      padding: 0;
      border: none;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      margin-top: 10px !important;
    }

    .dropdown-header {
      padding: 1rem;
      background-color: var(--primary-color);
    }

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

    .dropdown-user-img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid white;
    }

    .user-details {
      margin-right: 15px;
      color: white;
    }

    .user-details h6 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 700;
    }

    .user-details p {
      margin: 0;
      font-size: 0.85rem;
      opacity: 0.9;
    }

    .dropdown-divider {
      margin: 0.5rem 0;
      border-color: var(--border-color);
    }

    .dropdown-item {
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      color: var(--text-dark);
      transition: var(--transition);
    }

    .dropdown-item i {
      margin-left: 10px;
      width: 20px;
      text-align: center;
      color: var(--primary-color);
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      background-color: rgba(94, 114, 228, 0.1);
      color: var(--primary-color);
    }

    .logout-item {
      color: var(--danger-color);
    }

    .logout-item i {
      color: var(--danger-color);
    }

    .logout-item:hover {
      background-color: rgba(245, 54, 92, 0.1);
      color: var(--danger-color);
    }

    button {
      position: relative;
      overflow: hidden;
    }

    .ripple {
      position: absolute;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      transform: scale(0);
      animation: ripple 0.6s linear;
      pointer-events: none;
    }

    @keyframes ripple {
      to {
        transform: scale(4);
        opacity: 0;
      }
    }

    .clicked {
      animation: click-effect 0.3s ease;
    }

    @keyframes click-effect {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(0.97);
      }

      100% {
        transform: scale(1);
      }
    }

    .navbar-scrolled {
      padding: 5px 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 992px) {
      .navbar-brand {
        font-size: 1.6rem;
      }

      .navbar-collapse {
        background-color: var(--card-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        position: absolute;
        top: var(--navbar-height);
        right: 1rem;
        left: 1rem;
        z-index: 1000;
      }

      .right-nav-items {
        height: auto;
        justify-content: center;
      }

      .notification-wrapper,
      .theme-toggle-wrapper,
      .user-profile-wrapper {
        margin: 0 8px;
        height: auto;
      }

      .user-name {
        display: none;
      }
    }

    @media (max-width: 576px) {
      .navbar-brand {
        font-size: 1.4rem;
      }

      .navbar-collapse {
        right: 0.5rem;
        left: 0.5rem;
      }

      .user-dropdown {
        width: 250px;
      }
    }



    .stats .counter-number {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 10px;
      font-family: "Cairo", sans-serif;
    }

    .stats .counter-label {
      font-size: 1.5rem;
      font-weight: 400;
    }

    .cta-section {
      padding: 100px 0;
      background: var(--theme-background);
      text-align: center;
    }

    .cta-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .cta-content h2 {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 20px;
      font-family: "Cairo", sans-serif;
    }

    .cta-content p {
      font-size: 1.3rem;
      margin-bottom: 30px;
      line-height: 1.7;
    }

    .premium-footer {
      position: relative;
      background-color: var(--dark-bg);
      color: var(--text-light);
      overflow: hidden;
      padding-top: 100px;
    }

    .footer-wave-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100px;
      overflow: hidden;
    }

    .wave {
      position: absolute;
      top: 0;
      left: 0;
      width: 200%;
      height: 100px;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23151823" opacity=".25"/></svg>');
      background-size: 1200px 100px;
      animation: wave-animation 25s linear infinite;
      z-index: 1;
    }

    .wave1 {
      animation-delay: 0s;
      animation-duration: 25s;
      opacity: 0.3;
    }

    .wave2 {
      animation-delay: -5s;
      animation-duration: 20s;
      opacity: 0.2;
      background-position: -400px 0;
    }

    .wave3 {
      animation-delay: -2s;
      animation-duration: 15s;
      opacity: 0.1;
      background-position: -200px 0;
    }

    @keyframes wave-animation {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .footer-content {
      position: relative;
      z-index: 2;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
    }



    .brand-section {
      grid-column: 1 / span 1;
    }

    .newsletter-section {
      grid-column: auto / span 1;
    }

    .footer-logo-container {
      position: relative;
      display: inline-block;
      margin-bottom: 20px;
    }

    .footer-logo {
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      position: relative;
      z-index: 2;
    }

    .logo-glow {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: var(--primary-color);
      filter: blur(20px);
      opacity: 0.3;
      z-index: 1;
      border-radius: 10px;
      animation: glow-pulse 3s ease-in-out infinite;
    }

    @keyframes glow-pulse {

      0%,
      100% {
        opacity: 0.2;
        transform: scale(0.8);
      }

      50% {
        opacity: 0.4;
        transform: scale(1.1);
      }
    }

    .footer-desc {
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 25px;
      max-width: 90%;
      opacity: 0.8;
    }

    .footer-title {
      font-size: 1.4rem;
      margin-bottom: 15px;
      font-weight: 700;
      color: var(--primary-color);
      position: relative;
      display: inline-block;
    }

    .animated-underline {
      width: 50px;
      height: 3px;
      background: linear-gradient(to right, var(--primary-color), var(--accent-color));
      margin-bottom: 20px;
      position: relative;
      overflow: hidden;
      border-radius: 3px;
    }

    .animated-underline::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.3);
      animation: underline-shine 3s infinite;
    }

    @keyframes underline-shine {
      0% {
        left: -100%;
      }

      50%,
      100% {
        left: 100%;
      }
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: var(--text-light);
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition-normal);
      display: inline-block;
      opacity: 0.8;
      position: relative;
      padding-right: 20px;
    }

    .footer-links i {
      margin-left: 8px;
      font-size: 0.75rem;
      transition: var(--transition-normal);
    }

    .hover-effect {
      position: relative;
      overflow: hidden;
    }

    .hover-effect::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 2px;
      background: var(--primary-color);
      transition: var(--transition-normal);
    }

    .hover-effect:hover {
      color: var(--primary-color);
      opacity: 1;
      transform: translateX(-5px);
    }

    .hover-effect:hover::after {
      width: 100%;
    }

    .hover-effect:hover i {
      transform: translateX(-5px);
      color: var(--primary-color);
    }

    .contact-info {
      margin-top: 20px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 15px;
    }

    .contact-icon {
      background: rgba(52, 152, 219, 0.1);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 15px;
      color: var(--primary-color);
      font-size: 1rem;
      position: relative;
      overflow: hidden;
      transition: var(--transition-normal);
      flex-shrink: 0;
    }

    .contact-icon::after {
      content: '';
      position: absolute;
      top: -10px;
      left: -10px;
      right: -10px;
      bottom: -10px;
      background: var(--primary-color);
      border-radius: 50%;
      z-index: -1;
      transform: scale(0);
      transition: var(--transition-slow);
    }

    .contact-item:hover .contact-icon {
      color: white;
      box-shadow: var(--shadow-primary);
      transform: translateY(-3px);
    }

    .contact-item:hover .contact-icon::after {
      transform: scale(1);
    }

    .contact-item p {
      font-size: 0.95rem;
      opacity: 0.8;
      transition: var(--transition-normal);
    }

    .contact-item:hover p {
      opacity: 1;
      transform: translateX(-3px);
    }

    .footer-social {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    .social-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-light);
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition-normal);
      overflow: hidden;
    }

    .social-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      transform: scale(0);
      transition: var(--transition-normal);
      border-radius: 50%;
      z-index: -1;
    }

    .social-btn:hover {
      color: white;
      transform: translateY(-5px);
      box-shadow: var(--shadow-primary);
    }

    .social-btn:hover::before {
      transform: scale(1);
    }

    .social-tooltip {
      position: absolute;
      top: -40px;
      left: 50%;
      transform: translateX(-50%) scale(0);
      background: var(--dark-secondary);
      color: white;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 0.7rem;
      opacity: 0;
      transition: var(--transition-normal);
      pointer-events: none;
      white-space: nowrap;
    }

    .social-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 5px;
      border-style: solid;
      border-color: var(--dark-secondary) transparent transparent transparent;
    }

    .social-btn:hover .social-tooltip {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }

    .newsletter-form {
      margin: 20px 0;
    }


    .submit-btn {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      padding: 0 15px;
      border: none;
      background: var(--primary-color);
      color: white;
      cursor: pointer;
      transition: var(--transition-normal);
      font-size: 1rem;
    }

    .submit-btn:hover {
      background: var(--primary-dark);
      transform: translateX(-3px);
    }

    .app-download {
      margin-top: 20px;
    }

    .app-download p {
      font-size: 0.9rem;
      margin-bottom: 10px;
      opacity: 0.8;
    }

    .app-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .app-btn {
      display: flex;
      align-items: center;
      padding: 8px 15px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 5px;
      color: white;
      text-decoration: none;
      transition: var(--transition-normal);
    }

    .app-btn i {
      font-size: 1.2rem;
      margin-left: 8px;
    }

    .app-btn span {
      font-size: 0.8rem;
    }

    .app-btn:hover {
      background: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: var(--shadow-primary);
    }

    .footer-bottom {
      background: var(--dark-secondary);
      padding: 20px 0;
      margin-top: 40px;
      position: relative;
      z-index: 2;
    }

    .footer-bottom .footer-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .copyright {
      font-size: 0.9rem;
      opacity: 0.7;
    }

    .copyright a {
      color: var(--primary-color);
      text-decoration: none;
      transition: var(--transition-normal);
    }

    .copyright a:hover {
      text-decoration: underline;
    }

    .fa-heart {
      color: var(--secondary-color);
      margin: 0 5px;
    }

    .pulse {
      animation: heart-pulse 1.5s ease infinite;
    }

    @keyframes heart-pulse {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.3);
      }

      100% {
        transform: scale(1);
      }
    }

    .footer-bottom-links {
      display: flex;
      gap: 20px;
    }

    .footer-bottom-links a {
      color: var(--text-light);
      opacity: 0.7;
      text-decoration: none;
      font-size: 0.9rem;
      transition: var(--transition-normal);
    }

    .footer-bottom-links a:hover {
      color: var(--primary-color);
      opacity: 1;
    }

    #back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: var(--shadow-primary);
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: var(--transition-normal);
      z-index: 999;
    }

    #back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    #back-to-top:hover {
      background: var(--primary-dark);
      transform: translateY(-5px);
    }

    #current-year {
      display: inline;
    }

    @media screen and (max-width: 991px) {
      .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
      }

      .brand-section,
      .newsletter-section {
        grid-column: auto / span 1;
      }
    }

    @media screen and (max-width: 768px) {
      .premium-footer {
        padding-top: 80px;
      }

      .footer-wave-container {
        height: 80px;
      }

      .wave {
        height: 80px;
      }

      .footer-logo {
        font-size: 2.2rem;
      }

      .footer-title {
        font-size: 1.3rem;
      }

      .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
      }

      .footer-bottom-links {
        justify-content: center;
      }
    }

    @media screen and (max-width: 576px) {
      .premium-footer {
        padding-top: 60px;
      }

      .footer-wave-container {
        height: 60px;
      }

      .wave {
        height: 60px;
      }

      .footer-container {
        grid-template-columns: 1fr;
      }

      .footer-section {
        margin-bottom: 25px;
      }

      .footer-logo {
        font-size: 2rem;
      }

      .footer-title {
        font-size: 1.2rem;
      }

      .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
      }

      #back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
      }
    }

    .scroll-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: opacity 0.3s, visibility 0.3s;
    }

    .scroll-top.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .scroll-top.visible {
      opacity: 1;
      visibility: visible;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Tajawal', sans-serif;
    }

    .cont {
      width: 100%;
      max-width: 1200px;
      min-height: 600px;
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      background: var(--surface);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
      margin: auto;
      margin-top: 90px;
      margin-bottom: 50px;

    }

    .form-section {
      padding: 3rem;
      overflow-y: auto;
    }

    .login-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--primary-light), var(--secondary));
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2rem;
      box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    }

    .login-icon i {
      font-size: 28px;
      color: white;
    }

    .welcome-text {
      margin-bottom: 2.5rem;
    }

    .welcome-text h2 {
      font-size: 1.75rem;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .welcome-text p {
      color: var(--text-light);
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .input-group {
      display: flex;
      flex-direction: row !important;
      position: relative;
      transition: all 0.3s;
    }

    .input-group:focus-within {
      transform: translateY(-2px);
    }

    .input-group i {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      transition: color 0.2s;
    }

    .form-control {
      width: 100%;
      padding: 0.75rem 2.5rem 0.75rem 1rem;
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 1rem;
      transition: all 0.2s;
      background: var(--surface);
      color: var(--text);
    }

    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
      outline: none;
    }

    .form-control:focus+i {
      color: var(--primary);
    }

    .image-section {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    }

    .image-section img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.9;
      transition: transform 0.3s ease;
    }

    .image-section:hover img {
      transform: scale(1.05);
    }

    .btn {
      width: 100%;
      padding: 1rem;
      border: none;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary-light), var(--secondary));
      color: white;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    }

    .btn-primary:active {
      transform: translateY(0);
    }

    .signup-link {
      text-align: center;
      margin-top: 1.5rem;
      color: var(--text-light);
    }

    .signup-link a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
    }

    .signup-link a:hover {
      text-decoration: underline;
    }

    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      padding: 1rem 2rem;
      background: var(--success);
      color: white;
      border-radius: 12px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .loading {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.9);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .loading-spinner {
      width: 50px;
      height: 50px;
      border: 4px solid var(--border);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @media (max-width: 768px) {
      body {
        padding: 0;
      }

      .cont {
        grid-template-columns: 1fr;
        max-width: 500px;
      }

      .image-section {
        height: 200px;
        order: -1;
      }

      .image-section img {
        height: 100%;
      }

      .form-section {
        padding: 2rem;
      }

      .welcome-text {
        text-align: center;
      }

      .login-icon {
        margin: 0 auto 2rem;
      }
    }