/* زر اقرأ المزيد في المدونة */
.blog-card .btn.btn-secondary {
  background: linear-gradient(135deg, #003366, #004488);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.blog-card .btn.btn-secondary:hover {
  background: linear-gradient(135deg, #004488, #005599);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}
/* =====================
   Global Palette + Identity
   ===================== */
:root {
  --surface-light: #ffffff;
  --surface-muted: #f8fafc;
  --background-gradient: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 60%, #dbeafe 100%);
  --color-heading: #003366;
  --color-body: #0f172a;
  --color-muted: #475569;
  --color-border: rgba(0, 51, 102, 0.1);
  --color-primary: #003366;
  --color-primary-dark: #004488;
  --color-secondary: #0ea5e9;
}
/* =====================
   KYC Kuwait UI Enhancements 2025
   ===================== */
html, body {
  font-family: 'Cairo', 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif;
  background: var(--background-gradient);
  color: var(--color-body);
  margin: 0;
  padding: 0;
}

main.container, .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  color: var(--color-heading);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bold;
}

p, ul, ol {
  font-size: 1.13rem;
  line-height: 2.1;
  color: #003366; /* This line is unchanged */
  color: var(--color-muted);
}

ul, ol {
  color: #0f172a;
}

.btn, button.btn, a.btn {
  background: linear-gradient(135deg, #003366, #004488);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 2.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
  margin: 0.2rem 0.2rem 0.2rem 0;
}
.btn:hover, button.btn:hover, a.btn:hover {
  background: linear-gradient(135deg, #004488, #005599);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
}

/* Footer & Header spacing */
.main-footer, .main-nav {
  box-shadow: 0 2px 16px 0 rgba(0,51,102,0.04);
}
.main-footer {
  background: #003366;
  color: #fff;
  padding: 2.5rem 0 1.2rem 0;
  margin-top: 2.5rem;
}
.main-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
}
.main-footer .footer-about, .main-footer .footer-links, .main-footer .footer-important, .main-footer .footer-social {
  min-width: 180px;
  flex: 1 1 180px;
}
.main-footer .footer-bottom {
  border-top: 1px solid #e6e6e6;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #fff;
  font-size: 1rem;
}
.main-footer .footer-links ul li a, .main-footer .footer-important ul li a {
  font-size: 1.05rem;
  color: #e2e8f0;
}
.main-footer .footer-social i {
  font-size: 1.35rem;
  margin-left: 0.7rem;
  color: #fff;
  transition: color 0.2s;
}
.main-footer .footer-social i:hover {
  color: #cda434;
}

/* Responsive Design */
@media (max-width: 900px) {
  .main-footer .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  main.container, .container {
    padding: 0 0.5rem;
  }
}
@media (max-width: 600px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 1.5rem !important
  }
  .btn, button.btn, a.btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  .hero-stats{padding-left: 5%; padding-right: 5%}
  .main-footer {
    padding: 1.2rem 0 0.7rem 0;
  }
}

/* Alerts & Messages */
.success-message, .error-message, .help-text {
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  margin: 0.7rem 0;
  font-size: 1rem;
}
.success-message {
  background: #e6f7e6;
  color: #198754;
  border: 1px solid #b6e2b6;
}
.error-message {
  background: #fbeaea;
  color: #dc3545;
  border: 1px solid #f5c2c7;
}
.help-text {
  background: #f8f9fa;
  color: #003366;
  border: 1px solid #e6e6e6;
}

/* Font Awesome icon size unification */
i.fa-brands, i.fa-solid {
  font-size: 1.15em;
  vertical-align: middle;
}
/* =====================
   Footer Unified Style
   ===================== */
.footer-links, .footer-important {
  margin-bottom: 1.5rem;
}
.footer-links h4, .footer-important h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.footer-links ul, .footer-important ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li, .footer-important ul li {
  margin-bottom: 0.5rem;
}
.footer-links ul li a, .footer-important ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  padding-right: 0.3rem;
  display: flex;
  align-items: center;
}
.footer-links ul li a:hover, .footer-important ul li a:hover {
  color: #003366;
  text-decoration: underline;
}
.footer-links ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: inline-block;
  margin-left: 0.5rem;
  color: #fff;
  font-size: 0.95em;
}
/* ===============================================
   KYC KUWAIT - Official Government Style Theme v2.0
   Simple, Accessible, and Formal UI
   =============================================== */

