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

:root {
  --navy: #0D2B5E;
  --navy-transparent: rgba(13, 43, 94, 0.95);
  --blue: #0056b3;
  --light-blue: #e8f0fe;
  --bg-color: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2d3748;
  --text-gray: #718096;
  --danger: #dc3545;
  --success: #34a853;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-dark); direction: rtl; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 30px; border-radius: 30px; font-weight: 700; font-size: 16px; cursor: pointer; text-align: center; border: none; transition: var(--transition); }
.btn-primary { background-color: var(--blue); color: var(--white); box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4); }
.btn-primary:hover { background-color: #004494; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6); color: white;}
.btn-outline { background-color: transparent; color: var(--white); border: 2px solid var(--white); backdrop-filter: blur(5px); }
.btn-outline:hover { background-color: var(--white); color: var(--navy); transform: translateY(-2px); }

/* Navbar */
.navbar { position: fixed; top: 0; right: 0; left: 0; padding: 20px 0; z-index: 1000; transition: all 0.4s ease; background: transparent; }
.navbar.scrolled { padding: 12px 0; background: var(--navy-transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 900; color: var(--white); transition: var(--transition); }
.logo i { color: #4dabf7; font-size: 22px; }
.navbar.scrolled .logo { font-size: 22px; }
.nav-links { display: flex; gap: 35px; }
.nav-links a { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 15px; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background-color: #4dabf7; transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-menu-btn { display: none; color: white; font-size: 24px; cursor: pointer; background: none; border: none; }

/* Hero Section with Video */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; padding-top: 80px; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 1; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13, 43, 94, 0.95) 0%, rgba(13, 43, 94, 0.6) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; color: var(--white); text-align: center; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.hero-content h1 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 20px; margin-bottom: 40px; color: rgba(255,255,255,0.9); font-weight: 400; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* Forms (Subscribe Page) */
.form-card { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.form-group { margin-bottom: 20px; text-align: right; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); font-size: 14px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 10px; font-family: 'Cairo', sans-serif; font-size: 14px; transition: var(--transition); background: #f8fafc; }
.form-control:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,86,179,0.1); }

/* Section Styles */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { color: var(--navy); font-size: 36px; font-weight: 800; position: relative; display: inline-block; margin-bottom: 15px; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; right: 50%; transform: translateX(50%); width: 60px; height: 4px; background: var(--blue); border-radius: 2px; }
.section-title p { color: var(--text-gray); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.feature-item { background: var(--white); padding: 40px 20px; border-radius: 20px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.feature-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--blue); transform: scaleX(0); transition: var(--transition); transform-origin: right; }
.feature-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-item:hover::before { transform: scaleX(1); }
.feature-icon-wrapper { width: 70px; height: 70px; background: var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: var(--transition); }
.feature-icon { color: var(--blue); font-size: 30px; transition: var(--transition); }
.feature-item:hover .feature-icon-wrapper { background: var(--blue); }
.feature-item:hover .feature-icon { color: var(--white); transform: scale(1.1); }
.feature-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.feature-item p { font-size: 14px; color: var(--text-gray); }

/* How it works Steps */
.steps-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; position: relative; }
.steps-container::before { content: ''; position: absolute; top: 40px; right: 10%; width: 80%; height: 2px; background: #cbd5e0; z-index: 0; }
.step { text-align: center; flex: 1; position: relative; z-index: 1; }
.step-circle { width: 80px; height: 80px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 20px; box-shadow: var(--shadow-md); border: 2px solid var(--blue); color: var(--navy); position: relative; transition: var(--transition); }
.step-number { position: absolute; top: -5px; right: -5px; background: var(--blue); color: var(--white); width: 28px; height: 28px; border-radius: 50%; font-size: 14px; display: flex; align-items: center; justify-content: center; font-weight: bold; border: 2px solid var(--white); }
.step:hover .step-circle { background: var(--blue); color: var(--white); transform: scale(1.1); }
.step h3 { color: var(--navy); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-gray); font-size: 14px; }

/* ======================================
   HOME PAGE REDESIGN - NEW STYLES
   ====================================== */

/* Section Tag (pill above heading) */
.section-tag { display: inline-block; background: var(--light-blue); color: var(--blue); font-size: 13px; font-weight: 800; padding: 5px 18px; border-radius: 30px; margin-bottom: 12px; letter-spacing: 1px; }
.section-tag.light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

/* Section Title Redesigned */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { color: var(--navy); font-size: 36px; font-weight: 900; margin-bottom: 12px; display: block; }
.section-title p { color: var(--text-gray); font-size: 16px; max-width: 580px; margin: 0 auto; }

/* ======================================
   HERO SECTION REDESIGN
   ====================================== */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 8px 20px; border-radius: 30px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.hero-content h1 { font-size: 58px; font-weight: 900; line-height: 1.15; margin-bottom: 22px; }
.hero-highlight { display: block; color: #4dabf7; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto 40px; line-height: 1.9; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-glow { box-shadow: 0 0 30px rgba(77,171,247,0.5); }
.btn-glass { background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.4); color: white; }
.btn-glass:hover { background: white; color: var(--navy); }
.btn-large { padding: 16px 40px; font-size: 18px; }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 30px; justify-content: center; margin-top: 50px; padding: 20px 35px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); width: fit-content; margin-left: auto; margin-right: auto; }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: #4dabf7; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* Particles */
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particles span { position: absolute; left: var(--x); bottom: -20px; width: var(--size); height: var(--size); background: rgba(77,171,247,0.6); border-radius: 50%; animation: floatUp var(--duration) var(--delay) infinite ease-in; }
@keyframes floatUp { 0% { transform: translateY(0) scale(1); opacity: 0.8; } 100% { transform: translateY(-100vh) scale(0.2); opacity: 0; } }

