.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;

  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* Prevent content from hiding under header */
body {
  padding-top: 80px; /* adjust based on header height */
}

.main-header .container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.main-header .logo img {
  height: 40px;
  object-fit: contain;
}

/* Navigation */
.main-header .nav-links {
  display: flex;
  gap: 24px;
}

.main-header .nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #025B50;
  position: relative;
}

.main-header .nav-links a.active {
  color: #128B7C;
}

.main-header .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0; /* RTL support */
  width: 100%;
  height: 2px;
  background: #128B7C;
}

.main-header .nav-links a:hover {
  color: #128B7C;
}

/* Actions */
.main-header .actions {
  display: flex;
  gap: 12px;
}

.main-header .actions .btn {
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}

.main-header .actions .login {
  background: #e6f4f1;
  color: #025B50;
}

.main-header .actions .login:hover {
  background: #d1ebe6;
}

.main-header .actions .meeting {
  background: #128B7C;
  color: #ffffff;
}

.main-header .actions .meeting:hover {
  background: #025B50;
}


.Home {
  background-image: url(../assets/images/bodu.png);
  background-size: cover;
  background-position: center;
  height: auto;
}

.ribbon-wrapper {
  display: flex;
  justify-content: center;
}

/* Main Text */
.ribbon-text {
  position: relative;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: #0f9d8b;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}

/* Animated Border */
.ribbon-text::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    transparent,
    #ffffff,
    transparent
  );

  background-size: 200% 200%;
  animation: border-loading 2.5s linear infinite;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Animation */
@keyframes border-loading {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
article {
  font-size: 45px;
}

.banner-txt {
  font-size: 20px;
}

 
.banner {
  margin-top: -250px;
}


/******************************/

.Steps{
  margin-top: 250px;
}

.top{
  gap: 225px;
}
.hr-feature-section {
  padding: 60px 0;
  direction: rtl;
  font-family: 'Tajawal', sans-serif; 
}

.hr-feature-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.hr-feature-card {
  width: 350px;
  border-radius: 40px;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 650px;
  transition: transform 0.3s ease;
}

.hr-feature-card:hover {
  transform: translateY(-5px);
}

.hr-feature-card.light-teal {
  background-color: #a7d1cc;
  color: #000;
  height: 500px;
  margin-top: 150px;
}

.hr-feature-card.dark-teal {
  background-color: #00896f;
  color: #fff;
}

.hr-feature-card .card-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: inherit;
}

.hr-feature-card .card-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  padding: 0 10px;
  color: inherit;
}

.hr-feature-card .inner-content {
  background: #fff;
  border-radius: 25px;
  width: 100%;
  padding: 25px;
  margin-top: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  color: #333;
}

/* Card 1 Specifics */
.hr-feature-card .status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.hr-feature-card .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
}

.hr-feature-card .dot-red { background-color: #ff4d4d; }
.hr-feature-card .dot-green { background-color: #2ecc71; }

/* Card 2 Specifics */
.hr-feature-card .character-box {
  background: #006d58;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: -40px;
  width: calc(100% + 50px);
  margin-right: -25px;
  margin-left: -25px;
}

.hr-feature-card .character-img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card 3 Specifics */
.hr-feature-card .user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.hr-feature-card .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hr-feature-card .user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ddd;
}

.hr-feature-card .days-tag {
  background: #e0f2f1;
  color: #00896f;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hr-feature-card {
    width: 100%;
    max-width: 350px;
  }
}