/* ============ ROOT VARIABLES ============ */
:root {
  /* Official Kuwait Government Color Palette */
  --gov-blue-dark: #003366; /* Deep blue for headers and primary elements */
  --gov-blue-medium: #005a9e; /* A slightly lighter blue for accents */
  --gov-blue-light: #e6f0f7; /* Light blue for backgrounds and highlights */
  --gov-gold: #cda434;      /* Gold for accents, reflecting prestige */
  --gov-white: #ffffff;
  --gov-black: #212529;     /* Standard black for text */
  --gov-gray-dark: #013967;  /* Dark gray for secondary text */
  --gov-gray-light: #f8f9fa; /* Light gray for backgrounds */
  --gov-border: #dee2e6;     /* Standard border color */
  --gov-red-error: #dc3545;   /* For error states */
  --gov-green-success: #198754; /* For success states */

  /* Text Colors */
  --text-primary: var(--gov-black);
  --text-secondary: var(--gov-gray-dark);
  --text-accent: var(--gov-blue-medium);
  --text-inverse: var(--gov-white);

  /* Background Colors */
  --bg-primary: var(--gov-white);
  --bg-secondary: var(--gov-gray-light);
  --bg-accent: var(--gov-blue-light);

  /* Typography System */
  --font-primary: 'Cairo', 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif;

  /* Spacing System */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Border Radius System */
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Shadow System - Simplified and Subtle */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);

  /* Animation System */
  --transition-base: 0.2s ease-in-out;
}

/* ============ BASE RESET & GLOBAL STYLES ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust if nav height changes */
}


body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ltr-body {
  direction: ltr !important;
}

.ltr-main, .main-hero.ltr, .main-footer.ltr, .main-nav.ltr {
  direction: ltr !important;
}

.ltr .container, .ltr-main .container, .main-hero.ltr .container, .main-footer.ltr .container, .main-nav.ltr .container {
  text-align: left !important;
}

.ltr .hero-container, .main-hero.ltr .hero-container {
  text-align: left !important;
}

.ltr .hero-stats, .main-hero.ltr .hero-stats, .ltr .hero-actions, .main-hero.ltr .hero-actions {
  justify-content: flex-start !important;
}

.ltr .section-header, .ltr-main .section-header {
  text-align: left !important;
}

.ltr .footer-content, .main-footer.ltr .footer-content {
  flex-direction: row !important;
  text-align: left !important;
}

.ltr .footer-bottom, .main-footer.ltr .footer-bottom {
  text-align: left !important;
}

.ltr .about-grid, .ltr-main .about-grid {
  flex-direction: row !important;
  text-align: left !important;
}

.ltr .services-layout, .ltr-main .services-layout {
  flex-direction: row !important;
  text-align: left !important;
}

.ltr .contact-grid, .ltr-main .contact-grid {
  flex-direction: row !important;
  text-align: left !important;
}

a {
    text-decoration: none;
    color: var(--text-accent);
    transition: color var(--transition-base);
}

a:hover {
    color: var(--gov-blue-dark);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--gov-blue-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

/* ============ LOADER ============ */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#global-loader .loader-icon {
    font-size: 3rem;
    color: var(--gov-blue-dark);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* ============ NAVIGATION ============ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--gov-border);
  box-shadow: var(--shadow-sm);
  transition: padding var(--transition-base);
  padding: var(--space-sm) 0;
}

.main-nav.scrolled {
    padding: var(--space-xs) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gov-blue-dark);
}

.brand-identity .logo-image {
    max-height: 40px; /* Control the logo size */
    width: auto;
    transition: max-height var(--transition-base);
}

.main-nav.scrolled .brand-identity .logo-image {
    max-height: 30px; /* Slightly smaller logo when scrolled */
}

