/* Unified calculator stylesheet for steps 1-7 */
/* Base theme */
:root {
  --primary-color: #1f5f88;
  --secondary-color: #2f86bf;
  --accent-color: #c24b5a;
  --light-color: #f7f8fa;
  --dark-color: #232933;
  --success-color: #23a05f;
  --error-color: #dc4a57;
  --warning-color: #f3bf43;
  --info-color: #4f6fca;
}

* {
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  background-color: #fdfefe;
  color: var(--dark-color);
}

/* Remove top header so pages start at timeline */
header {
  display: none !important;
}

.calculator-page {
  /* background-color: #ececed !important; */
}
.question-section,
.capital-input-section,
.result-section,
.area-features-container,
.activities-toggle-section,
.benefits-container,
.step1-input-grid {
  border-radius: 10px;
  border-left: 4px solid rgba(2, 29, 60, 0.25);
  background: #f8f9fa;
  padding: 20px;
  margin-top: 20px;
  padding: 25px;
  /* background: linear-gradient(135deg, #f8f9fa, #e8f4fc); */
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.activities-toggle-section {
  padding: 14px !important;
  margin-top: 12px !important;
}

.calculator-container {
  background-color: #ffffff !important;
  border: 1px solid #e3e4e8;
  box-shadow: 0 4px 18px rgba(86, 104, 128, 0.14) !important;
  border-radius: 18px !important;
}

.timeline-container {
  background-color: #f4f4f6 !important;
}

.timeline-step .step-circle {
  border: 2px solid #bcc1c9;
  background-color: #e8eaee;
  color: #7f8794;
}

.timeline-step.active .step-circle,
.timeline-step.completed .step-circle {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

.timeline-step.active .step-label,
.timeline-step.completed .step-label {
  color: var(--accent-color) !important;
}

/* Normalize timeline connectors across all calculator steps */
.timeline-step:not(:last-child):after {
  content: none !important;
}

.timeline-step + .timeline-step::before {
  content: "" !important;
  position: absolute !important;
  top: 25px !important;
  inset-inline-end: 100% !important;
  width: 30px !important;
  height: 2px !important;
  background-color: #c6c9cf !important;
}

.timeline,
.timeline-wrapper {
  overflow: hidden !important;
}

.timeline-step:first-child::before {
  content: none !important;
}

@media (max-width: 768px) {
  .timeline-step + .timeline-step::before {
    display: none !important;
  }
}

header {
  background: linear-gradient(135deg, #1f232b, #3a404b) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.feature-title,
.benefit-title,
.special-benefit-title,
.benefits-title,
.fixed-activities-title,
.area-features-title,
.elegant-incentives-title,
.notice-header h3,
.section-title h3 {
  color: var(--dark-color) !important;
}

/* Top page titles only (main title in each step) */
.calculator-container > h2:first-of-type,
.calculator-container > .incentives-hero h2 {
  position: relative !important;
  text-align: start !important;
  font-size: clamp(26px, 2.7vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  color: #222933 !important;
  margin-bottom: 18px !important;
  padding-bottom: 12px !important;
}

.calculator-container > h2:first-of-type::after,
.calculator-container > .incentives-hero h2::after {
  content: "" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  bottom: 0 !important;
  width: 110px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: var(--accent-color) !important;
}

.incentives-hero {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  text-align: start !important;
  border-radius: 0 !important;
}

.incentives-hero p {
  color: #6b7380 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-top: 8px !important;
}

.btn,
#continue-to-company-btn,
#skip-to-company-btn,
#go-to-incentives-btn {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

.btn:hover,
#continue-to-company-btn:hover,
#skip-to-company-btn:hover,
#go-to-incentives-btn:hover {
  background: #a6404c !important;
}

.home-btn,
.view-location-btn,
.activities-toggle-btn,
.print-btn,
.add-btn {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.home-btn:hover,
.view-location-btn:hover,
.activities-toggle-btn:hover,
.print-btn:hover,
.add-btn:hover {
  background: #184a69 !important;
}

.back-btn,
.remove-btn {
  background: #eef0f3 !important;
  border: 1px solid #cfd5dd !important;
  color: #727b89 !important;
}

.back-btn:hover,
.remove-btn:hover {
  background: #e2e6eb !important;
}

.footer-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  gap: 12px 16px !important;
  align-items: center !important;
  margin-top: 30px !important;
}

.footer-actions .home-btn {
  justify-self: start !important;
  margin: 0 !important;
}

.footer-actions .back-btn {
  justify-self: end !important;
  margin: 0 !important;
}

.footer-actions .footer-next,
.footer-actions .print-btn {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  min-width: 300px !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .footer-actions {
    grid-template-columns: 1fr !important;
  }

  .footer-actions .home-btn,
  .footer-actions .back-btn,
  .footer-actions .footer-next,
  .footer-actions .print-btn {
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

.warning-box,
.exclusion-notice,
.special-projects-section,
.incentives-limit-section,
.elegant-incentives-container,
.special-benefits-container,
.fixed-activities-section,
.least-developed-category,
.requirements-box,
.notice-content,
.strategic-investment-form,
.selected-count {
  background: #f3f3f5 !important;
  border-color: #d9dde3 !important;
  box-shadow: none !important;
}

.incentive-feature-card,
.map-node,
.feature-card,
.special-benefit-item,
.special-project-option,
.tree-node,
.benefit-card,
.incentives-table,
.cell-box,
.cost-card,
.card,
.company-type-card,
.strategic-benefit-card,
.question-section,

.flow-section {
  background: #ffffff !important;
  border-color: #d9dde3 !important;
  box-shadow: 0 2px 10px rgba(86, 104, 128, 0.16) !important;
  border-radius: 12px !important;
}

.special-benefits-container,
.fixed-activities-section,
.least-developed-category {
  background: #f3f3f5 !important;
}

.feature-card,
.special-benefit-item,
.incentive-feature-card,
.map-node,
.benefit-card {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.feature-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.feature-icon {
  margin: 0 !important;
  margin-inline-end: 14px !important;
  flex-shrink: 0 !important;
}

.feature-content {
  flex: 1 !important;
}

.result-section {
  padding: 16px !important;
  margin: 18px 0!important;
}

.calculator-container .form-group {
  margin-bottom: 16px !important;
}

.calculator-container .form-group label {
  margin-bottom: 8px !important;
  color: #334055 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.calculator-container .form-group select,
.calculator-container .form-group input,
.calculator-container .form-group textarea {
  height: 48px !important;
  border: 1px solid #cfd5df !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #253044 !important;
  box-shadow: none !important;
}

.calculator-container .form-group textarea {
  min-height: 110px !important;
  height: auto !important;
}

.calculator-container .form-group select:focus,
.calculator-container .form-group input:focus,
.calculator-container .form-group textarea:focus {
  border-color: #9bb8d6 !important;
  box-shadow: 0 0 0 3px rgba(47, 134, 191, 0.12) !important;
  outline: none !important;
}

/* Activities with fixed benefits: tighten spacing */
.fixed-activities-section {
  padding: 14px !important;
  margin-top: 12px !important;
}

.fixed-activities-section .benefits-subtitle,
.fixed-activities-section p {
  margin-bottom: 10px !important;
}

.fixed-activities-section .benefits-map {
  margin-top: 10px !important;
  gap: 10px !important;
}

.fixed-activities-section .map-node {
  padding: 12px !important;
}

.view-location-btn,
.home-btn,
.back-btn,
.btn {
  box-shadow: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.btn,
.home-btn,
.back-btn,
.view-location-btn,
.activities-toggle-btn,
.print-btn,
.add-btn {
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

/* Improve CTA button typography without changing layout/colors */
#go-to-incentives-btn,
.home-btn,
.view-location-btn {
  font-weight: 700 !important;
  font-size: 15.5px !important;
  letter-spacing: 0.1px !important;
  line-height: 1.25 !important;
}

html[lang="ar"] #go-to-incentives-btn,
html[lang="ar"] .home-btn,
html[lang="ar"] .view-location-btn {
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif !important;
}

html[lang="en"] #go-to-incentives-btn,
html[lang="en"] .home-btn,
html[lang="en"] .view-location-btn {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 600 !important;
}

.incentives-table th {
  background: #eceff3 !important;
  color: #3f4957 !important;
}

.incentives-table tr:nth-child(even) {
  background: #fafbfc !important;
}

.incentives-table tr:hover {
  background: #f3f6fb !important;
}

.incentive-badge,
.duration-badge,
.bonus-badge,
.fixed-activity-badge,
.special-badge,
.benefit-duration,
.limit-badge {
  background: #edf3ff !important;
  color: #4f6fca !important;
  border: 1px solid #c9d8ff !important;
  box-shadow: none !important;
}

.special-project-option.selected,
.map-node.is-highlight,
.included-activity {
  border-color: var(--success-color) !important;
}

.excluded-activity {
  border-color: var(--error-color) !important;
}

/* Developmental Areas: included/excluded activities spacing + icon alignment */

.activities-toggle-btn {
  margin-bottom: 8px !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
}

.activities-content {
  margin-top: 10px !important;
  padding: 12px !important;
  border-radius: 10px !important;
}

.activities-grid {
  gap: 12px !important;
}

.included-activities,
.excluded-activities {
  padding: 12px !important;
  border-radius: 10px !important;
}

.activities-section-title {
  margin-bottom: 10px !important;
  gap: 8px !important;
  line-height: 1.35 !important;
}

.included-activity,
.excluded-activity {
  padding: 10px 12px !important;
  margin: 6px 0 !important;
  border-radius: 8px !important;
}

.activity-status {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.status-icon {
  margin: 0 !important;
  margin-inline-end: 2px !important;
  font-size: 14px !important;
  width: 16px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.activity-status span {
  line-height: 1.4 !important;
}

.flow-section-title,
.section-title {
  color: #2e3745 !important;
}

/* Step 2 incentives result blocks: keep same structure, softer visual tone */
.incentive-selection-hint {
  background: #eef4ef !important;
  border: 1px solid #d5e3d8 !important;
  box-shadow: none !important;
}

.incentive-summary-box {
  background: #edf3f8 !important;
  border: 1px solid #d6e0ea !important;
  box-shadow: none !important;
}

.incentive-summary-box h4 {
  color: #2f5f7f !important;
}

/* Step 2 layout balance */
#additional-incentives-page .flow-section {
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid #e7ebf0 !important;
}

#additional-incentives-page .flow-section-title {
  margin-bottom: 12px !important;
  font-size: 1.1rem !important;
}

#additional-incentives-page .warning-box {
  padding: 18px !important;
  margin: 14px 0 !important;
  border-width: 1px !important;
}

#additional-incentives-page .warning-box p {
  margin-bottom: 8px !important;
  line-height: 1.45 !important;
  font-size: 1.02rem !important;
}

#additional-incentives-page .incentive-grid {
  gap: 18px !important;
  margin: 20px 0 !important;
}

#additional-incentives-page .incentive-feature-card {
  padding: 22px 20px !important;
  min-height: 0 !important;
}

#additional-incentives-page .feature-title {
  font-size: 1.1rem !important;
  margin-bottom: 10px !important;
}

#additional-incentives-page .feature-description {
  margin-bottom: 14px !important;
  line-height: 1.5 !important;
}

#additional-incentives-page .criteria-checkbox {
  margin-top: 12px !important;
}

#additional-incentives-page .currency-converter {
  gap: 12px !important;
}

.notice-modal .notice-content {
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(41, 48, 61, 0.22) !important;
}

@media (max-width: 768px) {
  .calculator-container {
    padding: 22px !important;
    border-radius: 14px !important;
  }

  .calculator-container > h2:first-of-type,
  .calculator-container > .incentives-hero h2 {
    font-size: clamp(23px, 5.4vw, 30px) !important;
  }
}



/* ===== Extracted from resources/views/index.blade.php ===== */
:root {
            --primary-color: #1a5276;
            --secondary-color: #3498db;
            --accent-color: #c24b5a;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --error-color: #e74c3c;
            --warning-color: #f1c40f;
            --info-color: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* رأس الصفحة */
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo img {
            height: 120px;
            width: auto;
        }
        
        .titles {
            text-align: center;
        }
        
        .titles h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 800;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
        
        .titles h2 {
            font-size: 1.8rem;
            font-weight: 600;
            opacity: 0.95;
            letter-spacing: 1px;
        }

        /* الخط الزمني */
        .timeline-container {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: none;
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .timeline-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .timeline-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 25px;
            right: -30px;
            width: 30px;
            height: 2px;
            background-color: #ddd;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-weight: bold;
            color: #777;
            transition: all 0.3s ease;
        }
        
        .timeline-step.active .step-circle {
            background-color: var(--accent-color);
            color: white;
        }
        
        .timeline-step.completed .step-circle {
            background-color: var(--success-color);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: #777;
            text-align: center;
        }
        
        .timeline-step.active .step-label {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .timeline-step.completed .step-label {
            color: var(--success-color);
        }
        
        /* قسم المقدمة */
        .hero {
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(26, 82, 118, 0.8), rgba(52, 152, 219, 0.8)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
            background-size: cover;
            position: relative;
            color: white;
            text-align: center;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h3 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            line-height: 1.8;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #a6404c;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        /* صفحة الإرشاد */
        .guidance-page {
            display: none;
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(26, 82, 118, 0.85), rgba(52, 152, 219, 0.85)), url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?ixlib=rb-1.2.1&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
            background-size: cover;
            color: white;
            text-align: center;
            position: relative;
        }
        
        .guidance-page::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }
        
        .guidance-content {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            padding: 50px;
            border-radius: 20px;
            color: #333;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 1;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .guidance-content h2 {
            color: var(--primary-color);
            margin-bottom: 25px;
            font-size: 2.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .guidance-content p {
            font-size: 1.2rem;
            margin-bottom: 20px;
            line-height: 1.8;
            color: #555;
        }
        
        .guidance-features {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .guidance-feature {
            background: linear-gradient(135deg, #ffffff, #f8f9fa);
            padding: 25px;
            border-radius: 15px;
            flex: 1;
            min-width: 220px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .guidance-feature::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }
        
        .guidance-feature:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .guidance-feature i {
            font-size: 3rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
            display: block;
        }
        
        .guidance-feature h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.3rem;
        }
        
        .guidance-feature p {
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
        }
        
        /* قسم الخدمات */
        .services {
            padding: 80px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h3 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background-color: var(--light-color);
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .service-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .service-card h4 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .service-card p {
            color: #666;
        }
        
        /* صفحات الحاسبة */
        .calculator-page {
            display: none;
            padding: 60px 0;
            background-color: white;
        }
        
        .calculator-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .form-group select, .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        
        .form-group select:focus, .form-group input:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
            outline: none;
        }

        .step1-input-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            margin-bottom: 10px;
        }

        .step1-input-grid .form-group {
            margin-bottom: 0;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
        }
        
        .form-row .form-group {
            flex: 1;
        }
        
        .back-btn {
            display: inline-block;
            background-color: #95a5a6;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .back-btn:hover {
            background-color: #7f8c8d;
        }
        
        .home-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            margin-right: 10px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .home-btn:hover {
            background-color: #154360;
        }
        

        
        .requirements-box {
            background-color: #e8f4fc;
            border: 1px solid #b3d9f2;
            border-radius: 5px;
            padding: 15px;
            margin-top: 15px;
        }
        
        .error-message {
            color: var(--error-color);
            font-weight: bold;
            margin-top: 10px;
            padding: 10px;
            background-color: #fde8e6;
            border-radius: 5px;
            border-right: 3px solid var(--error-color);
        }
        
        .success-message {
            color: var(--success-color);
            font-weight: bold;
            margin-top: 10px;
            padding: 10px;
            background-color: #e8f6ef;
            border-radius: 5px;
            border-right: 3px solid var(--success-color);
        }
        
        .currency-toggle {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .currency-toggle label {
            margin-left: 10px;
            margin-bottom: 0;
        }
        
        .cost-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        .cost-table th, .cost-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: right;
        }
        
        .cost-table th {
            background-color: var(--primary-color);
            color: white;
        }
        
        .cost-table tr:nth-child(even) {
            background-color: #f2f2f2;
        }
        
        .total-cost {
            font-weight: bold;
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-top: 20px;
            padding: 15px;
            background-color: #e8f4fc;
            border-radius: 5px;
            text-align: center;
        }
        
        .sub-section {
            margin-top: 20px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border-right: 3px solid var(--secondary-color);
        }
        
        .sub-section h4 {
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        .additional-labor, .additional-building {
            margin-top: 15px;
            padding: 10px;
            background-color: #e8f4fc;
            border-radius: 5px;
        }
        
        .add-btn {
            background-color: var(--success-color);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
        }
        
        .remove-btn {
            background-color: var(--error-color);
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 5px;
        }

        /* إضافة تنسيقات جديدة لعرض المزايا */


        .benefits-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: bold;
            font-size: 1.5rem;
            text-align: center;
        }

        .benefit-item {
            margin-bottom: 8px;
            padding-right: 15px;
            position: relative;
        }

        .benefit-item:before {
            content: "?";
            position: absolute;
            right: 0;
            color: var(--success-color);
            font-weight: bold;
        }

        .tax-info {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 10px;
            margin-top: 10px;
            font-size: 0.9rem;
        }

        .incentive-badge {
            display: inline-block;
            background-color: var(--success-color);
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
            margin-right: 5px;
            margin-bottom: 5px;
        }
        
        /* أزرار الطباعة */
        .print-btn {
            background-color: var(--info-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            margin-left: 10px;
            transition: all 0.3s ease;
        }
        
        .print-btn:hover {
            background-color: #138496;
        }
        
        /* تنسيقات الطباعة */
        @media print {
            body * {
                visibility: hidden;
            }
            .calculator-container, .calculator-container * {
                visibility: visible;
            }
            .calculator-container {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                box-shadow: none;
                padding: 20px;
            }
            .btn, .back-btn, .home-btn, .print-btn, .timeline-container {
                display: none !important;
            }
        }
        
        .funding-options {
            margin-top: 20px;
            padding: 15px;
            background-color: #f0f8ff;
            border-radius: 5px;
            border-right: 3px solid var(--info-color);
        }
        
        .funding-option {
            margin-bottom: 15px;
            padding: 10px;
            background-color: white;
            border-radius: 5px;
            border: 1px solid #ddd;
        }
        
        .funding-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .funding-title {
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .funding-type {
            background-color: var(--info-color);
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
        }
        
        .funding-details {
            font-size: 0.9rem;
            color: #666;
        }
        
        .funding-amount {
            font-weight: bold;
            color: var(--success-color);
            margin-top: 5px;
        }
        
        .strategic-activity-section {
            margin-top: 20px;
            padding: 15px;
            background-color: #fff3cd;
            border-radius: 5px;
            border: 1px solid var(--warning-color);
        }
        
        .strategic-criteria {
            margin-top: 10px;
        }
        
        .criteria-item {
            margin-bottom: 8px;
            padding-right: 15px;
            position: relative;
        }
        
        .criteria-item:before {
            content: "•";
            position: absolute;
            right: 0;
            color: var(--warning-color);
            font-weight: bold;
        }
        
        .benefit-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-right: 5px solid var(--accent-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .benefit-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }
        
        .benefit-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .benefit-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-left: 20px;
            background: #e8f4fc;
            padding: 15px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .benefit-card:hover .benefit-icon {
            transform: scale(1.1);
            background: var(--primary-color);
            color: white;
        }
        
        .benefit-content {
            padding-right: 80px;
        }
        
        .benefit-title {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .benefit-description {
            color: #555;
            line-height: 1.7;
            font-size: 1.05rem;
        }
        
        .benefit-duration {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            margin-top: 15px;
            box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
        }

        .benefits-subtitle {
            text-align: center;
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.15rem;
            margin-bottom: 14px;
        }

        .benefit-notes {
            margin-bottom: 24px;
        }

        .benefit-note-line {
            text-align: center;
            margin-bottom: 14px;
        }

        .benefit-note-line:last-child {
            margin-bottom: 0;
        }

        .benefit-note-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 0;
        }

        .benefit-note-badge.is-info {
            background: linear-gradient(135deg, #1a5276, #3498db);
            box-shadow: 0 3px 10px rgba(26, 82, 118, 0.3);
        }

        .benefit-note-badge.is-neutral {
            background: linear-gradient(135deg, #6c7a89, #95a5a6);
            box-shadow: 0 3px 10px rgba(108, 122, 137, 0.28);
        }
        
        .activity-options {
            margin-top: 15px;
        }
        
        .activity-option {
            background: #f8f9fa;
            padding: 15px;
            margin: 10px 0;
            border-radius: 8px;
            border-right: 4px solid var(--secondary-color);
            transition: all 0.3s ease;
        }
        
        .activity-option:hover {
            background: #e8f4fc;
            transform: translateX(-5px);
        }
        
        .activity-option input[type="checkbox"] {
            margin-left: 10px;
            transform: scale(1.2);
        }
        
        .activity-option label {
            font-weight: 600;
            color: var(--dark-color);
            cursor: pointer;
        }
        
        .benefits-map {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .map-node {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.4s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .map-node::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(26, 82, 118, 0.1));
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .map-node:hover {
            border-color: var(--accent-color);
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .map-node:hover::before {
            opacity: 1;
        }
        
        .node-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
        }
        
        .map-node:hover .node-icon {
            transform: scale(1.2) rotate(5deg);
            color: var(--accent-color);
        }
        
        .node-title {
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
            font-size: 1.2rem;
            position: relative;
            z-index: 2;
        }
        
        .node-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--success-color);
            margin: 15px 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
            transition: all 0.4s ease;
        }
        
        .map-node:hover .node-value {
            transform: scale(1.1);
            color: var(--primary-color);
        }
        
        .node-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            position: relative;
            z-index: 2;
        }
        
        /* @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        @keyframes glow {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            }
            50% {
                box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
            }
        } */
        
        .animate-fade-in {
            /* animation: fadeInUp 0.8s ease-out; */
        }
        
        .animate-pulse {
            /* animation: pulse 2s infinite; */
        }
        
        .animate-float {
            /* animation: float 3s ease-in-out infinite; */
        }
        
        .animate-glow {
            /* animation: glow 2s ease-in-out infinite; */
        }
        
        .benefits-tree {
            position: relative;
            padding: 30px 0;
        }
        
        .tree-node {
            background: white;
            padding: 20px;
            margin: 15px 0;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            position: relative;
            border-right: 4px solid var(--primary-color);
        }
        
        .tree-node::before {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            width: 20px;
            height: 2px;
            background: var(--primary-color);
        }
        
        .tree-node:last-child::before {
            display: none;
        }

        /* التنسيقات الجديدة للمناطق التنموية */
  

        .area-features-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: bold;
            font-size: 1.5rem;
            text-align: center;
        }

        .feature-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin: 15px 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            border-right: 4px solid var(--secondary-color);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .feature-icon {
            font-size: 2rem;
            color: var(--primary-color);
            margin-left: 20px;
            background: #e8f4fc;
            padding: 12px;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1);
            background: var(--primary-color);
            color: white;
        }

        .feature-content {
            flex: 1;
        }

        .feature-title {
            color: var(--dark-color);
            font-size: 1.1rem;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .feature-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .view-location-btn {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 15px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
        }

        .view-location-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
        }

        .view-location-btn i {
            margin-left: 8px;
        }

        .special-benefits-container {
            margin-top: 25px;
            padding: 25px;
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border-radius: 15px;
            border-right: 5px solid var(--warning-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .special-benefits-title {
            color: #a6404c;
            margin-bottom: 20px;
            font-weight: bold;
            font-size: 1.5rem;
            text-align: center;
        }

        .special-benefit-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin: 15px 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border-right: 4px solid var(--warning-color);
            transition: all 0.3s ease;
        }

        .special-benefit-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .special-benefit-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .special-benefit-icon {
            font-size: 1.8rem;
            color: #a6404c;
            margin-left: 15px;
            background: #fff3cd;
            padding: 10px;
            border-radius: 8px;
        }

        .special-benefit-title {
            color: #a6404c;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .special-benefit-description {
            color: #666;
            line-height: 1.6;
        }

        .special-benefit-points {
            list-style: none;
            padding-right: 0;
            margin-top: 14px;
            color: #4b5b6b;
            line-height: 1.9;
        }

        .special-benefit-points li {
            position: relative;
            padding-right: 20px;
        }

        .special-benefit-points li::before {
            content: "?";
            position: absolute;
            right: 0;
            color: #1a5276;
            font-weight: 800;
        }

        .special-badge {
            display: inline-block;
            background: linear-gradient(135deg, #a6404c, #c24b5a);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-right: 10px;
            margin-bottom: 10px;
            box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
        }

        .least-developed-category {
            margin-top: 20px;
            padding: 20px;
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 10px;
            border-right: 4px solid var(--success-color);
        }

        .category-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
        }

        .included-activity {
            background-color: #e8f5e9;
            border: 2px solid var(--success-color);
            border-radius: 8px;
            padding: 12px;
            margin: 8px 0;
            transition: all 0.3s ease;
        }

        .included-activity:hover {
            background-color: #d4edda;
            transform: translateX(-5px);
        }

        .excluded-activity {
            background-color: #fde8e6;
            border: 2px solid var(--error-color);
            border-radius: 8px;
            padding: 12px;
            margin: 8px 0;
            transition: all 0.3s ease;
        }

        .excluded-activity:hover {
            background-color: #f8d7da;
            transform: translateX(-5px);
        }

        .activity-status {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }

        .status-icon {
            margin-left: 10px;
            font-size: 1.2rem;
        }

        .status-included {
            color: var(--success-color);
        }

        .status-excluded {
            color: var(--error-color);
        }

        .fixed-activities-section {
            margin-top: 30px;
            padding: 25px;
            background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
            border-radius: 15px;
            border-right: 5px solid var(--info-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .fixed-activities-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: bold;
            font-size: 1.5rem;
            text-align: center;
        }

        .fixed-activity-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--info-color), #17a2b8);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            box-shadow: 0 4px 10px rgba(23, 162, 184, 0.3);
        }

        .activities-toggle-section {
   
        }

        .activities-toggle-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            margin-bottom: 15px;
        }

        .activities-toggle-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
        }

        .activities-content {
            display: none;
            margin-top: 15px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .activities-content.show {
            display: block;
            animation: fadeInUp 0.5s ease-out;
        }

        .activities-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 15px;
        }

        @media (max-width: 768px) {
            .activities-grid {
                grid-template-columns: 1fr;
            }
        }

        .included-activities, .excluded-activities {
            padding: 15px;
            border-radius: 8px;
        }

        .included-activities {
            background: linear-gradient(135deg, #e8f5e9, #d4edda);
            border: 2px solid var(--success-color);
        }

        .excluded-activities {
            background: linear-gradient(135deg, #fde8e6, #f8d7da);
            border: 2px solid var(--error-color);
        }

        .activities-section-title {
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .included-activities .activities-section-title {
            color: var(--success-color);
        }

        .excluded-activities .activities-section-title {
            color: var(--error-color);
        }

        .notice-modal {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .notice-content {
            background: linear-gradient(135deg, #ffffff, #f8f9fa);
            max-width: 700px;
            width: 90%;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            animation: fadeInUp 0.5s ease-out;
        }

        .notice-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 25px 30px;
            text-align: center;
            position: relative;
        }

        .notice-header h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .notice-body {
            padding: 35px 40px;
            max-height: 60vh;
            overflow-y: auto;
        }

        .notice-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            text-align: justify;
            margin-bottom: 25px;
        }

        .notice-footer {
            padding: 20px 40px;
            text-align: center;
            border-top: 1px solid #eee;
        }

        .agree-btn {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            border: none;
            padding: 14px 35px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
        }

        .agree-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
            }
            
            .logo {
                margin-left: 0;
                margin-bottom: 15px;
            }
            
            .titles h1 {
                font-size: 2.2rem;
            }
            
            .titles h2 {
                font-size: 1.8rem;
            }
            
            .hero h3 {
                font-size: 2rem;
            }
            
            .calculator-container {
                padding: 20px;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }

            .step1-input-grid {
                grid-template-columns: 1fr;
            }
            
            .timeline-step:not(:last-child):after {
                display: none;
            }
            
            .funding-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .funding-type {
                margin-top: 5px;
            }
            
            .guidance-content {
                padding: 30px 20px;
            }
            
            .guidance-features {
                flex-direction: column;
            }
            
            .benefit-header {
                flex-direction: column;
                text-align: center;
            }
            
            .benefit-icon {
                margin-left: 0;
                margin-bottom: 15px;
            }
            
            .benefit-content {
                padding-right: 0;
            }
            
            .benefits-map {
                grid-template-columns: 1fr;
            }
            
            .feature-card {
                flex-direction: column;
                text-align: center;
            }
            
            .feature-icon {
                margin-left: 0;
                margin-bottom: 15px;
            }

            .special-benefit-header {
                flex-direction: column;
                text-align: center;
            }
            
            .special-benefit-icon {
                margin-left: 0;
                margin-bottom: 10px;
            }

            .notice-header h3 {
                font-size: 1.5rem;
            }
            
            .notice-body {
                padding: 25px 20px;
            }
            
            .notice-text {
                font-size: 1rem;
            }
        }

/* ===== Extracted from resources/views/additional-incentives.blade.php ===== */
:root {
            --primary-color: #1a5276;
            --secondary-color: #3498db;
            --accent-color: #c24b5a;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --error-color: #e74c3c;
            --warning-color: #f1c40f;
            --info-color: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* رأس الصفحة */
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo img {
            height: 120px;
            width: auto;
        }
        
        .titles {
            text-align: center;
        }
        
        .titles h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 800;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
        
        .titles h2 {
            font-size: 1.8rem;
            font-weight: 600;
            opacity: 0.95;
            letter-spacing: 1px;
        }
        
        /* الخط الزمني */
        .timeline-container {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: block;
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .timeline-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .timeline-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 25px;
            right: -30px;
            width: 30px;
            height: 2px;
            background-color: #ddd;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-weight: bold;
            color: #777;
            transition: all 0.3s ease;
        }
        
        .timeline-step.active .step-circle {
            background-color: var(--accent-color);
            color: white;
        }
        
        .timeline-step.completed .step-circle {
            background-color: var(--success-color);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: #777;
            text-align: center;
        }
        
        .timeline-step.active .step-label {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .timeline-step.completed .step-label {
            color: var(--success-color);
        }
        
        /* صفحات الحاسبة */
        .calculator-page {
            display: block;
            padding: 60px 0;
            background-color: white;
        }
        
        .calculator-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .back-btn {
            display: inline-block;
            background-color: #95a5a6;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .back-btn:hover {
            background-color: #7f8c8d;
        }
        
        .home-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            margin-right: 10px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .home-btn:hover {
            background-color: #154360;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #a6404c;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        .incentives-hero {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px;
        }
        
        .incentives-hero h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .incentives-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .warning-box {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border: 2px solid var(--warning-color);
            border-radius: 15px;
            padding: 25px;
            margin: 30px 0;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .warning-icon {
            font-size: 3rem;
            color: #a6404c;
            margin-bottom: 15px;
        }
        
        .exclusion-notice {
            background: linear-gradient(135deg, #f8d7da, #f5c6cb);
            border: 2px solid var(--error-color);
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .exclusion-icon {
            font-size: 4rem;
            color: var(--error-color);
            margin-bottom: 20px;
        }
        
        .incentive-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin: 40px 0;
            align-items: stretch;
        }

        .flow-section {
            margin-top: 22px;
            padding: 18px 20px 20px;
            border: 1px solid #dfe6ee;
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 2px 8px rgba(22, 34, 51, 0.05);
        }

        .flow-section:first-of-type {
            margin-top: 0;
        }

        .flow-section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
            padding-inline-start: 6px;
            color: var(--primary-color);
            font-size: 1.25rem;
            font-weight: 700;
        }

        .flow-section-title i {
            color: var(--accent-color);
            flex: 0 0 auto;
        }

        .flow-section-note {
            color: #607284;
            font-size: 0.98rem;
            margin-bottom: 18px;
        }

        .criteria-flow-grid {
            margin-top: 0;
        }

        .flow-section .warning-box,
        .flow-section .incentive-grid,
        .flow-section .selected-count,
        .flow-section .special-projects-section,
        .flow-section .incentives-limit-section,
        .flow-section .strategic-activity-section,
        .flow-section .elegant-incentives-container {
            margin-top: 14px;
            margin-bottom: 0;
        }
        
        .incentive-feature-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
            text-align: center;
            display: flex;
            flex-direction: column;
            min-height: 290px;
        }

        .incentive-feature-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.12);
            border-color: var(--accent-color);
        }
        
        .incentive-feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }
        
        .feature-emoji {
            font-size: 3rem;
            margin-bottom: 20px;
            display: block;
        }
        
        .feature-title {
            font-size: 1.4rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .feature-description {
            color: #666;
            line-height: 1.6;
            font-size: 1rem;
            margin-bottom: 20px;
        }
        
        .criteria-checkbox {
            margin-top: auto;
            padding-top: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .criteria-checkbox input {
            margin-left: 10px;
            margin-right: 10px;
            transform: scale(1.3);
        }
        
        .criteria-checkbox label {
            font-weight: 600;
            color: var(--dark-color);
            cursor: pointer;
        }
        
        .selected-count {
            text-align: center;
            margin: 30px 0;
            padding: 20px;
            background: linear-gradient(180deg, #eef6ff 0%, #e3f0ff 100%);
            color: #1f3b57;
            border: 1px solid #bfd7f2;
            border-radius: 15px;
            font-size: 1.2rem;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(26, 82, 118, 0.12);
        }
        
        .special-projects-section {
            margin-top: 30px;
            padding: 25px;
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 15px;
            border-right: 5px solid var(--success-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .special-projects-question {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .special-projects-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .special-project-option {
            background: white;
            border: 2px solid #ddd;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .special-project-option:hover {
            border-color: var(--success-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .special-project-option.selected {
            border-color: var(--success-color);
            background: #e8f5e9;
        }
        
        .special-project-icon {
            font-size: 2.5rem;
            color: var(--success-color);
            margin-bottom: 10px;
        }
        
        .bonus-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 10px;
            box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
        }
        
        .incentives-limit-section {
            margin-top: 30px;
            padding: 25px;
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border-radius: 15px;
            border-right: 5px solid var(--warning-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .limit-badge {
            display: inline-block;
            background: linear-gradient(135deg, #a6404c, #c24b5a);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
        }
        
        .limit-progress {
            background: #f8f9fa;
            border-radius: 10px;
            height: 20px;
            margin: 15px 0;
            overflow: hidden;
            position: relative;
        }
        
        .limit-progress-bar {
            height: 100%;
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            border-radius: 10px;
            transition: width 0.5s ease;
            position: relative;
        }
        
        .limit-progress-text {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            color: #333;
            font-weight: bold;
            font-size: 0.9rem;
            text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
        }
        
        .strategic-activity-section {
            margin-top: 30px;
            padding: 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
            border: 3px solid gold;
        }
        
        .strategic-activity-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(45deg);
        }
        
        .strategic-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 2;
        }
        
        .strategic-badge {
            display: inline-block;
            background: linear-gradient(135deg, gold, #ffd700);
            color: #333;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.2rem;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(255,215,0,0.3);
            animation: pulse 2s infinite;
        }
        
        .strategic-investment-form {
            background: rgba(255,255,255,0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .form-group select, .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        
        .currency-converter {
            display: flex;
            gap: 15px;
            margin: 15px 0;
        }
        
        .currency-converter .form-group {
            flex: 1;
            margin-bottom: 0;
        }
        
        .conversion-rate {
            text-align: center;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 5px;
            margin: 10px 0;
            font-size: 0.9rem;
            color: #666;
        }
        
        .strategic-benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 25px;
            position: relative;
            z-index: 2;
        }
        
        .strategic-benefit-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 15px;
            padding: 25px;
            transition: all 0.3s ease;
        }
        
        .strategic-benefit-card:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.15);
        }
        
        .strategic-benefit-number {
            display: inline-block;
            background: gold;
            color: #333;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            font-weight: bold;
            margin-left: 10px;
        }
        
        .elegant-incentives-container {
            margin-top: 30px;
            padding: 30px;
            background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
            border-radius: 20px;
            border: 2px solid var(--primary-color);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        
        .elegant-incentives-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .elegant-incentives-title {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .incentives-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .incentives-table th {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 15px;
            text-align: right;
            font-weight: 600;
            border: 1px solid #ddd;
        }
        
        .incentives-table td {
            padding: 15px;
            border: 1px solid #eee;
            text-align: right;
            vertical-align: top;
        }
        
        .incentives-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        .incentives-table tr:hover {
            background-color: #e8f4fc;
        }
        
        .cell-box {
            background: white;
            padding: 12px;
            border-radius: 8px;
            border-right: 3px solid var(--primary-color);
            margin-bottom: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .incentive-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .duration-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--info-color), #17a2b8);
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-right: 5px;
        }
        
        .conditions-box {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 10px;
            margin-top: 8px;
            font-size: 0.85rem;
            color: #856404;
        }
        
        .section-header {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9) !important;
            font-weight: bold;
            font-size: 1.1rem;
            color: var(--primary-color);
        }
        
        .community-conditions-note {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border: 2px solid var(--warning-color);
            border-radius: 5px;
            padding: 15px;
            margin: 10px 0;
            font-size: 0.85rem;
            color: #856404;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
        
        .animate-fade-in {
            animation: fadeInUp 0.8s ease-out;
        }
        
        .animate-pulse {
            animation: pulse 2s infinite;
        }
        
        @media (max-width: 768px) {
            .timeline-step:not(:last-child):after {
                display: none;
            }
            
            .calculator-container {
                padding: 20px;
            }
            
            .incentives-hero h2 {
                font-size: 2rem;
            }
            
            .incentive-grid {
                grid-template-columns: 1fr;
            }
            
            .currency-converter {
                flex-direction: column;
            }
            
            .strategic-benefits-grid {
                grid-template-columns: 1fr;
            }
            
            .special-projects-options {
                grid-template-columns: 1fr;
            }
            
            .incentives-table {
                font-size: 0.8rem;
            }
            
            .incentives-table th,
            .incentives-table td {
                padding: 8px;
            }
        }

/* ===== Extracted from resources/views/company-establishment.blade.php ===== */
:root {
            --primary-color: #1a5276;
            --secondary-color: #3498db;
            --accent-color: #c24b5a;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --error-color: #e74c3c;
            --warning-color: #f1c40f;
            --info-color: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* ط±ط£ط³ ط§ظ„طµظپط­ط© */
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo img {
            height: 120px;
            width: auto;
        }
        
        .titles {
            text-align: center;
        }
        
        .titles h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 800;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
        
        .titles h2 {
            font-size: 1.8rem;
            font-weight: 600;
            opacity: 0.95;
            letter-spacing: 1px;
        }
        
        .timeline-container {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: block;
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .timeline-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .timeline-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 25px;
            right: -30px;
            width: 30px;
            height: 2px;
            background-color: #ddd;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-weight: bold;
            color: #777;
            transition: all 0.3s ease;
        }
        
        .timeline-step.active .step-circle {
            background-color: var(--accent-color);
            color: white;
        }
        
        .timeline-step.completed .step-circle {
            background-color: var(--success-color);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: #777;
            text-align: center;
        }
        
        .timeline-step.active .step-label {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .timeline-step.completed .step-label {
            color: var(--success-color);
        }
        
        .calculator-page {
            display: block;
            padding: 60px 0;
            background-color: white;
        }
        
        .calculator-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .form-group select, .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        
        .form-group select:focus, .form-group input:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
            outline: none;
        }
        
        .back-btn {
            display: inline-block;
            background-color: #95a5a6;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .back-btn:hover {
            background-color: #7f8c8d;
        }
        
        .home-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            margin-right: 10px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .home-btn:hover {
            background-color: #154360;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #a6404c;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        /* .result-section {
            margin-top: 30px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border-right: 4px solid var(--accent-color);
        } */
        
        .requirements-box {
            background-color: #e8f4fc;
            border: 1px solid #b3d9f2;
            border-radius: 5px;
            padding: 15px;
            margin-top: 15px;
        }
        
        .sub-section {
            margin-top: 20px;
            padding: 15px;
            background-color: #fff;
            border-radius: 5px;
            /* border-right: 3px solid var(--secondary-color); */
        }
        
        .company-type-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-right: 5px solid var(--secondary-color);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .company-type-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .company-type-card.selected {
            border-right-color: var(--accent-color);
            background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
        }
        
        .company-type-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .company-type-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-left: 20px;
            background: #e8f4fc;
            padding: 15px;
            border-radius: 12px;
        }
        
        .company-type-title {
            color: var(--primary-color);
            font-size: 1.3rem;
            font-weight: 700;
        }
        
        .company-type-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .company-features {
            margin-top: 15px;
        }
        
        .company-feature {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #555;
        }
        
        .company-feature i {
            color: var(--success-color);
            margin-left: 10px;
        }
        
        /* .capital-input-section {
            background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
            border-right: 5px solid var(--info-color);
        } */
        
        .capital-input-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: bold;
            font-size: 1.5rem;
            text-align: center;
        }
        
        .currency-selection {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .currency-option {
            flex: 1;
            min-width: 150px;
        }
        
        .currency-btn {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-weight: 600;
        }
        
        .currency-btn:hover {
            border-color: var(--secondary-color);
        }
        
        .currency-btn.selected {
            border-color: var(--accent-color);
            background: var(--accent-color);
            color: white;
        }
        
        .exchange-rate {
            text-align: center;
            margin: 10px 0;
            color: #666;
            font-size: 0.9rem;
        }
        
        .cost-breakdown {
            margin-top: 30px;
        }
        
        .cost-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }
        
        .cost-item:last-child {
            border-bottom: none;
        }
        
        .cost-label {
            color: #555;
        }
        
        .cost-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .cost-total {
            font-weight: bold;
            font-size: 1.2rem;
            color: var(--success-color);
            margin-top: 15px;
            padding-top: 15px;
            border-top: 2px solid var(--success-color);
        }
        
        .minimum-capital-warning {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 10px;
            margin-top: 10px;
            color: #856404;
        }
        
        .registration-fees-breakdown {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .fee-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e9ecef;
        }
        
        .fee-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .conversion-info {
            background-color: #e8f4fc;
            border: 1px solid #b3d9f2;
            border-radius: 5px;
            padding: 10px;
            margin-top: 10px;
            font-size: 0.9rem;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade-in {
            animation: fadeInUp 0.8s ease-out;
        }
        
        @media (max-width: 768px) {
            .timeline-step:not(:last-child):after {
                display: none;
            }
            
            .calculator-container {
                padding: 20px;
            }
            
            .currency-selection {
                flex-direction: column;
            }
            
            .company-type-header {
                flex-direction: column;
                text-align: center;
            }
            
            .company-type-icon {
                margin-left: 0;
                margin-bottom: 15px;
            }
        }

/* ===== Extracted from resources/views/costs-page.blade.php ===== */
:root {
            --primary-color: #1a5276;
            --secondary-color: #3498db;
            --accent-color: #c24b5a;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --error-color: #e74c3c;
            --warning-color: #f1c40f;
            --info-color: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo img {
            height: 120px;
            width: auto;
        }
        
        .titles {
            text-align: center;
        }
        
        .titles h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 800;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
        
        .titles h2 {
            font-size: 1.8rem;
            font-weight: 600;
            opacity: 0.95;
            letter-spacing: 1px;
        }
        
        .timeline-container {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .timeline-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 10px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 122px;
        }
        
        .timeline-step + .timeline-step::before {
            content: '';
            position: absolute;
            top: 25px;
            inset-inline-end: 100%;
            width: 26px;
            height: 2px;
            background-color: #ddd;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-weight: bold;
            color: #777;
            transition: all 0.3s ease;
        }
        
        .timeline-step.active .step-circle {
            background-color: var(--accent-color);
            color: white;
        }
        
        .timeline-step.completed .step-circle {
            background-color: var(--success-color);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: #777;
            text-align: center;
            line-height: 1.25;
        }
        
        .timeline-step.active .step-label {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .timeline-step.completed .step-label {
            color: var(--success-color);
        }
        
        .calculator-page {
            padding: 60px 0;
            background-color: white;
        }
        
        .calculator-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .form-group select, .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        
        .form-group select:focus, .form-group input:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
            outline: none;
        }

        .form-control {
            display: block;
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #d6dde5;
            border-radius: 10px;
            font-size: 1rem;
            background-color: #ffffff;
            color: #2c3e50;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
            outline: none;
            background-color: #ffffff;
        }

        .input-group .form-control {
            max-width: 420px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #a6404c;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        .back-btn {
            display: inline-block;
            background-color: #95a5a6;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .back-btn:hover {
            background-color: #7f8c8d;
        }
        
        .home-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            margin-right: 10px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .home-btn:hover {
            background-color: #154360;
        }
        
        /* .result-section {
            margin-top: 30px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border-right: 4px solid var(--accent-color);
        } */
        
        .question-section {
            background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 20px;
            border-right: 4px solid var(--secondary-color);
        }
        
        .question-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-weight: 700;
        }
        
        .options-container {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .option-btn {
            flex: 1;
            min-width: 120px;
            padding: 15px 20px;
            background: white;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-weight: 600;
        }
        
        .option-btn:hover {
            border-color: var(--secondary-color);
            transform: translateY(-2px);
        }
        
        .option-btn.selected {
            border-color: var(--accent-color);
            background-color: var(--accent-color);
            color: white;
        }
        
        .input-group {
            margin-top: 15px;
        }
        
        .building-inputs {
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }
        
        .building-item {
            margin-bottom: 15px;
            padding: 15px;
            background: white;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .building-header {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .building-header i {
            color: var(--accent-color);
        }

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

        @media(max-width:600px){
            .building-row-2col {
                grid-template-columns: 1fr;
            }
        }
        
        .cost-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-right: 4px solid var(--accent-color);
        }

        .cost-card h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .cost-details {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 10px;
            align-items: center;
        }

        .cost-description {
            color: #666;
            font-size: 0.9rem;
        }

        .cost-value {
            font-weight: 600;
            color: var(--primary-color);
        }

        .final-cost {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
            font-size: 1.4rem;
        }

        .savings-total {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #856404;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            margin-top: 15px;
            font-weight: bold;
            font-size: 1.2rem;
            border: 2px solid #f1c40f;
        }

        .notice-badge {
            background: linear-gradient(135deg, #ffefba, #ffffff);
            border: 2px solid var(--accent-color);
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark-color);
            margin-top: 10px;
        }

        .highlight-zone {
            background: linear-gradient(135deg, #fff3cd, #fff);
            border: 2px solid #f1c40f;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #856404;
            margin-top: 10px;
        }

        .tax-question-inline {
            margin-top:10px;
            background:#fff;
            border:1px dashed #bbb;
            border-radius:6px;
            padding:10px 12px;
        }

        /* .results-container {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            padding: 25px;
            border-radius: 15px;
            margin-top: 30px;
            border: 3px solid var(--primary-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        } */

        .results-title {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 25px;
            font-size: 1.8rem;
            font-weight: 800;
        }

        /* ط£ظ†ظ…ط§ط· ط¬ط¯ظٹط¯ط© ظ„ظ„ط£ط³ط¹ط§ط± ط§ظ„طھظ„ظ‚ط§ط¦ظٹط© */
        .auto-price-section {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border: 2px solid var(--success-color);
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
        }

        .manual-price-section {
            background: linear-gradient(135deg, #fff8e1, #fff);
            border: 2px solid var(--warning-color);
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
        }

        .price-help {
            background: #e8f4fc;
            border-radius: 6px;
            padding: 10px;
            margin-top: 10px;
            font-size: 0.85rem;
            color: #2c3e50;
        }

        .price-help ul {
            margin: 8px 0 0;
            padding-inline-start: 18px;
            list-style-position: inside;
            overflow-wrap: anywhere;
        }

        .price-help li {
            margin-bottom: 6px;
            line-height: 1.5;
        }

        .price-suggestion {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .suggestion-btn {
            background: #e8f4fc;
            border: 1px solid #3498db;
            border-radius: 4px;
            padding: 5px 10px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .suggestion-btn:hover {
            background: #3498db;
            color: white;
        }

        .installment-section {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border: 2px solid var(--success-color);
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
        }

        .savings-badge {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            border: 2px solid #28a745;
            border-radius: 6px;
            padding: 8px 12px;
            margin-top: 5px;
            font-size: 0.85rem;
            color: #155724;
        }

        .treasury-question {
            background: linear-gradient(135deg, #e8f4fc, #d1ecf1);
            border: 2px solid var(--info-color);
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
        }

        .error-message {
            color: var(--error-color);
            font-size: 0.9rem;
            margin-top: 5px;
            font-weight: 600;
        }

        .large-input {
            min-height: 54px;
            font-size: 1.1rem;
            padding: 12px 16px;
            font-weight: 700;
            text-align: center;
        }
        @media (max-width: 768px) {
            .options-container {
                flex-direction: column;
            }
            .option-btn {
                min-width: 100%;
            }
            .timeline-step + .timeline-step::before {
                display: none;
            }
            .cost-details {
                grid-template-columns: 1fr;
            }
        }

/* ===== Extracted from resources/views/operational-costs-page.blade.php ===== */
:root {
            --primary-color: #1a5276;
            --secondary-color: #3498db;
            --accent-color: #c24b5a;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
            --success-color: #27ae60;
            --error-color: #e74c3c;
            --warning-color: #f1c40f;
            --info-color: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo img {
            height: 120px;
            width: auto;
        }
        
        .titles {
            text-align: center;
        }
        
        .titles h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 800;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
        }
        
        .titles h2 {
            font-size: 1.8rem;
            font-weight: 600;
            opacity: 0.95;
            letter-spacing: 1px;
        }
        
        .timeline-container {
            background-color: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .timeline {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .timeline-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .timeline-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 25px;
            right: -30px;
            width: 30px;
            height: 2px;
            background-color: #ddd;
        }
        
        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-weight: bold;
            color: #777;
            transition: all 0.3s ease;
        }
        
        .timeline-step.active .step-circle {
            background-color: var(--accent-color);
            color: white;
        }
        
        .timeline-step.completed .step-circle {
            background-color: var(--success-color);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: #777;
            text-align: center;
        }
        
        .timeline-step.active .step-label {
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .timeline-step.completed .step-label {
            color: var(--success-color);
        }
        
        .calculator-page {
            padding: 60px 0;
            background-color: white;
        }
        
        .calculator-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .form-group select, .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            background-color: #f9f9f9;
            transition: all 0.3s ease;
        }
        
        .form-group select:focus, .form-group input:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
            outline: none;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #a6404c;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        .back-btn {
            display: inline-block;
            background-color: #95a5a6;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .back-btn:hover {
            background-color: #7f8c8d;
        }
        
        .home-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            margin-right: 10px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .home-btn:hover {
            background-color: #154360;
        }
        
        /* .result-section {
            margin-top: 30px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border-right: 4px solid var(--accent-color);
        } */
        
        /* .question-section {
            background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 20px;
            border-right: 4px solid var(--secondary-color);
        } */
        
        .question-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-weight: 700;
        }
        
        .options-container {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .option-btn {
            flex: 1;
            min-width: 120px;
            padding: 15px 20px;
            background: white;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-weight: 600;
        }
        
        .option-btn:hover {
            border-color: var(--secondary-color);
            transform: translateY(-2px);
        }
        
        .option-btn.selected {
            border-color: var(--accent-color);
            background-color: var(--accent-color);
            color: white;
        }
        
        .input-group {
            margin-top: 15px;
        }
        
        .cost-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-right: 4px solid var(--accent-color);
        }

        .cost-card h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .cost-details {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 10px;
            align-items: center;
        }

        .cost-description {
            color: #666;
            font-size: 0.9rem;
        }

        .cost-value {
            font-weight: 600;
            color: var(--primary-color);
        }

        .final-cost {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
            font-size: 1.4rem;
        }

        .savings-cost {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin-top: 15px;
            font-weight: bold;
            font-size: 1.4rem;
        }

        .notice-badge {
            background: linear-gradient(135deg, #ffefba, #ffffff);
            border: 2px solid var(--accent-color);
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark-color);
            margin-top: 10px;
        }

        .highlight-zone {
            background: linear-gradient(135deg, #fff3cd, #fff);
            border: 2px solid #f1c40f;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #856404;
            margin-top: 10px;
        }

        .tax-question-inline {
            margin-top:10px;
            background:#fff;
            border:1px dashed #bbb;
            border-radius:6px;
            padding:10px 12px;
        }

        .results-container {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            padding: 25px;
            border-radius: 15px;
            margin-top: 30px;
            border: 3px solid var(--primary-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .results-title {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 25px;
            font-size: 1.8rem;
            font-weight: 800;
        }

        .section-divider {
            margin: 40px 0;
            border: none;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
        }

        .labor-row {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr auto;
            gap: 10px;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }

        .labor-header {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .add-btn {
            background: var(--success-color);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .remove-btn {
            background: var(--error-color);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 5px;
            cursor: pointer;
        }

        .government-support {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            border: 2px solid var(--success-color);
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
            text-align: center;
            font-weight: 600;
            color: #155724;
        }

        .fixed-incentive-hint {
            background: linear-gradient(135deg,#fff,#ffeaa7);
            border:2px solid var(--accent-color);
            border-radius:10px;
            padding:15px;
            margin:20px 0 10px 0;
            font-weight:600;
            color:#8a6d00;
            line-height:1.6;
            box-shadow:0 5px 15px rgba(0,0,0,0.07);
        }

        .electricity-discount {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            border: 2px solid var(--info-color);
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
            font-weight: 600;
            color: #0c5460;
        }

        .labor-cost-breakdown {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin: 10px 0;
            border-right: 4px solid var(--accent-color);
        }

        .labor-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .labor-item:last-child {
            border-bottom: none;
        }

        .labor-note-support {
            background:#fffbea;
            border:2px dashed #f1c40f;
            border-radius:6px;
            padding:10px 12px;
            font-size:0.85rem;
            color:#7a5e00;
            margin-top:10px;
            line-height:1.6;
        }

        .electricity-breakdown {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin: 10px 0;
            border-right: 4px solid var(--info-color);
        }

        .electricity-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .electricity-item:last-child {
            border-bottom: none;
        }

        .discount-highlight {
            color: var(--success-color);
            font-weight: bold;
        }

        .original-cost {
            text-decoration: line-through;
            color: #999;
        }

        .electricity-guideline {
            background: linear-gradient(135deg, #fff3cd, #ffeaa7);
            border: 2px solid var(--warning-color);
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
            position: relative;
        }

        .guideline-title {
            color: var(--dark-color);
            margin-bottom: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .guideline-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            font-size: 0.85rem;
        }

        .guideline-table th {
            background-color: var(--primary-color);
            color: white;
            padding: 8px;
            text-align: center;
            border: 1px solid #ddd;
        }

        .guideline-table td {
            padding: 8px;
            border: 1px solid #ddd;
            text-align: right;
        }

        .guideline-table tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .tooltip-icon {
            display: inline-block;
            background: var(--info-color);
            color: white;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            text-align: center;
            line-height: 18px;
            font-size: 0.8rem;
            cursor: help;
            margin-right: 5px;
        }

        .permit-salary-row {
            display: grid;
            grid-template-columns: minmax(240px, 2.2fr) minmax(90px, 0.8fr) minmax(170px, 1.2fr) auto auto;
            gap: 10px;
            align-items: end;
            margin-bottom: 15px;
            padding: 15px;
            background: #f0f8ff;
            border-radius: 8px;
            border: 1px solid #cce7ff;
        }

        .permit-salary-row > * {
            min-width: 0;
        }

        .permit-salary-row select,
        .permit-salary-row input {
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .labor-row select,
        .labor-row input,
        .permit-salary-row select,
        .permit-salary-row input {
            padding: 8px 10px;
            border: 1px solid #bfc7d5;
            border-radius: 6px;
            font-size: 0.95rem;
            background: #fff;
            color: #1b2a41;
            line-height: 1.3;
        }

        .permit-salary-header {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .salary-label {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 2px;
            font-weight: 500;
        }

        .permit-salary-row .salary-field {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .permit-salary-row .subtotal {
            white-space: nowrap;
            justify-self: end;
            align-self: end;
            font-weight: 700;
            color: var(--primary-color);
            padding-bottom: 8px;
        }

        .permit-salary-row .remove-btn {
            align-self: end;
        }

        /* أنماط جديدة للـ Tooltip */
        .tooltip-guideline {
            position: relative;
            display: inline-block;
            margin: 10px 0;
        }

        .tooltip-guideline .info-icon {
            cursor: pointer;
            font-weight: 600;
            color: #1a5276;
            background: #e3f2fd;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid #bbdefb;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .tooltip-guideline .tooltip-content {
            visibility: hidden;
            opacity: 0;
            transition: 0.3s ease;
            position: absolute;
            top: 120%;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            color: #000;
            border: 1px solid #ccc;
            padding: 12px;
            border-radius: 8px;
            width: 480px;
            z-index: 50;
            box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        }

        .tooltip-guideline:hover .tooltip-content {
            visibility: visible;
            opacity: 1;
        }

        /* تنسيق الجدول داخل الـ Tooltip */
        .tooltip-content table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .tooltip-content th,
        .tooltip-content td {
            padding: 8px;
            border-bottom: 1px solid #eee;
            text-align: center;
        }

        .tooltip-content th {
            font-weight: bold;
            background: #f7f7f7;
        }

        @media (max-width: 768px) {
            .options-container {
                flex-direction: column;
            }
            .option-btn {
                min-width: 100%;
            }
            .timeline-step:not(:last-child):after {
                display: none;
            }
            .cost-details {
                grid-template-columns: 1fr;
            }
            .labor-row {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .permit-salary-row {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .guideline-table {
                font-size: 0.75rem;
            }
            .tooltip-guideline .tooltip-content {
                width: 320px;
                left: 0;
                transform: none;
            }
        }

/* ===== Extracted from resources/views/tax-page.blade.php ===== */
:root{
      --primary-color:#1a5276;
      --secondary-color:#3498db;
      --accent-color:#c24b5a;
      --light-color:#f8f9fa;
      --dark-color:#2c3e50;
      --success-color:#27ae60;
      --error-color:#e74c3c;
      --warning-color:#f1c40f;
      --info-color:#17a2b8;
    }
    *{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}
    body{background:#f5f7fa;color:#333;line-height:1.6}
    .container{width:90%;max-width:1200px;margin:0 auto;padding:0 15px}
    header{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;padding:20px 0;box-shadow:0 4px 12px rgba(0,0,0,.1)}
    .header-content{display:flex;flex-direction:column;align-items:center;justify-content:center}
    .logo{display:flex;align-items:center;margin-bottom:15px}
    .logo img{height:120px;width:auto}
    .titles{text-align:center}
    .titles h1{font-size:2.2rem;margin-bottom:10px;font-weight:800;text-shadow:1px 1px 3px rgba(0,0,0,.2);letter-spacing:1px}
    .titles h2{font-size:1.1rem;font-weight:600;opacity:.95;letter-spacing:1px}
    .timeline-container{background:#fff;padding:15px 0;box-shadow:0 2px 10px rgba(0,0,0,.1)}
    .timeline{display:flex;justify-content:center;flex-wrap:wrap}
    .timeline-step{display:flex;flex-direction:column;align-items:center;margin:0 15px;position:relative;cursor:pointer;transition:.3s;min-width:100px}
    .timeline-step:not(:last-child):after{content:'';position:absolute;top:25px;right:-30px;width:30px;height:2px;background:#ddd}
    .step-circle{width:50px;height:50px;border-radius:50%;background:#e0e0e0;display:flex;align-items:center;justify-content:center;margin-bottom:8px;font-weight:bold;color:#777;transition:.3s}
    .timeline-step.active .step-circle{background:var(--accent-color);color:#fff}
    .timeline-step.completed .step-circle{background:var(--success-color);color:#fff}
    .step-label{font-size:.9rem;color:#777;text-align:center}
    .timeline-step.active .step-label{color:var(--accent-color);font-weight:bold}
    .timeline-step.completed .step-label{color:var(--success-color)}
    .calculator-page{padding:60px 0;background:#fff}
    .calculator-container{max-width:900px;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 5px 25px rgba(0,0,0,.1);padding:40px}
    .question-section{background:linear-gradient(135deg,#f8f9fa,#e8f4fc);padding:25px;border-radius:10px;margin-bottom:20px;border-right:4px solid var(--secondary-color)}
    .question-title{color:var(--primary-color);margin-bottom:20px;font-size:1.3rem;font-weight:700}
    .result-section{margin-top:30px;padding:20px;background:#f8f9fa;border-radius:5px;border-right:4px solid var(--accent-color)}
    .tax-zone-hint{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:2px solid var(--success-color);border-radius:8px;padding:12px 14px;color:#155724;font-weight:600;line-height:1.6;margin-top:15px}
    .form-group{margin-bottom:20px}
    .form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--dark-color)}
    .form-group select,.form-group input{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:5px;font-size:1rem;background:#f9f9f9;transition:.3s}
    .form-group select:focus,.form-group input:focus{border-color:var(--secondary-color);box-shadow:0 0 0 2px rgba(52,152,219,.2);outline:none}
    .dual-input-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
    .results-container{background:linear-gradient(135deg,#e3f2fd,#bbdefb);padding:25px;border-radius:15px;margin-top:30px;border:3px solid var(--primary-color);box-shadow:0 10px 30px rgba(0,0,0,.1)}
    .results-title{color:var(--primary-color);text-align:center;margin-bottom:25px;font-size:1.8rem;font-weight:800}
    .cost-card{background:#fff;border-radius:10px;padding:20px;margin-bottom:15px;box-shadow:0 5px 15px rgba(0,0,0,.1);border-right:4px solid var(--accent-color)}
    .cost-card h4{color:var(--primary-color);margin-bottom:10px;font-size:1.1rem}
    .cost-details{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
    .cost-description{color:#666;font-size:.9rem;line-height:1.5}
    .cost-value{font-weight:600;color:var(--primary-color)}
    .saving-badge{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:2px solid var(--success-color);border-radius:8px;padding:10px 12px;color:#155724;font-weight:600;line-height:1.5;margin-top:10px}
    .final-cost{background:linear-gradient(135deg,var(--success-color),#2ecc71);color:#fff;padding:20px;border-radius:10px;text-align:center;margin-top:20px;font-weight:bold;font-size:1.2rem}
    .section-divider{margin:40px 0;border:none;height:2px;background:linear-gradient(90deg,transparent,var(--secondary-color),transparent)}
    .btn{display:inline-block;background:var(--accent-color);color:#fff;padding:14px 35px;border-radius:50px;text-decoration:none;font-weight:600;font-size:1.05rem;transition:.3s;box-shadow:0 4px 15px rgba(0,0,0,.2);border:none;cursor:pointer}
    .btn:hover{background:#a6404c;transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.25)}
    .back-btn{display:inline-block;background:#95a5a6;color:#fff;padding:10px 20px;border-radius:5px;text-decoration:none;font-weight:600;margin-top:20px;transition:.3s;border:none;cursor:pointer;font-size:1rem}
    .back-btn:hover{background:#7f8c8d}
    .home-btn{display:inline-block;background:var(--primary-color);color:#fff;padding:10px 20px;border-radius:5px;text-decoration:none;font-weight:600;margin-top:20px;margin-right:10px;transition:.3s;border:none;cursor:pointer;font-size:1rem}
    .home-btn:hover{background:#154360}
    .auto-expenses-breakdown{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:2px solid var(--success-color);border-radius:8px;padding:15px;margin:15px 0}
    .expense-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #c8e6c9}
    .expense-item:last-child{border-bottom:none}
    .expense-source{color:#2e7d32;font-weight:600}
    .expense-amount{color:var(--primary-color);font-weight:600}
    
    .calculator-popup-container {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      background: white;
      border-radius: 15px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.3);
      z-index: 1000;
      width: 320px;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .calculator-popup-container.active {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -50%) scale(1);
    }
    
    .calculator-popup-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--accent-color);
    }
    
    .calculator-popup-header h4 {
      color: var(--primary-color);
      margin: 0;
    }
    
    .close-calculator {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: #999;
      cursor: pointer;
      transition: color 0.3s;
    }
    
    .close-calculator:hover {
      color: var(--error-color);
    }
    
    .calculator-display-popup {
      background: #f8f9fa;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 15px;
      margin-bottom: 15px;
      text-align: left;
      font-size: 1.4rem;
      min-height: 60px;
      direction: ltr;
      overflow-x: auto;
      font-family: 'Courier New', monospace;
    }
    
    .calculator-buttons-popup {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
    
    .calc-btn-popup {
      background: #e9ecef;
      border: 1px solid #ced4da;
      border-radius: 8px;
      padding: 12px;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .calc-btn-popup:hover {
      background: #dee2e6;
      transform: translateY(-2px);
    }
    
    .calc-btn-popup.operator {
      background: var(--info-color);
      color: white;
      border-color: var(--info-color);
    }
    
    .calc-btn-popup.operator:hover {
      background: #138496;
    }
    
    .calc-btn-popup.equals {
      background: var(--success-color);
      color: white;
      grid-column: span 2;
      border-color: var(--success-color);
    }
    
    .calc-btn-popup.equals:hover {
      background: #218838;
    }
    
    .calc-btn-popup.clear {
      background: var(--error-color);
      color: white;
      border-color: var(--error-color);
    }
    
    .calc-btn-popup.clear:hover {
      background: #c82333;
    }
    
    .calc-btn-popup.use-result {
      background: var(--accent-color);
      color: white;
      grid-column: span 2;
      border-color: var(--accent-color);
      margin-top: 10px;
    }
    
    .calc-btn-popup.use-result:hover {
      background: #a6404c;
    }
    
    .calculator-trigger-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--info-color), #17a2b8);
      color: white;
      padding: 8px 15px;
      border-radius: 25px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      margin-bottom: 15px;
      transition: all 0.3s;
      border: none;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .calculator-trigger-btn:hover {
      background: linear-gradient(135deg, #138496, #17a2b8);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .calculator-trigger-btn i {
      margin-left: 5px;
    }
    
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .contact-capture-section {
      display: none;
      margin-top: 24px;
      padding: 24px;
      background: linear-gradient(135deg, #fff7ed, #ffffff);
      border: 2px solid var(--accent-color);
      border-radius: 12px;
    }

    .contact-capture-section.active {
      display: block;
    }

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

    .inline-note {
      margin-top: 12px;
      color: #92400e;
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: .92rem;
    }

    .validation-box {
      margin-bottom: 14px;
      color: #991b1b;
      background: #fef2f2;
      border: 1px solid #fecaca;
      border-radius: 8px;
      padding: 10px 12px;
    }
    
    @media(max-width:768px){
      .dual-input-row{grid-template-columns:1fr}
      .contact-grid{grid-template-columns:1fr}
      .timeline-step:not(:last-child):after{display:none}
      .calculator-popup-container{width:300px;padding:15px}
    }

/* ===== Extracted from resources/views/final-page.blade.php ===== */
:root {
    --primary-color: #1a5276;
    --secondary-color: #3498db;
    --accent-color: #c24b5a;
    --light-color: #f8f9fa;
    --success-color: #27ae60;
    --savings-color: #9b59b6;
    --warning-color: #f1c40f;
    --info-color: #17a2b8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.logo img {
    height: 120px;
    width: auto;
}
.titles {
    text-align: center;
}
.titles h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}
.titles h2 {
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 1px;
}
.timeline-container {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.timeline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}
.timeline-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 25px;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: #ddd;
}
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: bold;
    color: #777;
    transition: all 0.3s ease;
}
.timeline-step.active .step-circle {
    background-color: var(--accent-color);
    color: white;
}
.timeline-step.completed .step-circle {
    background-color: var(--success-color);
    color: white;
}
.step-label {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}
.timeline-step.active .step-label {
    color: var(--accent-color);
    font-weight: bold;
}
.timeline-step.completed .step-label {
    color: var(--success-color);
}
.calculator-page {
    padding: 60px 0;
    background-color: white;
}
.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
}
.section-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card {
    background: #fff;
    border-right: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.savings-card {
    border-right: 4px solid var(--savings-color);
}
.funding-card {
    border-right: 4px solid var(--info-color);
}
.final-summary {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 1.4rem;
}
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #a6404c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.back-btn {
    display: inline-block;
    background-color: #95a5a6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.back-btn:hover {
    background-color: #7f8c8d;
}
.home-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.home-btn:hover {
    background-color: #154360;
}
.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.cost-item:last-child {
    border-bottom: none;
}
.cost-label {
    color: #666;
}
.cost-value {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: left;
}
.savings-value {
    color: var(--success-color);
    font-weight: bold;
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: left;
}
.funding-program-item {
    background: #f8f9fa;
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border-right: 3px solid var(--info-color);
}
.funding-program-name {
    font-weight: 600;
    color: var(--primary-color);
}
.funding-program-entity {
    font-size: 0.9rem;
    color: #666;
}
.funding-program-type {
    display: inline-block;
    background: var(--info-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.benefits-container {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4fc);
    border-radius: 15px;
    border-right: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefits-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.benefit-item {
    margin-bottom: 8px;
    padding-right: 15px;
    position: relative;
}

.benefit-item:before {
    content: "âœ“";
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
}

.tax-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.incentive-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* طھظ†ط³ظٹظ‚ط§طھ ط®ط±ظٹط·ط© ط§ظ„ط§ظ…طھظٹط§ط²ط§طھ */
.benefits-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.map-node {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.map-node::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(26, 82, 118, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.map-node:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.map-node:hover::before {
    opacity: 1;
}

.node-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.map-node:hover .node-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.node-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.node-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--success-color);
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    font-family: 'Courier New', monospace;
    direction: ltr;
}

.map-node:hover .node-value {
    transform: scale(1.1);
    color: var(--primary-color);
}

.node-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-right: 5px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.benefit-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-left: 20px;
    background: #e8f4fc;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.benefit-content {
    padding-right: 80px;
}

.benefit-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-description {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefit-duration {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

.special-benefits-container {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 15px;
    border-right: 5px solid var(--warning-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.special-benefits-title {
    color: #a6404c;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.special-benefit-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-right: 4px solid var(--warning-color);
    transition: all 0.3s ease;
}

.special-benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.special-benefit-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.special-benefit-icon {
    font-size: 1.8rem;
    color: #a6404c;
    margin-left: 15px;
    background: #fff3cd;
    padding: 10px;
    border-radius: 8px;
}

.special-benefit-title {
    color: #a6404c;
    font-size: 1.2rem;
    font-weight: 600;
}

.special-benefit-description {
    color: #666;
    line-height: 1.6;
}

.special-benefit-points {
    list-style: none;
    padding-right: 0;
    margin-top: 14px;
    color: #4b5b6b;
    line-height: 1.9;
}

.special-benefit-points li {
    position: relative;
    padding-right: 20px;
}

.special-benefit-points li::before {
    content: "âœ“";
    position: absolute;
    right: 0;
    color: #1a5276;
    font-weight: 800;
}

.special-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a6404c, #c24b5a);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.strategic-activity-section {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 3px solid gold;
}

.strategic-activity-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
}

.strategic-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.strategic-badge {
    display: inline-block;
    background: linear-gradient(135deg, gold, #ffd700);
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    animation: pulse 2s infinite;
}

.strategic-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.strategic-benefit-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.strategic-benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.strategic-benefit-number {
    display: inline-block;
    background: gold;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-left: 10px;
}

.incentives-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.incentives-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    text-align: right;
    font-weight: 600;
    border: 1px solid #ddd;
}

.incentives-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: right;
    vertical-align: top;
}

.incentives-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.incentives-table tr:hover {
    background-color: #e8f4fc;
}

.cell-box {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-right: 3px solid var(--primary-color);
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.duration-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--info-color), #17a2b8);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 5px;
}

.conditions-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #856404;
}

/* طھظ†ط³ظٹظ‚ط§طھ ط§ظ„ظ…ط®ط·ط· ط§ظ„ط¨ظٹط§ظ†ظٹ ط§ظ„ظ…ط­ط³ظ† */
.chart-container {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    position: relative;
}

.important-notes {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.notes-title {
    color: #856404;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notes-list {
    list-style-type: none;
    padding: 0;
}

.notes-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(133, 100, 4, 0.1);
    position: relative;
    padding-right: 25px;
}

.notes-list li:before {
    content: "â€¢";
    color: #856404;
    font-weight: bold;
    position: absolute;
    right: 10px;
}

.notes-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .timeline-step:not(:last-child):after {
        display: none;
    }
    .calculator-container {
        padding: 20px;
    }
    .benefits-map {
        grid-template-columns: 1fr;
    }
    .benefit-header {
        flex-direction: column;
        text-align: center;
    }
    .benefit-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .benefit-content {
        padding-right: 0;
    }
    .strategic-benefits-grid {
        grid-template-columns: 1fr;
    }
    .special-benefit-header {
        flex-direction: column;
        text-align: center;
    }
    .special-benefit-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .chart-container {
        height: 300px;
    }
}
@media print {
    .btn, .back-btn, .home-btn {
        display: none;
    }
    header, .timeline-container {
        box-shadow: none;
    }
    .calculator-container {
        box-shadow: none;
        padding: 20px;
    }
    .chart-container {
        height: 300px;
        page-break-inside: avoid;
    }
    .card {
        page-break-inside: avoid;
    }
    .chart-container + .final-summary {
        page-break-before: always;
    }
}