.why-us{
  background: linear-gradient(90deg, #128E7F 0%, #128E7F 100%);
margin-top: 200px;
}



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

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.header-right {
    display: flex;
    justify-content: flex-start;
}

.wave-icon {
    width: 80px;
    height: 40px;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    animation: wave 3s ease-in-out infinite;
}

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

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.dashboard-main {
    flex: 1;
    padding: 2rem 1rem;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* ============================================
   SIDEBAR STYLING
   ============================================ */
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.employee-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.employee-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.employee-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
}

.employee-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.employee-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.employee-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.employee-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.dashboard-table-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-card {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.dashboard-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-table th {
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.dashboard-table td {
    padding: 1rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.dashboard-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-table .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dashboard-table .form-check-input:checked {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.dashboard-empty {
    padding: 2rem 1rem;
}

.empty-container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
}

.dashboard-footer {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(27, 155, 143, 0.8), rgba(22, 168, 157, 0.8));
}

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

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 2rem 0;
    letter-spacing: -0.5px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: translateY(-2px);
}

.action-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-icon {
    font-size: 1.8rem;
}

.btn-label {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Button Color Variants */
.btn-projects {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.btn-projects:hover {
    background: linear-gradient(135deg, #f55a25 0%, #e68410 100%);
}

.btn-contracts {
    background: linear-gradient(135deg, #ffd93d 0%, #f4c430 100%);
}

.btn-contracts:hover {
    background: linear-gradient(135deg, #ffd12d 0%, #e4b420 100%);
}

.btn-salary {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
}

.btn-salary:hover {
    background: linear-gradient(135deg, #ffdb2b 0%, #edca25 100%);
}

.btn-insurance {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.btn-insurance:hover {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
}

.btn-reports {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.btn-reports:hover {
    background: linear-gradient(135deg, #8c1ba0 0%, #6b1592 100%);
}

.btn-hours {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.btn-hours:hover {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header-container {
        grid-template-columns: 100px 1fr 80px;
        gap: 1rem;
    }

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

    .header-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 1.5rem 1rem;
    }

    .header-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .header-left {
        justify-content: center;
    }

    .header-right {
        justify-content: center;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .dashboard-main {
        padding: 1rem;
    }

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

    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-table {
        font-size: 0.8rem;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-wrapper {
        min-height: auto;
    }

    .dashboard-header {
        padding: 1rem;
    }

    .logo-grid {
        width: 90px;
    }

    .logo-circle {
        width: 24px;
        height: 24px;
    }

    .header-title {
        font-size: 1.25rem;
    }

    .header-subtitle {
        font-size: 0.75rem;
    }

    .dashboard-main {
        padding: 0.75rem;
    }

    .main-container {
        gap: 1rem;
    }

    .sidebar-card,
    .dashboard-table-section {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .action-btn {
        padding: 1rem;
    }

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

    .dashboard-table {
        font-size: 0.7rem;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 0.5rem 0.25rem;
    }
}


.action-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.employee-item:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
    .employee-item,
    .action-btn,
    .sidebar-card,
    .logo-circle {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}
.why-us-img img{width: 99%;}
/********************************/
.hr-zone-container {
  /* Global-like variables scoped to component */
  --purple-bg: #d9def7;
  --green-bg: #d4f0e2;
  --yellow-bg: #f9f3c1;
  --blue-bg: #c5e3f6;
  --text-main: #000;
  --text-muted: #7a7a7a;

  font-family: 'Cairo', sans-serif;
  background: #fff;
  color: var(--text-main);

  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  overflow-x: hidden;
}

/* Header */
.hr-zone-header {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 60px;
}

/* Layout */
.hr-cards-wrapper {
  position: relative;
}

.hr-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.hr-card {
  border-radius: 35px;
  padding: 40px 30px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.hr-card:hover {
  transform: translateY(-6px);
}

.card-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hr-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: auto;
}

.card-icon {
  margin-top: 30px;
  font-size: 64px;
  text-align: center;
}

/* Card colors */
.card-purple { background: var(--purple-bg); }
.card-green  { background: var(--green-bg); }
.card-yellow { background: var(--yellow-bg); }
.card-blue   { background: var(--blue-bg); }

/* Decorative elements */
.decor-block {
  position: absolute;
  z-index: -1;
}

.decor-top-left { top: -40px; left: -40px; }
.decor-mid-right { top: 35%; right: -50px; }
.decor-bottom-left { bottom: -40px; left: -40px; }
.decor-bottom-right { bottom: -40px; right: -40px; }

.pixel-grid {
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 4px;
}

.pixel-grid span {
  width: 18px;
  height: 18px;
}

.decor-top-left span { background: #7a86cb; }
.decor-mid-right span { background: #81c784; }
.decor-bottom-left span { background: #ffeb3b; }
.decor-bottom-right span { background: #2196f3; }

/* Responsive */
@media (max-width: 768px) {
  .hr-cards-grid {
    grid-template-columns: 1fr;
  }

  .hr-zone-header {
    font-size: 1.5rem;
  }

  .hr-card {
    min-height: 350px;
    padding: 25px;
  }

  .decor-block {
    display: none;
  }
}

.hr-zone-section {
    background-color: #66bb99; /* Green background from design */
    padding: 100px 0;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
    color: #000;
}

.section-title {
    color: #fff;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Character and Cards Layout */
.character-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.main-card {
    background: #fff;
    border-radius: 30px;
    padding: 20px;
    width: 350px;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.character-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 180px;
    z-index: 2;
}

.card-experience {
    top: 10%;
    right: 0;
}

.card-meeting {
    bottom: -20px;
    left: 10%;
}

.card-tag {
    color: #66bb99;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-align: center;
}

.card-text {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
}

.card-icon {
    font-size: 2rem;
    text-align: center;
}

/* Steps Styling */
.steps-container {
    padding-right: 30px;
}

.step-item {
    margin-bottom: 30px;
    text-align: right;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    margin-bottom: 8px;
}

.step-icon {
    font-size: 1.2rem;
    margin-left: 10px;
    color: #333;
    opacity: 0.7;
}

.step-label {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    opacity: 0.8;
}

.step-desc {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 0;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #f8f8f8;
    transform: scale(1.05);
    color: #000;
}

.btn-arrow {
    background-color: #66bb99;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.2rem;
}

/* Decorative Patterns */
.decor-pattern {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255,255,255,0.4) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.4) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.4) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}

.decor-top-left {
    top: 20px;
    left: 20px;
}

.decor-top-right {
    top: 20px;
    right: 20px;
}

.card-icon{font-size: 70px;}
/* Responsive Adjustments */
@media (max-width: 991px) {
    .hr-zone-section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .steps-container {
        padding-right: 0;
        margin-top: 40px;
    }
    .character-container {
        transform: scale(0.9);
    }
}
   /* ================= AI PERFORMANCE ================= */
    .ai-performance {
      background-color: #7883d2;
      min-height: 100vh;
      margin-top: 200px;
      font-family: "Cairo", sans-serif;
    }

    /* Header */
    .ai-header .ai-title {
      color: #fff;
      font-weight: 700;
      font-size: 2.2rem;
    }

    .ai-header .ai-subtitle {
      color: #eaeafc;
      margin-top: 0.5rem;
    }

    /* Chat Area */
    .ai-chat-area {
      padding-bottom: 4rem;
    }

    /* Chat Bubbles */
    .ai-bubble {
      display: flex;
      align-items: flex-start;
      margin-bottom: 2rem;
    }

    .ai-bubble-right {
      justify-content: flex-start;
    }

    .ai-bubble-left {
      justify-content: flex-end;
    }

    .ai-message {
      background-color: #fff;
      padding: 1rem 1.25rem;
      border-radius: 16px;
      max-width: 420px;
      line-height: 1.6;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .ai-avatar {
      width: 45px;
      height: 45px;
      margin-left: 1rem;
      flex-shrink: 0;
    }

    .ai-avatar img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
    }

    /* ===== Result Bubble (FIXED) ===== */
    .ai-result-bubble {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }

    .ai-wrapper {
  padding: 30px;
  border-radius: 24px;
  max-width: 720px;
}

/* Main Card */
.ai-result-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Title */
.ai-title {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
  color: #111;
  margin-bottom: 24px;
}

/* Stats Layout */
.ai-stats {
  background: #7c84d6;
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  width: 50%;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

/* Left side */
.ai-stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.ai-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 6px 0;
}

.ai-stat-change {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Right side */
.ai-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Circular progress */
.ai-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#4ee1b5 56%, rgba(255, 255, 255, 0.25) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-circle span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* Bars */
.ai-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.ai-bars span {
  width: 5px;
  background: #4ee1b5;
  border-radius: 4px;
}

.ai-bars span:nth-child(1) { height: 14px; opacity: 0.4; }
.ai-bars span:nth-child(2) { height: 22px; opacity: 0.6; }
.ai-bars span:nth-child(3) { height: 32px; }
.ai-bars span:nth-child(4) { height: 24px; opacity: 0.7; }
.ai-bars span:nth-child(5) { height: 18px; opacity: 0.5; }

    /* Footer */
    .ai-footer {
      color: #f1f1ff;
    }

    @media (max-width: 768px) {
      .ai-result-card {
        max-width: 100%;
      }
    }

    .contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
      margin-top: 200px;
    
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.con-form{
 background: linear-gradient(135deg, #1a9b8e 0%, #2db8a3 100%);
 border-radius: 20px;  
}

.contact-section .container {
    max-width: 1200px;
}

/* Form Container */
.form-container {
    padding: 40px 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    text-align: right;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.btn-submit {
    background-color: #ffffff;
    color: #1a9b8e;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

/* Content Container */
.content-container {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.content-text {
    margin-bottom: 40px;
    text-align: right;
}

.section-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    max-width: 400px;
}

/* Illustration */
.illustration {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration svg {
    width: 100%;
    height: auto;
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Responsive Design */
@media (max-width: 991px) {
    .content-container {
        align-items: center;
        text-align: center;
        margin-top: 40px;
    }

    .content-text {
        margin-bottom: 30px;
    }

    .section-description {
        max-width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .illustration {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 15px;
        min-height: auto;
    }

    .form-container,
    .content-container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    .contact-form .form-label {
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
    }

    .illustration {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
   
    .main-header {
    position: fixed;
    top: 0;
    width: auto;
  }

  .main-header .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  /* Logo */
  .logo img {
    height: 34px;
  }

  /* Nav links */
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  /* Actions buttons */
  .actions {
    width: 100%;
    justify-content: center;
  }

  .actions .btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    padding: 10px;
  }

    .banner {
    position: relative;
    margin-top: 20px;
  }

  .banner img {
    width: auto;
    max-width: 80%;
    height: auto;
    object-fit: contain;
  }


  .carousel,
  .carousel-inner,
  .carousel-item {
    height: auto;
  }

  .carousel img {
    width: 100%;
    height: auto;
    max-height: 280px;   /* تقدر تعدلها */
    object-fit: cover;
    border-radius: 12px;
  }
    .contact-section {
        padding: 20px 10px;
    }

    .form-container,
    .content-container {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .section-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .content-text {
        margin-bottom: 25px;
    }

    .contact-form .form-label {
        font-size: 13px;
    }

    .contact-form .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    .contact-form textarea.form-control {
        min-height: 100px;
    }

    .btn-submit {
        padding: 10px 16px;
        font-size: 13px;
    }

    .illustration {
        max-width: 220px;
    }
}

/* Accessibility */
.contact-form .form-control:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-submit:focus-visible {
    outline: 2px solid #1a9b8e;
    outline-offset: 2px;
}

.custom-footer {
    background-color: #128c7e; /* Teal background from image */
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-top: 15px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.85rem;
    color: #e0e0e0;
}

/* RTL Adjustments */
[dir="rtl"] .social-icons a {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .text-md-start {
    text-align: right !important;
}

@media (max-width: 767.98px) {
    .footer-heading {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {

  /* ================= Header ================= */
  body {
    padding-top: 110px;
  }

  .main-header .container {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .main-header .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .main-header .actions {
    width: 100%;
    justify-content: center;
  }

  /* ================= Hero ================= */
  article { font-size: 26px; }
  .banner-txt { font-size: 14px; }

  .banner {
    margin-top: 0;
  }

  .Steps {
    margin-top: 120px;
  }

  /* ================= HR Feature Cards ================= */
  .hr-feature-card {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .hr-feature-card.light-teal {
    margin-top: 0;
    height: auto;
  }

  /* ================= Dashboard ================= */
  .main-container {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  /* ================= HR Zone ================= */
  .hr-cards-grid {
    grid-template-columns: 1fr;
  }

  .decor-block {
    display: none;
  }

  /* ================= AI Section ================= */
  .ai-message {
    max-width: 100%;
  }

  /* ================= Footer ================= */
  .footer-heading {
    font-size: 1rem;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {

  /* Header */
  .main-header .container {
    flex-wrap: wrap;
  }

  /* Hero */
  article { font-size: 32px; }
  .banner-txt { font-size: 16px; }

  /* Steps */
  .top {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  /* HR Feature */
  .hr-feature-container {
    flex-direction: column;
    align-items: center;
  }

  .hr-feature-card {
    max-width: 360px;
  }

  /* Dashboard */
  .dashboard-table {
    font-size: 0.8rem;
  }

  .dashboard-table th,
  .dashboard-table td {
    padding: 0.75rem 0.5rem;
  }

  /* Contact */
  .content-container {
    align-items: center;
    text-align: center;
  }

  .contact-form .form-label {
    text-align: right;
  }
}
@media (max-width: 992px) {

  /* Header */
  body {
    padding-top: 100px;
  }

  /* Hero */
  .banner {
    margin-top: -120px;
  }

  /* Steps */
  .Steps {
    margin-top: 180px;
  }

  /* HR Feature */
  .hr-feature-card {
    height: auto;
    min-height: 520px;
  }

  .hr-feature-card.light-teal {
    margin-top: 0;
  }

  /* Dashboard */
  .main-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* HR Zone */
  .hr-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Character Section */
  .character-container {
    transform: scale(0.9);
  }
}
@media (max-width: 1200px) {
a
  .main-header .container {
    padding: 16px;
  }

  .top {
    gap: 120px;
  }

  .hr-feature-container {
    gap: 20px;
  }

  .ai-wrapper {
    max-width: 100%;
  }
}