.brand-identity .logo-mark {
    font-size: 1.8rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-country {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base), color var(--transition-base);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--bg-accent);
  color: var(--gov-blue-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lang-switch {
    font-weight: 600;
    color: var(--text-secondary);
}

.login-btn {
    background-color: var(--gov-blue-dark);
    color: #ffffff !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: background-color var(--transition-base);
}

.login-btn span,
.login-btn .btn-text {
    color: #ffffff !important;
}

.login-btn i,
.login-btn .btn-icon {
    color: #ffffff !important;
}

.login-btn:hover {
    background-color: var(--gov-blue-medium);
    color: #ffffff !important;
}

.login-btn:hover span,
.login-btn:hover .btn-text,
.login-btn:hover i,
.login-btn:hover .btn-icon {
    color: #ffffff !important;
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
}

/* ============ HERO SECTION ============ */
.main-hero {
  padding: var(--space-2xl) 0;
  background-image: linear-gradient(rgba(248, 249, 250, 0.6), rgba(248, 249, 250, 0.6)), url('img/technology-kw3.webp');
  background-size: cover; /* تم التعديل من contain إلى cover */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--gov-blue-light);
  border-bottom: 1px solid var(--gov-border);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: right; /* Changed from center to right */
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.hero-title .title-main {
   color: var(--gov-blue-medium);
}

.hero-title .title-accent {
   color: var(--gov-blue-medium);
}

.hero-description {
    font-size: 1.15rem;
    max-width: 550px;
    margin-bottom: var(--space-lg);
    color: #1e293b;
    /* Removed margin-left and margin-right auto */
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    justify-content: flex-start; /* Changed from center */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gov-blue-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: #1e293b;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-start; /* Changed from center */
}

.primary-cta,
.secondary-cta {
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.primary-cta {
    background-color: var(--gov-blue-dark);
    color: var(--text-inverse);
}

.primary-cta:hover {
    background-color: var(--gov-blue-medium);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: var(--bg-primary);
    color: var(--gov-blue-dark);
    border-color: var(--gov-border);
}

.secondary-cta:hover {
    background-color: var(--bg-accent);
    border-color: var(--bg-accent);
}

/* ============ GENERAL SECTION STYLES ============ */
section {
    padding: var(--space-2xl) 0;
}

section:nth-of-type(odd) {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-lg);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature-list i {
    color: var(--gov-green-success);
    margin-top: 5px;
}

.about-visual img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* ============ SERVICES SECTION ============ */
.services-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.services-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-visual .dashboard-preview {
    perspective: 1000px;
}

.services-visual .dashboard-image {
    width: 100%;
    max-width: 300px; /* Quarter of 300px */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gov-border);
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
    cursor: pointer;
}

.services-visual .dashboard-image:hover {
    transform: scale(1.15) rotateY(5deg);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-primary);
    padding: var(--space-lg);
    border: 1px solid var(--gov-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--gov-blue-medium);
    margin-bottom: var(--space-md);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

/* ============ PACKAGES SECTION ============ */
.packages-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f0ff 100%);
    position: relative;
    overflow: hidden;
}

.packages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.02) 0%, transparent 70%);
    animation: floating 20s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(2deg); }
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.package-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366 0%, #0066cc 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.package-card:hover::before {
    transform: scaleX(1);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15);
}

.package-card.featured {
    border: none;
    transform: scale(1.05);
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    position: relative;
}

.package-card.featured::after {
    content: 'الأكثر شيوعاً';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #fbbf24;
    color: #000;
    padding: 8px 40px;
    font-size: 0.85rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 3;
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    padding: 2rem 1.5rem 1.2rem;
    text-align: center;
    position: relative;
}

.package-card.featured .package-header {
    color: white;
}

.package-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #003366;
}

.package-card.featured .package-header h3 {
    color: white;
}

.package-price {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 1rem;
}

.package-card.featured .package-price {
    color: rgba(255, 255, 255, 0.9);
}

.package-price span {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
    display: block;
    line-height: 1;
}

.package-card.featured .package-price span {
    color: white;
}

.package-body {
    padding: 1.2rem 1.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-body p {
    font-size: 0.9rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.package-card.featured .package-body p {
    color: rgba(255, 255, 255, 0.9);
}

.package-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #374151;
}

.package-card.featured .package-features li {
    color: rgba(255, 255, 255, 0.95);
}

.package-features i {
    color: #003366;
    font-size: 1rem;
    min-width: 14px;
}

.package-card.featured .package-features i {
    color: #34d399;
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.package-card .btn::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;
}

.package-card .btn:hover::before {
    left: 100%;
}

.package-card.featured .btn {
    background: white;
    color: #003366 !important;
}

.package-card.featured .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.package-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

/* تحسينات الاستجابة للجوال */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .package-card.featured {
        transform: none;
        order: -1;
    }

    .package-card.featured:hover {
        transform: translateY(-5px);
    }

    .package-header {
        padding: 2rem 1.5rem 1rem;
    }

    .package-body {
        padding: 1rem 1.5rem 2rem;
    }
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--gov-border);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gov-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gov-blue-medium);
    box-shadow: 0 0 0 3px var(--gov-blue-light);
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.social-links {
    margin-top: var(--space-lg);
}