/* Hero Scroll Hint */
.hero-scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); animation: bounce 2s infinite; }
.scroll-ring { width: 36px; height: 36px; border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-scroll-hint i { font-size: 14px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ======================================
   FEATURES SECTION REDESIGN
   ====================================== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature-card { background: var(--white); border-radius: 24px; padding: 35px 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: transform 0.4s, box-shadow 0.4s; position: relative; overflow: hidden; cursor: default; }
.feature-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,86,179,0.12); }
.feature-card-inner { position: relative; z-index: 1; }
.feature-icon-box { width: 65px; height: 65px; border-radius: 18px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--blue); margin-bottom: 22px; transition: 0.4s; border: 2px solid transparent; }
.feature-card:hover .feature-icon-box { background: var(--blue); color: white; transform: scale(1.1) rotate(-5deg); border-color: rgba(255,255,255,0.3); }
.feature-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }
.feature-card-glow { position: absolute; bottom: -40px; left: -40px; width: 120px; height: 120px; background: var(--card-color, #4dabf7); border-radius: 50%; opacity: 0; filter: blur(40px); transition: opacity 0.4s; z-index: 0; }
.feature-card:hover .feature-card-glow { opacity: 0.15; }

/* ======================================
   PRODUCTS BANNER
   ====================================== */
.products-section { padding: 0 0 80px; }
.products-banner { background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%); border-radius: 30px; display: flex; align-items: stretch; overflow: hidden; box-shadow: 0 20px 60px rgba(13,43,94,0.25); }
.products-banner-text { flex: 1; padding: 60px; color: white; display: flex; flex-direction: column; justify-content: center; }
.products-banner-text h2 { font-size: 34px; font-weight: 900; margin-bottom: 16px; }
.products-banner-text p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.9; margin-bottom: 32px; max-width: 420px; }
.products-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-light-primary { background: white; color: var(--navy); font-weight: 800; padding: 13px 28px; border-radius: 30px; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-light-primary:hover { background: #e8f0fe; transform: translateY(-3px); }
.btn-light-outline { border: 2px solid rgba(255,255,255,0.4); color: white; font-weight: 800; padding: 13px 28px; border-radius: 30px; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; background: transparent; }
.btn-light-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* Products showcase panel */
.products-showcase { flex: 1; display: flex; gap: 0; min-height: 380px; }
.showcase-item { flex: 1; display: flex; flex-direction: column; cursor: pointer; overflow: hidden; transition: flex 0.7s cubic-bezier(0.2,0.8,0.2,1); position: relative; }
.showcase-item:hover { flex: 1.8; }
.showcase-img-wrap { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); }
.showcase-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.showcase-item:hover .showcase-img-wrap img { transform: scale(1.06); }
.showcase-label { background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); color: white; font-size: 14px; font-weight: 800; padding: 12px 16px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; flex-shrink: 0; }
.showcase-item:hover .showcase-label { background: var(--blue); }