.social-links a {
    font-size: 1.5rem;
    margin-inline-end: var(--space-md);
}

/* ============ FOOTER ============ */
.main-footer {
    background: var(--gov-blue-dark);
    color: var(--text-inverse);
    padding: var(--space-xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.main-footer h4 {
    color: var(--gov-white);
    margin-bottom: var(--space-md);
    border-bottom: 2px solid var(--gov-gold);
    padding-bottom: var(--space-sm);
    display: inline-block;
}

.footer-social h4 {
    margin-bottom: var(--space-md);
}

.social-links-footer {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.social-links-footer a {
    color: var(--text-inverse);
    font-size: 1.6rem;
    transition: color var(--transition-base), transform var(--transition-base);
}

.social-links-footer a:hover {
    color: var(--gov-gold);
    transform: translateY(-2px);
}

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

.footer-links a {
    color: #e0e0e0;
}

.footer-links a:hover {
    color: var(--gov-white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md) 0;
    font-size: 0.9rem;
}

/* ============ MODAL ============ */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 450px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* نافذة منبثقة للاشتراك في الباقة */
.subscription-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s;
}
.subscription-modal.hidden { display: none; }
.subscription-modal .modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 95vw;
  width: 400px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  text-align: right;
}
.subscription-modal .close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
.subscription-modal h3 {
  margin-bottom: 1rem;
  color: var(--gov-blue-dark);
  font-size: 1.3rem;
}
.subscription-modal .form-group {
  margin-bottom: 1rem;
}
.subscription-modal label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.subscription-modal input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gov-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.subscription-modal .btn {
  width: 100%;
  margin-top: 1rem;
}
.subscription-modal .success-message {
  color: var(--gov-green-success);
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
}

/* ============ UTILITIES ============ */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--gov-blue-dark);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: var(--gov-blue-medium);
    color: var(--text-inverse);
}

.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    left: 25px; /* For RTL */
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--gov-blue-dark);
    color: var(--gov-white);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.back-to-top-btn:hover {
    background-color: var(--gov-blue-medium);
}