/* ======================================
   HOW IT WORKS - STEP CARDS
   ====================================== */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 50px; right: 16%; width: 68%; height: 2px; background: linear-gradient(to left, var(--border), var(--blue), var(--border)); z-index: 0; }
.step-card { background: white; border-radius: 24px; padding: 36px 28px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); position: relative; z-index: 1; transition: 0.4s; }
.step-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,86,179,0.12); border-color: #bee3f8; }
.step-num { font-size: 48px; font-weight: 900; color: var(--light-blue); line-height: 1; margin-bottom: -10px; }
.step-icon-wrap { width: 70px; height: 70px; background: var(--light-blue); color: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 10px auto 20px; transition: 0.3s; }
.step-card:hover .step-icon-wrap { background: var(--blue); color: white; }
.step-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }
.step-arrow { position: absolute; top: 50px; left: -20px; width: 40px; height: 40px; background: white; border: 2px solid var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 14px; }

/* ======================================
   AUDIENCE SECTION
   ====================================== */
.audience-section { background: #f0f5ff; }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.audience-card { background: white; border-radius: 24px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 2px solid transparent; transition: 0.4s; cursor: default; }
.audience-card:hover { border-color: var(--blue); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,86,179,0.1); }
.audience-img-wrap { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--light-blue); transition: 0.3s; }
.audience-card:hover .audience-img-wrap { border-color: var(--blue); }
.audience-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.audience-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: var(--light-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; transition: 0.3s; }
.audience-card:hover .audience-icon-wrap { background: var(--blue); color: white; }
.audience-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.audience-card p { font-size: 13px; color: var(--text-gray); line-height: 1.7; }

/* ======================================
   ABOUT US SECTION
   ====================================== */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-img-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; align-items: end; }
.about-img-card { border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.about-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.about-img-card:hover img { transform: scale(1.05); }
.about-img-card.large { height: 360px; }
.about-img-card.small { height: 250px; }

.about-badge-float { position: absolute; top: -20px; right: -20px; background: var(--blue); color: white; padding: 12px 20px; border-radius: 15px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,86,179,0.35); z-index: 2; }
.about-stats-float { position: absolute; bottom: -20px; left: -20px; background: white; border-radius: 16px; padding: 16px 24px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); z-index: 2; border: 1px solid var(--border); }
.about-stat { text-align: center; }
.about-stat strong { display: block; font-size: 22px; font-weight: 900; color: var(--navy); }
.about-stat span { font-size: 12px; color: var(--text-gray); }
.about-stat-divider { width: 1px; height: 40px; background: var(--border); }

.about-content h2 { font-size: 34px; font-weight: 900; color: var(--navy); margin-bottom: 14px; line-height: 1.3; }
.about-lead { font-size: 17px; color: var(--navy); font-weight: 600; margin-bottom: 12px; line-height: 1.8; }
.about-body { font-size: 15px; color: var(--text-gray); line-height: 1.9; margin-bottom: 28px; }

.about-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.about-feat-item { display: flex; gap: 16px; align-items: flex-start; }
.about-feat-icon { width: 44px; height: 44px; background: var(--light-blue); color: var(--blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: 0.3s; }
.about-feat-item:hover .about-feat-icon { background: var(--blue); color: white; }
.about-feat-item h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.about-feat-item p { font-size: 13px; color: var(--text-gray); line-height: 1.7; margin: 0; }

.about-vision { background: linear-gradient(135deg, var(--navy), #1a3a6e); border-radius: 16px; padding: 24px; color: white; position: relative; }
.about-vision i { font-size: 28px; color: rgba(255,255,255,0.2); margin-bottom: 10px; display: block; }
.about-vision p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.88); font-style: italic; margin-bottom: 10px; }
.about-vision span { font-size: 13px; color: #4dabf7; font-weight: 700; }

/* ======================================
   FAQ SECTION
   ====================================== */
.faq-section { background: #f8faff; }
.faq-grid { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.open { border-color: var(--blue); box-shadow: 0 8px 25px rgba(0,86,179,0.1); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); text-align: right; }
.faq-q span { flex: 1; }
.faq-icon { font-size: 14px; color: var(--blue); transition: transform 0.35s; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--light-blue); display: flex; align-items: center; justify-content: center; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: 15px; color: var(--text-gray); line-height: 1.9; margin: 0; border-top: 1px solid var(--border); padding-top: 16px; }

/* ======================================
   CTA SECTION
   ====================================== */
.cta-section { padding: 80px 0; }
.cta-box { background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%); border-radius: 30px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(77,171,247,0.3), transparent 70%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 40px; font-weight: 900; color: white; margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }

/* ======================================
   REVEAL ANIMATIONS
   ====================================== */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.5,0,0,1), transform 0.8s cubic-bezier(0.5,0,0,1); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
  .about-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: 2; }
  .about-content { order: 1; }
  .about-img-card.large { height: 280px; }
  .about-img-card.small { height: 200px; }
}