/* ============ PAYMENT ICONS ============ */
.pay-icons {
      display: flex;
      justify-content: center;
      gap: 1.2rem;
      margin-bottom: 2rem;
    }
    /* زر الدفع مع محاذاة الأيقونة والنص بشكل صحيح */
    .pay-icon-btn {
      background: #f3f3f3;
      border: 2px solid #eee;
      border-radius: 12px;
      width: 56px;
      height: 56px;
      padding: 0 !important;
      cursor: pointer;
      color: #888;
      transition: border 0.2s, color 0.2s, background 0.2s;
      outline: none;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
.pay-icon-btn.selected, .pay-icon-btn:focus {
  border: 2px solid var(--gov-blue-medium);
  color: var(--gov-blue-dark);
  background: #e6f0f7;
}

/* جميع الأيقونات والصور تملأ الزر بالكامل بدون قص أو فراغ داخلي */
/* الأيقونات والصور تملأ الزر بالكامل بدون فراغات أو قص */
/* الأيقونات والصور تملأ الزر بالكامل بدون فراغات أو قص */
.pay-icon-btn i,
.pay-icon-btn svg {
  width: 100% !important;
  height: 100% !important;
  font-size: 2.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
.pay-icon-btn img.knet-logo,
.pay-icon-btn img.hesabe-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* لإبقاء الأيقونة أو الصورة في المنتصف دائماً */
.pay-icon-btn > * {
  position: absolute;
  inset: 0;
}
.pay-icon-btn .fa-apple-pay { color: #000; }
.pay-icon-btn .fa-google-pay { color: #4285f4; }
.pay-icon-btn .fa-building-columns { color: #009688; }
.pay-icon-btn .fa-cc-mastercard { color: #eb001b; }
.pay-icon-btn .fa-cc-amex { color: #2e77bb; }
.pay-icon-btn .fa-cc-knet { color: #005baa; }
/* إزالة أي تكرار أو تداخل */

/* إخفاء النص داخل زر الدفع وإظهاره كـ tooltip عند المرور */

/* إلغاء ظهور اسم الأيقونة عند مرور الماوس */

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 992px) {
    .hero-container, .about-grid, .contact-grid, .services-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text, .about-content {
        order: 2;
    }

    .hero-visual, .about-visual {
        order: 1;
        margin-bottom: var(--space-xl);
    }

    .hero-description, .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions, .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--space-md) 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        display: block;
        text-align: center;
        width: 100%;
        border-radius: 0;
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger */
        font-size: 1.5rem;
    }
}

.pay-form-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 2rem 1.5rem;
  text-align: right;
}

/* إظهار نموذج الدفع المحدد فقط */
.pay-form {
  display: none !important;
}
.pay-form.active {
  display: block !important;
}

/* =====================
   Enhanced Footer Styles
   ===================== */

.footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #003366 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 2.2fr;
  gap: 5rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand .logo-image {
  border-radius: 50%;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand .brand-country {
  font-size: 1rem;
  color: #cbd5e1;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  white-space: nowrap;
}

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

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: block;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

.footer-section a:hover {
  color: #ffffff !important
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-copyright-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 0.6rem 0;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.copyright-content p {
  color: #94a3b8;
  font-size: 0.8rem;
  margin: 0;
}

.copyright-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copyright-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.copyright-links a:hover {
  color: #ffffff;
}

.copyright-links .separator {
  color: #475569;
}

/* =====================
   New Footer Grid Layout
   ===================== */
.footer {
  background: linear-gradient(135deg, #003366 0%, #00254d 100%);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  align-items: start;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-section .brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  border-radius: 12px;
  background: #ffffff;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-brand-section .brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-section .brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.footer-brand-section .brand-country {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}

.footer-description {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social .social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social .social-icon:hover {
  background: #ffffff;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-links-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 40px;
  height: 2px;
  background: #3b82f6;
}

[dir="ltr"] .footer-column h4::after {
  right: auto;
  left: 0;
}

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

.footer-column li {
  margin-bottom: 0.1rem;
}

.footer-column a {
  color: #e2e8f0 !important;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  padding: 0.1rem 0;
  line-height: 1.3;
}

.footer-column a i {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

[dir="ltr"] .footer-column a i {
  transform: rotate(180deg);
}

.footer-column a:hover {
  color: #ffffff;
  padding-right: 0.5rem;
}

[dir="ltr"] .footer-column a:hover {
  padding-right: 0;
  padding-left: 0.5rem;
}

.footer-column a:hover i {
  opacity: 1;
}

/* Footer Responsive */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-description {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-links-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .copyright-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-column h4::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-column a {
    justify-content: center;
  }
}

@media(max-width: 575px){
    .nav-actions .login-btn{font-size: 14px}
    .login-btn .btn-icon{display:none}
}

/* =====================================================
   تحسينات التصميم الشامل 2025 - Design Consistency
   ===================================================== */

/* ============ ABOUT SECTION ENHANCEMENTS ============ */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc, #003366);
}

.about-section .section-header {
    position: relative;
    margin-bottom: 3rem;
}

.about-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
    position: relative;
    display: inline-block;
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003366, #004488);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 51, 102, 0.08);
    backdrop-filter: blur(10px);
}

.about-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1rem;
}

.about-content h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #003366, #004488);
    border-radius: 2px;
}

.about-content p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.9;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05), rgba(0, 68, 136, 0.08));
    border-radius: 12px;
    border-right: 3px solid #003366;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1), rgba(0, 68, 136, 0.15));
    transform: translateX(-5px);
}

.feature-list li i {
    color: #003366;
    font-size: 1.3rem;
    margin-top: 3px;
}

.feature-list li strong {
    color: #003366;
    font-size: 1rem;
    display: block;
}

.feature-list li span {
    color: #4b5563;
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual picture img {
    filter: drop-shadow(0 20px 40px rgba(0, 51, 102, 0.2));
    transition: transform 0.5s ease;
}

.about-visual:hover picture img {
    transform: scale(1.05) rotate(2deg);
}

/* ============ SERVICES SECTION ENHANCEMENTS ============ */
.services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc, #003366);
}

.services-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.services-section .section-title {
    color: #003366;
    font-size: 2.5rem;
    font-weight: 800;
}

.services-section .section-subtitle {
    color: #4b5563;
    font-size: 1.15rem;
}

.services-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #004488);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #004488, #0066cc);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.8rem;
}

.service-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
}

.services-visual {
    position: sticky;
    top: 100px;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-image {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.dashboard-preview:hover .dashboard-image {
    transform: scale(1.05);
}

/* ============ TESTIMONIALS SECTION ENHANCEMENTS ============ */
.testimonials-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 50px;
    right: 10%;
    font-size: 20rem;
    color: rgba(0, 51, 102, 0.03);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 51, 102, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    border-radius: 0 24px 0 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 51, 102, 0.15);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
}

.testimonial-text {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-right: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -5px;
    font-size: 2rem;
    color: #003366;
    font-family: Georgia, serif;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.testimonial-author strong {
    color: #003366;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: #4b5563;
    font-size: 0.9rem;
}

/* ============ HERO SECTION ENHANCEMENTS ============ */
.main-hero {
    background: linear-gradient(135deg, #003366 0%, #004488 50%, #003366 100%);
    position: relative;
    overflow: hidden;
}

.main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-description {
  color: #003366;
  font-size: 1.25rem;
  line-height: 1.8;
  text-shadow: none;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
    text-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
}

.stat-label {
    color: #1e293b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.primary-cta {
    background: linear-gradient(135deg, #003366, #004488);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
    border: none;
    text-decoration: none;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.5);
    background: linear-gradient(135deg, #004488, #0055aa);
}

.secondary-cta {
    background: #ffffff;
    color: #003366 !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.main-nav a {
  color: #0f172a;
  font-weight: 600;
}

.main-nav a:hover {
  color: #003366;
}

.secondary-cta:hover {
    background: #f0f9ff;
    border-color: #f0f9ff;
    transform: translateY(-3px);
    color: #003366 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ============ PACKAGES SECTION ENHANCEMENTS ============ */
.packages-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
}

.btn-choose-package {
    background: linear-gradient(135deg, #003366, #004488) !important;
    color: white !important;
    border: none !important;
}

.btn-choose-package:hover {
    background: linear-gradient(135deg, #004488, #0055aa) !important;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4) !important;
}

.package-card.featured .btn-choose-package {
    background: white !important;
    color: #003366 !important;
}

.package-card.featured .btn-choose-package:hover {
    background: #e8f4fc !important;
}

/* ============ EXTENDED SERVICES ENHANCEMENTS ============ */
.extended-services-wrapper {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.1);
}

.extended-services-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.5rem;
}

.extended-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-box {
    background: linear-gradient(135deg, #f8fafc, #f0f9ff);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 51, 102, 0.08);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.12);
}

.service-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.service-box h4 {
    color: #003366;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-box p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-box-price {
    background: linear-gradient(135deg, #003366, #004488);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 1rem;
}

.important-note-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-right: 4px solid #f59e0b;
}

.important-note-icon {
    color: #f59e0b;
    font-size: 1.5rem;
}

.important-note-content h5 {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.important-note-content p {
    color: #78350f;
    font-size: 0.95rem;
    margin: 0;
}

.extended-services-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.extended-services-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

/* ============ RESPONSIVE ENHANCEMENTS ============ */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-visual {
        order: -1;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-visual {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .extended-services-wrapper {
        padding: 1.5rem;
    }

    .important-note-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ============ COLOR ENHANCEMENTS 2025 ============ */

/* تحسين التباين للنصوص */
.section-subtitle {
  font-size: 1.1rem;
  color: #0f172a;
  max-width: 700px;
  margin: 0 auto;
}

/* إضافة لمسات سماوية للتنويع */
.stat-item:nth-child(1) .stat-number {
    color: #003366;
    text-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
}

.stat-item:nth-child(2) .stat-number {
    color: #003366;
    text-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
}

.stat-item:nth-child(3) .stat-number {
    color: #003366;
    text-shadow: 0 2px 10px rgba(0, 51, 102, 0.3);
}

/* تحسين ألوان الروابط */
a:not(.btn):not(.primary-cta):not(.secondary-cta) {
    color: #0369a1;
    transition: color 0.3s ease;
}

a:not(.btn):not(.primary-cta):not(.secondary-cta):hover {
    color: #0284c7;
}

/* تحسين خلفيات البطاقات للتباين */
.service-card,
.testimonial-card,
.package-card:not(.featured) {
    border: 1px solid rgba(0, 51, 102, 0.08);
}

/* إضافة تدرج خفيف للأيقونات */
.feature-list li i,
.check-icon,
.package-features i {
    background: linear-gradient(135deg, #003366, #004488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* تحسين ظلال الأزرار */
.btn:active,
.primary-cta:active,
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

/* ألوان الحالات */
.text-success { color: #003366 !important; }
.text-warning { color: #d97706 !important; }
.text-danger { color: #dc2626 !important; }
.text-info { color: #0284c7 !important; }

/* تحسين خلفية الصفحة */
body {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