@media (max-width: 992px) {
  .hero-content h1 { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-banner { flex-direction: column; }
  .products-banner-text { padding: 40px; }
  .products-showcase { min-height: 320px; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .step-arrow { display: none; }
}

@media (max-width: 768px) {
  .navbar { background: var(--navy-transparent); backdrop-filter: blur(10px); padding: 15px 0; }
  .nav-links { position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px); background: var(--navy-transparent); backdrop-filter: blur(15px); flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: right 0.4s ease; z-index: 999; }
  .nav-links.open { right: 0; }
  .nav-container > .btn-primary.nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 80px; height: 1px; }
  .section-title h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-badge-float { top: 10px; right: 10px; }
  .about-stats-float { bottom: 10px; left: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .cta-content h2 { font-size: 28px; }
  .faq-q { font-size: 14px; padding: 18px 16px; }
}

@media (max-width: 576px) {
  .hero { min-height: 100svh; }
  .hero-content h1 { font-size: 28px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .products-banner-text { padding: 28px 20px; }
  .products-banner-text h2 { font-size: 24px; }
  .products-btns { flex-direction: column; }
  .section { padding: 45px 0; }
  .section-title { margin-bottom: 40px; }
  .about-wrapper { gap: 30px; }
  .about-img-grid { grid-template-columns: 1fr; }
  .about-img-card.large, .about-img-card.small { height: 220px; }
  .about-stats-float { position: static; margin-top: 16px; justify-content: center; }
  .about-badge-float { position: static; margin-bottom: 12px; display: inline-flex; }
  .cta-box { padding: 50px 20px; }
  .cta-content h2 { font-size: 24px; }
  .btn-large { padding: 14px 28px; font-size: 16px; }
  .footer-grid { gap: 25px; }
  .main-footer { padding: 50px 0 20px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 24px; }
  .audience-grid { grid-template-columns: 1fr; }
}

.bracelet-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.bracelet-text { padding: 60px; color: var(--white); flex: 1; position: relative; z-index: 1; }
.bracelet-text h3 { font-size: 32px; margin-bottom: 15px; font-weight: 800; }
.bracelet-text p { color: #cbd5e0; margin-bottom: 30px; font-size: 16px; max-width: 400px; line-height: 1.8; }
.bracelet-img-wrapper { flex: 1; position: relative; height: 100%; display: flex; justify-content: flex-end; align-items: center; }
/* Interactive Products Showcase */
.interactive-products-showcase { display: flex; flex: 1; height: 420px; gap: 12px; padding: 30px 30px 30px 0; align-items: center; }
.product-item { flex: 1; border-radius: 20px; overflow: hidden; position: relative; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: flex 0.7s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s; display: flex; flex-direction: column; height: 100%; }
.product-item:hover { flex: 3; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.product-item-inner { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #0a1e38; }
.product-img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1); display: block; }
.product-item:hover .product-img { transform: scale(1.04); }
.panel-badge { display: flex; align-items: center; gap: 8px; justify-content: center; background: rgba(0,0,0,0.5); backdrop-filter: blur(12px); color: white; font-weight: 800; font-size: 14px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.15); transition: background 0.3s; white-space: nowrap; flex-shrink: 0; }
.product-item:hover .panel-badge { background: var(--blue); }


/* Target Audience Grid */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; }
.audience-card { background: var(--white); border-radius: 20px; padding: 25px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.audience-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #bee3f8; }
.audience-icon { width: 60px; height: 60px; background: var(--light-blue); color: var(--blue); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 15px; transition: var(--transition); }
.audience-card:hover .audience-icon { background: var(--blue); color: var(--white); border-radius: 50%; }
.audience-card h3 { color: var(--navy); font-size: 18px; font-weight: 700; }

/* Profile Scan Result (QR Profile - Exact Match) */
body { background-color: #f4f7f6; }
.profile-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 20px 10px; font-family: 'Tajawal', sans-serif; }
.profile-card { background: #ffffff; width: 100%; max-width: 600px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #eaedf1; }

.profile-top-banner { background-color: #0c2340; color: #ffffff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.profile-top-banner .logo-side { display: flex; align-items: center; gap: 10px; }
.profile-top-banner .logo-side i { font-size: 24px; }
.profile-top-banner .logo-text h1 { font-size: 18px; margin: 0; font-weight: 800; }
.profile-top-banner .logo-text p { font-size: 10px; margin: 0; color: #a0aec0; }
.profile-top-banner .info-side { text-align: left; font-size: 11px; color: #cbd5e1; display: flex; align-items: center; gap: 8px;}
.profile-top-banner .info-side i { font-size: 20px; }

.profile-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }

.profile-header-user { display: flex; justify-content: space-between; align-items: flex-start; }
.user-basic { display: flex; gap: 15px; align-items: center; }
.user-image-wrap { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #e2e8f0; }
.user-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.user-details h2 { font-size: 20px; font-weight: 800; color: #1e293b; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.user-details h2 i { color: #3b82f6; font-size: 16px; }
.user-meta { font-size: 12px; color: #475569; display: flex; flex-direction: column; gap: 6px; }
.user-meta div { display: flex; align-items: center; gap: 6px; }
.user-meta i { color: #64748b; width: 14px; text-align: center; }

.update-badge { border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; background: #ffffff; }
.update-text { display: flex; flex-direction: column; align-items: flex-end; }
.update-text span:first-child { font-size: 10px; color: #64748b; }
.update-text span:last-child { font-size: 11px; font-weight: 700; color: #1e293b; }
.update-badge i { color: #22c55e; font-size: 20px; }

.alert-block { background-color: #ef4444; border-radius: 12px; padding: 15px 20px; color: white; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); }
.alert-icon { font-size: 35px; color: rgba(255,255,255,0.9); flex-shrink: 0; }
.alert-content { flex: 1; text-align: center; }
.alert-content h3 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.alert-content ul { list-style: none; padding: 0; margin: 0; font-size: 13px; font-weight: 500; display: inline-block; text-align: right; }
.alert-content ul li { position: relative; padding-right: 12px; margin-bottom: 3px; }
.alert-content ul li::before { content: '•'; position: absolute; right: 0; }

.info-section { border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; position: relative; overflow: hidden; }
.section-title { font-size: 15px; font-weight: 800; color: #0c2340; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.section-title i { color: #3b82f6; }

.medical-info-content { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.medical-text { font-size: 12px; color: #475569; line-height: 1.8; flex: 1; }
.medical-bg-icon { font-size: 60px; color: #eff6ff; background: #f8fafc; width: 80px; height: 80px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.medical-bg-icon i { color: #bfdbfe; }

.meds-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.med-card { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 10px; padding: 8px 12px; flex: 1; min-width: calc(33% - 10px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.med-name { font-size: 12px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 4px; }
.med-name::after { content: '•'; color: #3b82f6; }
.med-dose { font-size: 10px; color: #64748b; }

.contacts-list { display: flex; flex-direction: column; gap: 10px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; border-radius: 10px; padding: 10px 15px; }
.contact-row.green-bg { background-color: #f0fdf4; border: 1px solid #dcfce3; }
.contact-row.red-bg { background-color: #fef2f2; border: 1px solid #fee2e2; }
.contact-icon-left i { color: #1e293b; font-size: 16px; }
.contact-details { text-align: center; flex: 1; }
.contact-phone { font-size: 13px; font-weight: 700; color: #1e293b; direction: ltr; display: inline-block; }
.contact-name { font-size: 11px; color: #64748b; margin-top: 2px; }
.contact-btn { background: #22c55e; color: white; border-radius: 8px; padding: 6px 15px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.contact-row.red-bg .contact-btn { background: #ef4444; }

.location-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.location-icon i { font-size: 24px; color: #3b82f6; }
.location-text { flex: 1; text-align: center; }
.location-text h4 { margin: 0 0 3px; font-size: 13px; font-weight: 800; color: #1e293b; }
.location-text p { margin: 0; font-size: 10px; color: #64748b; }
.location-btn-send { background: #0c2340; color: white; border: none; border-radius: 8px; padding: 8px 15px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; cursor: pointer; }

.profile-footer { text-align: center; padding: 15px; font-size: 11px; color: #64748b; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.profile-footer h4 { margin: 0; color: #0c2340; font-size: 12px; font-weight: 800; }
.profile-footer i { font-size: 20px; color: #3b82f6; }

/* Responsive adjustments for Profile Scan Result */
@media (max-width: 576px) {
    .profile-top-banner { flex-direction: column; gap: 10px; text-align: center; padding: 15px; }
    .profile-top-banner .info-side { justify-content: center; }
    
    .profile-header-user { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
    .user-basic { flex-direction: column; gap: 10px; }
    .user-meta { align-items: center; }
    .user-meta div { justify-content: center; }
    .update-badge { width: 100%; justify-content: center; flex-direction: row-reverse; }
    .update-text { align-items: center; }
    
    .medical-info-content { flex-direction: column-reverse; text-align: center; }
    .medical-bg-icon { margin: 0 auto; }
    
    .med-card { min-width: 100%; }
    
    .contact-row { flex-direction: column-reverse; gap: 12px; text-align: center; }
    .contact-icon-left { display: none; }
    .contact-btn { width: 100%; justify-content: center; padding: 10px; font-size: 14px; }
    
    .location-box { flex-direction: column-reverse; gap: 15px; text-align: center; }
    .location-btn-send { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }
    .location-icon { margin-bottom: 5px; }
}

/* Footer */
.main-footer { background: var(--navy); color: white; padding: 80px 0 20px; position: relative; overflow: hidden; margin-top: 60px; }
.main-footer.no-margin { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-about .logo { margin-bottom: 20px; display: inline-flex; color: white;}
.footer-about p { color: #a0aec0; font-size: 15px; line-height: 1.8; margin-bottom: 25px; max-width: 350px; }
.footer-socials { display: flex; gap: 15px; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.social-link:hover { background: var(--blue); transform: translateY(-3px); }
.footer-col h4 { font-size: 18px; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 10px; color: white;}
.footer-col h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--blue); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #cbd5e0; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '\f104'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; color: var(--blue); transition: var(--transition); }
.footer-links a:hover { color: white; transform: translateX(-5px); }
.footer-contact-info { display: flex; flex-direction: column; gap: 15px; color: #cbd5e0; font-size: 15px; }
.footer-contact-info li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-info i { color: var(--blue); margin-top: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #718096; font-size: 14px; }

/* Animations & Reveal Classes */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bracelet-banner { flex-direction: column; text-align: center; }
  .bracelet-text { padding: 40px 20px; text-align: center; }
  .bracelet-text p { max-width: 100%; }
  .interactive-products-showcase { flex-direction: column; padding: 0 20px 20px 20px; height: 500px; width: 100%; }
  .product-item { min-height: 120px; flex: 1; }
  .product-item:hover { flex: 2; }
  .steps-container::before { display: none; }
  .steps-container { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar { background: var(--navy-transparent); backdrop-filter: blur(10px); padding: 15px 0; }
  .nav-links { position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px); background: var(--navy-transparent); backdrop-filter: blur(15px); flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: var(--transition); z-index: 999; }
  .nav-links.active { right: 0; }
  .nav-container > .btn-primary { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 50px 0; }
  .main-footer { padding: 50px 0 20px; }
  .footer-about p { max-width: 100%; }
  .section-title h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
}

@media (max-width: 576px) {
  .hero { min-height: 500px; padding-top: 70px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 14px; margin-bottom: 30px; }
  .section { padding: 40px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 24px; }
  .section-title p { font-size: 14px; }
  .features-grid { grid-template-columns: 1fr; gap: 15px; }
  .feature-item { padding: 25px 15px; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .audience-card { padding: 15px; }
  .audience-card h3 { font-size: 14px; }
  .step { max-width: 280px; margin: 0 auto; }
  .interactive-products-showcase { height: 400px; padding: 0 10px 10px 10px; }
  .bracelet-text h3 { font-size: 24px; }
  .bracelet-text p { font-size: 14px; }
  .main-footer { padding: 40px 0 15px; }
  .footer-grid { gap: 25px; }
  .footer-col h4 { font-size: 16px; margin-bottom: 15px; }
  .footer-socials { justify-content: center; }
  .subscribe-form-side { padding: 40px 20px; }
  .subscribe-form-container .form-title { font-size: 28px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 24px; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .audience-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 12px; }
}

/* --- Solid Navbar for inner pages --- */
.navbar-solid { background: var(--navy-transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 1000; }

/* --- Subscribe Page Layout --- */
.subscribe-wrapper { display: flex; min-height: calc(100vh - 75px); align-items: stretch; background: var(--white); }
.subscribe-form-side { flex: 1; padding: 60px 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.subscribe-form-container { width: 100%; max-width: 450px; }
.subscribe-img-side { flex: 1; background: linear-gradient(135deg, var(--light-blue) 0%, #d0e1fd 100%); position: relative; overflow: hidden; display: none; }
@media (min-width: 992px) { .subscribe-img-side { display: block; } }
.subscribe-img-side img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.subscribe-img-side .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 43, 94, 0.8) 0%, rgba(13, 43, 94, 0.2) 100%); z-index: 1; }
.subscribe-img-text { position: absolute; bottom: 60px; left: 40px; right: 40px; z-index: 2; color: var(--white); text-align: center; }
.subscribe-img-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }

/* --- Toast Notifications --- */
.toast-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 15px 25px; display: flex; align-items: center; gap: 15px; min-width: 300px; max-width: 400px; transform: translateY(100px); opacity: 0; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: auto; border: 1px solid var(--border); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.toast.success .toast-icon { background: #e6f4ea; color: var(--success); }
.toast.error .toast-icon { background: #ffebee; color: var(--danger); }
.toast-content h4 { color: var(--navy); font-size: 16px; margin: 0 0 2px 0; font-weight: 700; }
.toast-content p { color: var(--text-gray); font-size: 13px; margin: 0; }