/* Inline feedback under newsletter input without affecting pill shape */
.newsletter-form .input-group { position: relative; overflow: visible; }
.newsletter-form .inline-feedback { display: block; margin-top: 6px; font-size: 0.875rem; line-height: 1.25rem; }
.newsletter-form .inline-feedback.error { 
  color: #ff8585;
    margin-left: auto;
    max-width: 482px;
    border: none;
    box-shadow: none !important;
    font-weight: 600;
}
body.rtl .newsletter-form .inline-feedback.error { margin-left: 0; margin-right: auto; }
.newsletter-form .inline-feedback.success { color: #16A34A; }

/* Back button (Figma 2429-3583) */
.back-button {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 4px;
    /*width: 146px;*/
    /*height: 36px;*/
    background: #FFFFFF;
    border: 1px solid #D8D9D9;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 99px;
    color: #1C2628;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.back-button svg { flex: 0 0 20px; height: 20px; }
.rtl .back-button svg { rotate: 180deg; }
/* Global Styles */
:root {
  --primary-color: #0D0D0D;
  --purple-primary: #7C54D4;
  --purple-primary-dark: #6E47CC;
  --text-primary: #E7E8E7;
  --text-light: #FFFFFF;
  --secondary-color: #ffffff;
  --text-dark: #101828;
  --text-muted: #475467;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --border-color: #eaecf0;
  --shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  --navbar-height: 72px;
  --modal-top-offset: 68px;
}

/* AI Transformation Section */
.ai-suite-section {padding: 96px 0; }
.ai-suite-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}
.ai-suite-left { width: 378.2px;  gap: 48px; }
.ai-suite-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -0.64px;
  color: #33264A;
  margin: 0;
}
.ai-suite-supporting {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #404640;
  margin: 24px 0 24px;
  max-width: 600px;
}
.btn-ai {
  width: 362px;
  height: 56px;
  background: #7C54D4;
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.18px;
  border: none;
}
.btn-ai:hover { background: #6E47CC; }
.ai-suite-right { width: 837.8px; height: 460.44px; }
.ai-media-frame { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: transparent; border: none; display: flex; align-items: center; justify-content: center; }
.ai-media { width: auto; height: 400px; object-fit: cover; display: block; border: none; outline: none; }
.ai-media::-webkit-media-controls { display: none !important; }

@media (max-width: 1200px) {
  .ai-suite-right { width: 680px; }
}
/* Keep AI content side-by-side down to 768px; stack and center below */
@media (max-width: 768px) {
  .ai-suite-container { flex-direction: column; align-items: center; gap: 32px; }
  .ai-suite-left { width: 100%; text-align: center; }
  body.rtl .ai-suite-left { text-align: center !important;}
  .ai-suite-title { font-size: 28px; line-height: 36px; }
  .ai-suite-supporting { font-size: 18px; line-height: 26px; margin: 20px auto 20px; }
  .btn-ai { width: 100%; max-width: 362px; margin: 0 auto; }
  .ai-media, .ai-suite-right { width: 100%; height: auto; }
}

/* Tweak AI typography on tablets/smaller desktops */
@media (min-width: 769px) and (max-width: 1199.98px) {
  /* Center content and place video below text; make video full width */
  .ai-suite-container { flex-direction: column; align-items: center; gap: 40px; }
  .ai-suite-left { width: 100%; text-align: center; }
  .btn-ai { width: 100%; max-width: 420px; margin: 0 auto; }
  .ai-suite-right { width: 100%; height: auto; }
  .ai-suite-title { font-size: 34px; line-height: 44px; }
  .ai-suite-supporting { font-size: 18px; line-height: 26px; margin: 20px auto 20px;  }
}

@media (max-width: 576px) {
  .ai-suite-title { font-size: 24px; line-height: 32px; }
  .ai-suite-supporting { font-size: 16px; line-height: 24px; }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
  display: flex;            /* enable sticky footer layout */
  min-height: 100vh;        /* full viewport height */
  flex-direction: column;   /* stack header/content/footer */
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
}

body.rtl .navbar .navbar-nav {
  margin-right: 0;
  margin-left: auto;
}

body.rtl .navbar .navbar-actions {
  gap: 24px;
}

@media (min-width: 992px) {
  body.rtl .navbar .navbar-actions {
    left: 12px;
    right: auto;
  }

    #innovation .innovation-left {
        padding-left: 100px !important;
    }
}

/*body.rtl .ai-suite-left,*/
/*body.rtl .innovation-left,*/
/*body.rtl .section-content,*/
/*body.rtl .about-left,*/
/*body.rtl .newsletter-section .text-lg-start,*/
/*body.rtl .news-card,*/
/*body.rtl .team-info,*/
/*body.rtl .feature-card {*/
/*  text-align: right;*/
/*  padding-left: 100px;*/
/*  padding-right: 0!important;*/
/*}*/

body.rtl #model .feature-card {
    padding: 24px !important;
}

body.rtl .ai-suite-left{
    text-align:right;
    padding-left: 0 !important;
}

body.rtl #about .about-left{
    padding-left: 0 !important;
}

body.rtl .newsletter-form .input-group {
  margin-left: auto;
  margin-right: auto;
}

body.rtl .newsletter-form .input-group > .form-control {
  border-radius: 0 50px 50px 0;
  border-left: none;
  border-right: 1px solid var(--border-color);
  text-align: right;
}

body.rtl .newsletter-form .input-group > .btn {
  border-radius: 50px 0 0 50px;
}

body.rtl #newsletter .text-lg-start,
body.rtl #newsletter .text-center {
  text-align: right !important;
}

body.rtl .process-heading .arrow-icon {
  transform: scaleX(-1);
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl span,
body.rtl a,
body.rtl button,
body.rtl .btn,
body.rtl label,
body.rtl input,
body.rtl textarea,
body.rtl select,
body.rtl .section-title,
body.rtl .section-description,
body.rtl .ai-suite-title,
body.rtl .ai-suite-supporting,
body.rtl .hero-title,
body.rtl .hero-subtitle,
body.rtl .team-name,
body.rtl .team-role,
body.rtl .team-bio,
body.rtl .innovation-heading,
body.rtl .innovation-supporting,
body.rtl .innovation-text h3,
body.rtl .innovation-text p,
body.rtl .partners-caption,
body.rtl .newsletter-section .text-light,
body.rtl .newsletter-section .text-white,
body.rtl .footer-link,
body.rtl .contact-btn,
body.rtl .language-toggle,
body.rtl .language-text,
body.rtl .btn-ai,
body.rtl .btn-primary,
body.rtl .form-field label,
body.rtl .form-field input,
body.rtl .form-field textarea,
body.rtl .form-submit-btn,
body.rtl .upload-title,
body.rtl .upload-info,
body.rtl .upload-main-text,
body.rtl .news-date,
body.rtl .news-card h3,
body.rtl .news-card p {
  font-family: 'Tajawal', sans-serif;
}

body.rtl #yourPhone::placeholder {
  text-align: right;
}
body.rtl #yourPhone::-webkit-input-placeholder {
  text-align: right;
}
body.rtl #yourPhone::-moz-placeholder {
  text-align: right;
}
body.rtl #yourPhone:-ms-input-placeholder {
  text-align: right;
}
body.rtl #yourPhone:-moz-placeholder {
  text-align: right;
}

body.rtl .hero-subtitle {
  max-width: 535px;
}

body.rtl .hero-title {
  font-size: 3rem;
  font-weight: 700;
}

body.rtl .ventures-carousel,
body.rtl .ventures-track {
  direction: ltr;
}

body.rtl .ventures-track {
  justify-content: flex-start;
}

body.rtl .venture-content,
body.rtl .venture-description {
  text-align: right;
  direction: rtl;
}

body.rtl .venture-arrow {
  transform: scaleX(-1);
}

.navbar .navbar-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  gap: 24px;
  margin: 0 auto;
  min-width: 213px;
  width: auto;
  height: 48px;
}

.navbar .language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E6E7E9;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.navbar .language-toggle:hover,
.navbar .language-toggle:focus {
  color: #ffffff;
}

.navbar .language-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar .language-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.navbar .language-text {
  line-height: 1;
}

body.rtl .language-toggle {
  direction: ltr;
  display: flex;
  align-items: flex-end;
}

.container {
  max-width: 1320px !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-label {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.6px;
  line-height: 36px;
  margin-bottom: 24px;
  word-spacing: 0.5rem; /* Adds space around arrows */
}

#news .section-title {
  color: var(--text-light);
}
#news .text-muted {
  color: #B5B7B5!important;
}

/* Increase gap between the two news cards */
.news-grid {
  --bs-gutter-x: 96px;
  /* Keep the news row inside the container at all widths */
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: hidden;
}

/* News responsiveness and spacing */
@media (max-width: 992px) {
  .news-grid { --bs-gutter-x: 32px; }
}

@media (max-width: 768px) {
  .news-grid { --bs-gutter-x: 16px; row-gap: 16px; }
  .news-card { flex-direction: column; gap: 12px; }
  .news-image { width: 100%; height: 180px; }
  .news-content { padding: 0 4px 0; }
  .news-content h3 { font-size: 18px; margin-bottom: 8px; }
  .news-content p { font-size: 13px; }
}

/* Process heading with arrows */
.process-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #33264A;
  flex-wrap: wrap; /* allow wrapping on smaller screens */
}
.process-heading span { white-space: normal; }
.process-heading .arrow-icon {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  vertical-align: middle;
}

/* Process heading responsiveness */
@media (max-width: 992px) {
  .process-heading {
    font-size: 32px;
    line-height: 38px;
    gap: 10px;
  }
  .process-heading .arrow-icon { width: 28px; height: 28px; flex-basis: 28px; }
}

@media (max-width: 576px) {
  .process-heading {
    font-size: 24px;
    line-height: 30px;
    gap: 8px;
  }
  .process-heading .arrow-icon { width: 22px; height: 22px; flex-basis: 22px; }
}

.section-description {
  font-size: 16px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
}

/* Navigation */
.navbar {
    background-color: rgba(13, 13, 13, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    padding: 8px 0;
}
.navbar-brand{
  margin-right: 0;
}
.navbar-brand svg path {
  fill: white;
  transition: fill 0.3s ease;
}

.navbar.scrolled .navbar-brand svg path {
  fill: var(--primary-color);
}

.navbar-nav {
  gap: 24px;
}

.navbar .container { position: relative; }
.navbar .center-brand { z-index: 1060; }

/* Case study pages */
.case-study-page #navbar {
  background-color: #0D0B11;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.case-study-page .case-study-hero-section {
  padding: 60px 0 0;
  min-height: 360px;
  margin-top: 80px;
}

.case-study-sadeel .case-study-hero-section {
  padding: 60px 0 44px;
}

.case-study-page .main-title .fw-normal {
  font-size: 44px;
}

.case-study-page .main-title .lead {
  font-size: 1.3rem;
}

.case-study-hero-section .lead {
  font-size: 18px;
}

@media (max-width: 768px) {
  .case-study-hero-section .main-title {
    font-size: 24px;
  }
  .case-study-hero-section .main-title span:last-child {
    font-size: 18px;
  }
  .case-study-hero-section .lead {
    font-size: 14px;
  }
  .case-study-hero-section .platform-badge {
    font-size: 12px !important;
  }
  .case-study-hero-section .store-badge {
    width: 100%;
    max-width: 172px;
    /*margin: 0 auto;*/
    justify-content: center;
  }
  .case-study-hero-section .website-btn {
    padding: 8px;
    font-size: 12px;
    height: auto;
    justify-content: center;
  }
}

/* .case-study-page .platform-badge {
  background-color: #e2e4e4;
} */

.case-study-sharik .impact-section {
  padding: 60px 0;
}

.case-study-sharik .impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.case-study-sharik .impact-col {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-study-sharik .impact-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #101828;
  margin: 0;
}

.case-study-sharik .impact-text {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans';
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.18px;
  color: #475467;
  margin: 0;
}

.case-study-sharik .impact-image {
  width: 100%;
}

.case-study-sharik .impact-image img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  display: block;
}

.case-study-sharik .impact-col-right .impact-image-right img {
  aspect-ratio: 4 / 4.1;
  object-fit: cover;
}

.case-study-sharik .impact-col-left .impact-image-bottom img {
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .case-study-sharik .impact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-sharik .impact-col-right {
    order: -1;
  }

  .case-study-page .case-study-hero-section {
    padding: 0; 
  }
}

/* Center menu items horizontally on desktop */
@media (min-width: 992px) {
  .navbar .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  /* Pin actions (Contact Us) to the right edge on desktop */
  .navbar .navbar-actions {
    position: absolute;
    right: 12px; /* align within container padding on large screens */
    top: 50%;
    transform: translateY(-50%);
  }
  .navbar .contact-btn { white-space: nowrap; }
}

/* Revert logo position on desktop: align left as original */
@media (min-width: 992px) {
  .navbar .center-brand { position: static; transform: none; z-index: auto; }
}

.navbar .nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--purple-primary) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--purple-primary) !important;
}

/* Full-screen overlay for expanded mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1020; /* below navbar (fixed-top) but above page content */
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* Navbar toggler tweaks */
.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:focus-visible,
.navbar .navbar-toggler:active {
  box-shadow: none;
}

/* Make the hamburger icon solid white (override Bootstrap default semi-transparent) */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Solid navbar when mobile menu is open */
#navbar.menu-open { background-color: var(--primary-color) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Mobile menu layout and design */
@media (max-width: 991px) {
  /* Make navbar always solid on mobile */
  .navbar { background-color: var(--primary-color) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Slide-in drawer for the collapse */
  .navbar .navbar-collapse {
    position: fixed;
    /* Offset below header so it doesn't cover brand/logo */
    --navbar-h: 50px;
    top: var(--navbar-h);
    right: 0;
    left: auto;
    bottom: 0;
    width: 80%;
    max-width: 360px;
    background: var(--primary-color);
    padding: 24px; /* inner spacing */
    box-shadow: -8px 0 24px rgba(0,0,0,0.35);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1040; /* above overlay */
  }
  .navbar .navbar-collapse.show { transform: translateX(0); }

  /* Ensure header stays visible and toggler above drawer */
  .navbar { min-height: var(--navbar-h, 50px); }
  /* Reduce brand logo size on mobile */
  .navbar .navbar-brand img { height: 30px !important; }
  .navbar .navbar-toggler { position: relative; z-index: 1050; border-color: rgba(255,255,255,0.4); padding: 0.25rem 0.5rem; }
  .navbar .navbar-toggler-icon { width: 20px; height: 20px; background-size: 20px 20px; }
  .navbar .container {
    align-items: center;
  }
  .navbar .navbar-brand {
    order: 1;
  }
  .navbar .navbar-mobile-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    order: 2;
  }
  .navbar .language-toggle-mobile {
    display: inline-flex;
    align-items: center;
    padding: 4px;
  }
  .navbar .language-toggle-mobile .language-text {
    display: none;
  }
  .navbar .language-toggle-mobile .language-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Stack menu items vertically with spacing */
  .navbar .navbar-nav { flex-direction: column; gap: 12px; }
  .navbar .nav-link { color: var(--text-light); font-size: 18px; padding: 12px 0; }
  .navbar .nav-link:hover { color: var(--purple-primary) !important; }

  /* Actions at bottom of drawer */
  .navbar .navbar-actions {
    margin-top: 24px;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    height: auto;
  }
  .navbar .language-toggle { font-size: 18px; gap: 10px; }
  .navbar .contact-btn {
    width: auto;
    flex: none;
    padding: 10px 24px;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  body.rtl .navbar .navbar-mobile-controls {
    margin-left: 0;
    margin-right: auto;
    flex-direction: row-reverse;
    order: 1;
  }
  body.rtl .navbar .navbar-brand {
    order: 2;
  }
  body.rtl .navbar .language-toggle-mobile {
    padding: 4px;
  }
  body.rtl .navbar .navbar-toggler {
    margin-right: 0;
  }
  body.rtl .navbar .navbar-collapse {
    right: auto;
    left: 0;
    box-shadow: 8px 0 24px rgba(0,0,0,0.35);
    transform: translateX(-100%);
  }
  body.rtl .navbar .navbar-collapse.show { transform: translateX(0); }
}

@media  (min-width: 769px){
  .container { padding-left: 24px !important; padding-right: 24px !important; }
  .navbar .navbar-actions { right: 24px; }
}
/* Readability + navbar tweaks around 1024px screens */
@media  (min-width: 769px) and (max-width: 1200px) {
  /* Slightly smaller logo and nav to avoid wrapping */
  .navbar .navbar-brand img { height: 32px; }
  .navbar .navbar-nav { gap: 20px; }
  .navbar .nav-link { font-size: 15px; padding: 10px 0; white-space: nowrap; }
  .navbar .contact-btn { padding: 8px 16px; font-size: 15px; }
}


.navbar .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border: 1.5px solid rgba(230, 231, 233, 0.85) !important;
    border-radius: 999px;
    color: #E6E7E9;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar .contact-btn:hover,
.navbar .contact-btn:focus {
  background: #ffffff;
  border-color: #ffffff !important;
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: url('assets/hero_bg.webp') no-repeat center center/cover;
    height: 100vh;
    color: var(--text-light);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 13, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.hero-content {
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 1000px;
    margin: 20px  auto 24px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
    max-width: 660px;
    margin: 0 auto 52px;
}

.hero-btn {
    padding: 20px 85px;
    font-size: 1.1rem;
    font-weight: 600 !important;
    background-color: #F3F4F3;
    border: none;
    color: var(--purple-primary);
    position: relative;
    overflow: hidden; /*visible; /* allow outer ring to render */
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--purple-primary);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(12px);
    animation: hero-ring-spin 2s linear infinite;
    animation-play-state: paused; /* run only on hover */
    opacity: 0;
    transition: opacity 0.2s ease;
}
@media (max-width: 992px) {
    .hero-btn {
        padding: 15px 50px;
        font-size: 1rem;   
    }
    .hero-btn::before {
        opacity: 1;
        animation-play-state: running;
    }
}

@keyframes hero-ring-spin {
    0% {
        left: 0;
        top: 0;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    35% {
        left: 100%;
        top: 0;
        transform: translate(-50%, -50%) rotate(180deg);
    }
    50% {
        left: 100%;
        top: 100%;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    85% {
        left: 0;
        top: 100%;
        transform: translate(-50%, -50%) rotate(270deg);
    }
}

/* Reveal and run the animation on hover only */
.hero-btn:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.hero-btn::after {
    content: "";
    position: absolute;
    /* inset: -4px;
    border-radius: 999px;
    border: 1px solid #FFFFFF;
    pointer-events: none; */
    top: 3.6%;
    left: 0.7%;
    width: 98.6%;
    height: 92%;
    background: rgb(255, 255, 255);
    border-radius: inherit;
}

.hero-btn:hover {
    background-color: #F3F4F3;
    color: var(--purple-primary-dark) !important;
}

.hero-btn span {
    position: relative;
    z-index: 1;
}

.hero-cta {
  background: var(--gray-100);
  color: var(--primary-color);
  border: none;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  transform: scale(1);
  position: relative;
  z-index: 2;
}

.hero-cta:hover {
  background: white;
  transform: scale(1.05);
}

/* Model Section */
#model {
    position: relative;
    /*background-color: var(--secondary-color);*/
    background-image: linear-gradient(to top, #DEDEDE 0%, #FFFFFF 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: bottom;
}

/* Removed overlay to keep gradient in the background, not over content */

#model .container {
    position: relative;
}
#about, #news {
  background-color: #0D0913 !important;
  padding: 24px 0 0 !important;
}
#ventures {
    overflow-x: hidden;
    background-color: #fbfbfb !important;
    padding: 34px 0px !important;
}
#ventures .section-title {
  padding-top: 30px !important;
}
#model, #news {
    padding: 64px 0px !important;
}

/* Our Approach: stack and center actions on mobile */
@media (max-width: 991px) {
  #model .action-buttons { text-align: center; }
  #model .action-buttons .btn { width: auto}
}

/* Innovation Section */
#innovation {
  padding: 96px 0;
  position: relative;
  background: #ffffff;
}

.innovation-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.innovation-supporting {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 30px;
  max-width: 560px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 32px;
}

.innovation-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
}

.innovation-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #7C54D4 0%, #30244C 100%);
  border-radius: 8px;
  color: #fff;
  flex-shrink: 0;
}

.innovation-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
}

.innovation-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.innovation-partners .partners-card {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 32px 24px 40px;
  position: relative;
  overflow: hidden;
  /* layout variables to position connector lines through centers */
  --pad-x: 0px;          /* horizontal padding of card */
  --pad-top: 0px;        /* top padding of card */
  --cols: 3;              /* number of columns */
  --rows: 4;              /* number of rows */
  --gap-x: 48px;          /* column gap */
  --gap-y: 32px;          /* row gap */
  --tile: 130px;          /* tile size (height == width visually) */
  --line-inset: 32px;     /* trim horizontal lines away from left/right edges */
  --col-w: calc((100% - (2 * var(--pad-x)) - ((var(--cols) - 1) * var(--gap-x))) / var(--cols));
}

/* Override padding when scrolling variant is used */
.innovation-partners .partners-card.is-scrolling {
  /* padding: 0 64px; */
}

.partners-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
  justify-items: center;
  position: relative;
  z-index: 1; /* ensure tiles draw above lines */
}

.partner-tile {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 1.5px 3px rgba(16,24,40,0.05);
}

.partner-tile img {
  width: 128px;
  max-height: 128px;
  object-fit: contain;
  opacity: 0.9;
}

/* Connector lines overlay */
.network-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.network-lines .v-line,
.network-lines .h-line { position: absolute; background: rgba(122, 102, 226, 0.25); }

/* vertical lines through each column center */
.network-lines .v-line { width: 1px; top: var(--pad-top); bottom: 56px; }
.network-lines .v1 { left: calc(var(--pad-x) + (var(--col-w) / 2)); }
.network-lines .v2 { left: calc(var(--pad-x) + (var(--col-w) + var(--gap-x)) + (var(--col-w) / 2)); }
.network-lines .v3 { left: calc(var(--pad-x) + 2 * (var(--col-w) + var(--gap-x)) + (var(--col-w) / 2)); }

/* horizontal lines through each row center */
.network-lines .h-line { height: 1px; left: calc(var(--pad-x) + var(--line-inset)); right: calc(var(--pad-x) + var(--line-inset)); }
.network-lines .h1 { top: calc(var(--pad-top) + (var(--tile) / 2)); }
.network-lines .h2 { top: calc(var(--pad-top) + (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h3 { top: calc(var(--pad-top) + 2 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h4 { top: calc(var(--pad-top) + 3 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h5 { top: calc(var(--pad-top) + 4 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h6 { top: calc(var(--pad-top) + 5 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h7 { top: calc(var(--pad-top) + 6 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h8 { top: calc(var(--pad-top) + 7 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h9 { top: calc(var(--pad-top) + 8 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h10 { top: calc(var(--pad-top) + 9 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h11 { top: calc(var(--pad-top) + 10 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h12 { top: calc(var(--pad-top) + 11 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h13 { top: calc(var(--pad-top) + 12 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h14 { top: calc(var(--pad-top) + 13 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h15 { top: calc(var(--pad-top) + 14 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }
.network-lines .h16 { top: calc(var(--pad-top) + 15 * (var(--tile) + var(--gap-y)) + (var(--tile) / 2)); }





/* Vertical auto-scrolling setup */
.partners-card.is-scrolling { overflow: hidden; }
.vertical-scroller { height: 500px; overflow: hidden; position: relative; }
.vertical-track { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: var(--gap-y); animation: scroll-vertical 28s linear infinite; }
.vertical-track .network-lines { position: absolute; inset: 0; z-index: 0; }
.vertical-track .partners-grid-lg { position: relative; z-index: 1; }
.vertical-track:hover { animation-play-state: paused; }

@keyframes scroll-vertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.partners-caption {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  font-size: 12px;
  color: #5F645F;
}

.section-content {
  margin-bottom: 32px;
}

.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.action-buttons .btn,
#news .btn-dark {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.18px;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* News CTA color */
#news .btn-dark {
  background-color: #7C54D4;
  border-color: #7C54D4;
  color: #fff;
}

/* Primary CTA color override */
.action-buttons .btn-dark {
  background-color: #7C54D4;
  border-color: #7C54D4;
  color: #fff;
}

#news .btn-show-more {
    padding: 0 55px;
}

.action-buttons .btn-outline-dark:hover,
#news .btn-dark:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#news .btn-dark:hover {
  background-color: #6E47CC;
  border-color: #6E47CC;
  box-shadow: 0 4px 12px rgba(124, 84, 212, 0.35);
}

.action-buttons .btn-dark:hover {
  /* transform: translateY(-2px); */
  /*box-shadow: 0 4px 12px rgba(124, 84, 212, 0.35);*/
  background-color: #6E47CC;
  border-color: #6E47CC;
  color: #fff;
}

/* Feature Cards */
.feature-card {
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  text-align: left;
  background-color: #F9FAFB;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}

body.rtl .feature-card {
  text-align: right;
}

/*.feature-card:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);*/
/*}*/

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(to top, #F9FAFB, #DEDEDE);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--primary-color);
}

.feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
  margin-bottom:0%!important;

}

/* Ventures Section */
.ventures-carousel {
  position: relative;
  overflow: hidden;
  margin: -20px -20px 0px; /* Negative margin to counteract padding */
  padding: 20px;
}

.ventures-track {
  display: flex;
  gap: 48px;
  transition: transform 0.5s ease;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ventures-carousel:hover .ventures-track {
    animation-play-state: paused;
}

.venture-card {
  width: 340px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.venture-image:hover {
  padding: 10%;
}

.venture-image {
  width: 100%;
  height: 340px;
  background: var(--gray-50);
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  padding: 12px;
  transition: padding 0.5s ease-in-out;
}

.venture-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.venture-category {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: none;
}

.venture-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.venture-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.venture-arrow {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
  flex-shrink: 0;
}

.venture-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.carousel-navigation {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

body.rtl .carousel-navigation {
  direction: rtl;
  justify-content: flex-start;
}

body.rtl .carousel-btn {
  transform: scaleX(-1);
}

.carousel-btn {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.carousel-btn:hover {
  background: var(--gray-50);
  color: var(--text-dark);
}

/* Video Section */
.video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=800&h=450&fit=crop') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-thumbnail:hover {
  opacity: 0.9;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* News Section */
.news-card {
  display: flex;
  gap: 24px;
  padding: 0;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-image {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

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

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

.news-date {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  border-top: 0.5px solid #fff;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.news-content p {
  color: #B5B7B5;
  font-size: 14px;
  line-height: 1.5;
}

/* Team Section */
#team {
  padding: 96px 0!important;
}

#team .text-muted {
    font-size: 20px;
    max-width: 700px;
    color: #475467;
    margin: 24px auto 24px;
}

.team-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-in-out;
}

/* Bottom overlay like Figma spec */
.team-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #574078 100%); pointer-events: none; transition: height 0.35s ease, background 0.35s ease; }
.team-card:hover .team-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(124, 84, 212, 0.65) 100%); }

/*.team-card:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);*/
/*}*/

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
}

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(185deg, rgba(0, 0, 0, 0.60) -23.16%, rgba(122, 88, 195, 0.60) 95.82%);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  transition: height 0.35s ease;
  z-index: 2;
  border-top: 0.3px solid #8b8b8bbd;
}

/*.team-card:hover .team-info {*/
/*  height: 80%;*/
/*}*/

.team-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  /* line-height: 24px;
  min-height: 48px; */
  margin-bottom: 20px;
  white-space: nowrap;         /* keep full name on first line */
}

/* Team name size between 1200px and 1400px */
@media (min-width: 1200px) and (max-width: 1400px) {
  .team-name { font-size: 14px; }
}

/* Ensure team-name size applies in this band even if later rules load */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .team-name { font-size: 14px !important; }
}

.team-role-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.team-role {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  color: #ffffff;
}

.team-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}
.team-card:hover .team-bio { opacity: 0.95; max-height: 200px; margin: 12px 0 0;}

.linkedin-icon {
  color: #fff;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.linkedin-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.linkedin-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  opacity: 0.6;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  max-height: 60px;
  width: auto;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(269.63deg, #0D0913 -51.07%, #754FC7 99.61%);}

.newsletter-logo {
  height: 38px;
  margin-bottom: 32px;
}

.newsletter-form .input-group {
  max-width: 482px;
  border-radius: 50px;
  overflow: hidden;
  margin-left: auto;
}

.newsletter-form .form-control {
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 50px 0 0 50px;
  padding: 16px 24px;
  font-size: 16px;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 16px 24px;
  font-weight: 600;
  background: #7C54D4;
  border-color: #7C54D4;
  color: #ffffff;
}

/* Footer */
.footer-section { position: relative; overflow: hidden; background: #0D0B11; padding: 64px 0 24px; margin-top: auto; }

.footer-background {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background: url('../images/pattern.svg') center/cover no-repeat,
              radial-gradient(1000px 400px at 50% 0%, rgba(124,84,212,0.15), transparent);
}

.footer-top { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.footer-logo-text { position: relative; width: 140px; height: 48px; text-align: center; }
.footer-logo-word { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 0.07em; color: #E7E8E7; }
.footer-logo-tag { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase; color: #E7E8E7; margin-top: -6px; }
.footer-nav { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 32px; }

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: white;
}

.footer-bottom { margin-top: 32px; }
.footer-divider { width: 100%; height: 1px; background: #B5B7B5; opacity: 0.6; margin: 24px 0; }
.footer-copy { color: #B5B7B5; text-align: center; }

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: rgba(7, 10, 7, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-view-all {
    background-color: #7C54D4;
    border-color: #7C54D4;
    color: #fff;
    padding: 13px 24px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #6E47CC;
    border-color: #6E47CC;
    color: #fff;
    box-shadow: 0 4px 12px rgba(124, 84, 212, 0.35);
}

body.rtl .col-12.col-lg-3.text-center {
  text-align: left !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
    max-width: 850px;
  }

  /* Partners grid sizing at <=1200px */
  .innovation-partners .partners-card {
    --tile: 110px;    /* drive connector line math */
    --gap-x: 20px;
    --gap-y: 16px;
    --line-inset: 20px;
  }
  .partners-grid-lg { grid-template-columns: repeat(3, 1fr); column-gap: 20px; row-gap: 16px; }
  .partner-tile { width: 110px; height: 110px; }
  .partner-tile img { max-width: 88px; max-height: 88px; }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
    max-width: 600px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .ventures-track { gap: 24px; }
  .venture-card { width: 300px; }
  .venture-image { height: 300px; }

  
  .action-buttons {
    justify-content: center;
  }

  .news-card {
    flex-direction: column;
    text-align: center;
  }
  
  .news-image {
    width: 100%;
    height: 200px;
  }
}

/* At <=1024px: show 2 partner tiles per row; keep innovation layout as two columns down to 768px */
@media (max-width: 1024px) {
  .innovation-partners .partners-card { --gap-x: 16px; --gap-y: 16px; --line-inset: 16px; }
  .partners-grid-lg { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 16px; }
  /* Use 2 columns for connector math and hide the third vertical guide */
  .innovation-partners .partners-card { --cols: 2; }
  .innovation-partners .network-lines .v3 { display: none; }
}

/* Keep the Innovation section as two columns between 769px and 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  #innovation .innovation-row { display: flex; flex-wrap: nowrap; gap: 24px; }
  #innovation .innovation-row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  
  .venture-card { width: 260px; }
  .venture-image { height: 240px; }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* Innovation responsive */
  #innovation { padding: 72px 0; }
  .partners-grid-lg { grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 16px; }
  .partner-tile { width: 120px; height: 120px; }
  /* Partners grid sizing at <=768px */
  .innovation-partners .partners-card { --tile: 120px; --gap-x: 20px; --gap-y: 16px; --line-inset: 20px; }
  /* Center overlay content (lines) */
  .innovation-partners .network-lines { display: grid; place-items: center; }

  /* Partners scroller and connectors at <=768px */
  .vertical-scroller { height: 400px; }
  /* Adjust horizontal connector lines for small screens */
  .innovation-partners .network-lines .h-line {
    left: calc(var(--pad-x) + 50px);
    right: calc(var(--pad-x) + 50px);
  }
  /* Add space above partners block */
  .innovation-partners { margin-top: 32px; }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Keep pill, single-row input group like tablet/desktop */
  .newsletter-form .input-group {
    flex-direction: row;
    align-items: stretch;
    border-radius: 50px;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    gap: 0;
  }

  .newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border-right: none;
    padding: 12px 16px; /* slightly reduced height */
    flex: 1 1 auto;
    min-width: 0; /* prevent overflow */
  }

  .newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    margin-top: 0;
    width: auto;
    padding: 12px 16px; /* slightly reduced height */
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 14px; /* smaller button text */
  }
}

/* Phone sizes: ensure full-width and no overflow */
@media (max-width: 767.98px) {
  .newsletter-form { width: 100% !important; max-width: 100% !important; }
  .newsletter-form .input-group { width: 100%; }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199.98px) {
  .newsletter-form .input-group { max-width: 560px; width: 100%; }
}

@media (max-width: 576px) {
  /* Our Approach feature cards: compact on small screens */
  #model .feature-card { padding: 16px; }
  #model .feature-icon { width: 36px; height: 36px; margin-bottom: 16px; }
  #model .feature-icon img { width: 20px; height: 20px; }
  #model .feature-card h4 { font-size: 18px; margin-bottom: 8px; }
  #model .feature-card p { font-size: 14px; line-height: 1.5; }

  .hero-section {
    height: 600px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .venture-card { width: 240px; }
  .venture-image { height: 220px; }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
  /* Innovation extra small */
  .innovation-heading { font-size: 28px; line-height: 36px; }
  .innovation-supporting { font-size: 16px; line-height: 24px; }
  .partners-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .partner-tile img { max-width: 90px; }

}



.btn-pitch {
    border-radius: 25px;
    padding: 10px 35px;
    background-color: #F3F4F3 !important;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-pitch:hover {
    background-color: #e0e0e0 !important;
    color: var(--primary-color);
}

/* Vision CTA (replaces video testimonial) */
.vision-section { background: #0D0913; color: #E7E8E7; }
.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.about-left { flex: 1; display: flex; flex-direction: column; gap: 35px; }
.about-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.6px;
  color: #E7E8E7;
  margin: 0;
}
.about-supporting {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #E7E8E7;
  margin: 0;
  max-width: 705px;
}
.btn-vision {
  max-width: 204px;
  background: #7C54D4;
  color: #fff;
  border-radius: 999px;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.18px;
  border: none;
}
.btn-vision:hover { background: #6E47CC; }
.about-right { width: 401px; height: 547px; flex: none; }
.about-image { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Vision: keep side-by-side down to 768px; stack below */
@media (max-width: 768px) {
  .about-content { flex-direction: column; align-items: center; text-align: center; }
  .about-left { align-items: center; }
  .about-supporting { text-align: center; }
  .btn-vision { align-self: center; }
  .about-right { width: 100%; max-width: 360px; height: auto; }
  .about-image { height: auto; max-height: 360px; object-position: center top; }
  .innovation-left { padding-right: 0 !important; }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    inset: 0; /* shorthand for top/left/right/bottom 0 */
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow-y: auto; /* allow vertical scroll inside overlay */
    overflow-x: hidden; /* prevent horizontal scroll */
    padding: 0 16px 16px; /* breathing room like Bootstrap modal */
}

.modal-overlay.active {
    display: flex;
}

body.rtl .modal-header .btn-close {
  margin: 0;
}

.modal-container {
    background: #ffffff;
    border-radius: 16px; /* 4 directions */
    padding: 0;
    width: 100%;
    max-width: 500px; /* requested max width */
    max-height: calc(100vh - var(--modal-top-offset, 68px) - 32px);
    overflow-y: auto;
    position: relative;
    margin: 0 auto; /* centered horizontally */
    margin-top: var(--modal-top-offset, 68px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #E5E7EB;
    position: sticky; /* keep header visible during scroll */
    top: 0;
    z-index: 2;
    background: #ffffff;
}
.modal-body {
    margin-top: 15px;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #F3F4F6;
    color: #374151;
}

.modal-backdrop {
    top: 0 !important;
    height: 100% !important;
}

.modal {
    padding: 0;
}

.modal-dialog {
    margin: var(--modal-top-offset, 68px) auto 16px;
    max-height: calc(100vh - var(--modal-top-offset, 68px) - 16px);
    display: flex;
    flex-direction: column;
}

.modal-dialog .modal-content {
    border-radius: 16px;
    overflow: hidden;
    max-height: calc(100vh - var(--modal-top-offset, 68px) - 16px);
    display: flex;
    flex-direction: column;
}

.modal-dialog .modal-body {
    overflow-y: auto;
}

.contact-form {
    /*padding: 0 32px 32px;*/
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 32px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    line-height: 20px;
}

.required-asterisk {
    color: #E11900;
    margin-left: 4px;
    font-size: inherit;
}

.form-field input,
.form-field textarea,
.form-field select {
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #D0D5DD;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #111827;
    background: #FFFFFF;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s ease;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #7C54D4;
    box-shadow: 0 0 0 3px rgba(124, 84, 212, 0.1);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 42px;
}

.form-field select option {
    padding: 8px;
}

.error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.field-error {
    color: #EF4444;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-field input.error,
.form-field textarea.error,
.form-field select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.form-field textarea {
    border-radius: 24px;
    resize: vertical;
    min-height: 134px;
    line-height: 24px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #667085;
}

.form-submit-btn {
    width: 100%;
    height: 56px;
    background: #7C54D4;
    border: none;
    border-radius: 999px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit-btn:hover {
    background: #6B46C1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 84, 212, 0.3);
}

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

/* Pitch Modal Specific Styles */
.pitch-form {
    padding: 0 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-body .pitch-form {
    padding: 0;
}

.modal-body .pitch-form .upload-section {
    margin-top: 0;
}

.modal-footer .form-submit-btn {
    width: auto;
    padding: 12px 28px;
}

.upload-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upload-title {
    font-family: 'Mulish', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    color: #0F0F0F;
    margin: 0;
}

.file-upload-area {
    position: relative;
    width: 100%;
    height: 202px;
    background: rgba(124, 84, 212, 0.1);
    border: 1px dashed #7C54D4;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    background: rgba(124, 84, 212, 0.15);
    border-color: #6B46C1;
}

.file-upload-area.dragover {
    background: rgba(124, 84, 212, 0.2);
    border-color: #5A3A9E;
}

.upload-icon {
    margin-bottom: 16px;
    color: var(--purple-primary);
}

.upload-text {
    margin-bottom: 8px;
}

.upload-main-text {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #0F0F0F;
}

.browse-text {
    color: #7C54D4;
}

.upload-info {
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #676767;
    text-align: center;
}

.file-selected {
    background: rgba(124, 84, 212, 0.2);
    border-color: #5A3A9E;
}

.file-selected .upload-main-text {
    color: #7C54D4;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        max-width: 100%;
        margin: 24px auto; /* preserve breathing room on phones */
        border-radius: 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .modal-header {
        padding: 24px 24px 0;
    }

    .pitch-form {
        padding: 0 24px 24px;
    }

    .file-upload-area {
        height: 180px;
    }
}

/* Contact Page Styles */
.contact-header {
    background: #0D0B11;
    padding: 0;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 4.34px;
    position: relative;
}

.logo-container {
    position: relative;
    width: 140px;
    height: 37px;
}

.logo-text {
    font-family: 'FONTSPRING DEMO - Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 30.185px;
    line-height: 37px;
    letter-spacing: 0.07em;
    color: #E7E8E7;
    width: 140px;
    height: 37px;
}

.logo-icon {
    position: absolute;
    width: 22.37px;
    height: 3.92px;
    left: -0.46px;
    top: 15.99px;
    background: #0D0D0D;
    border-radius: 1.2357px 0px 0px 1.2357px;
}

.ventures-text {
    position: absolute;
    width: 80px;
    height: 17px;
    left: 59.29px;
    top: 31.06px;
    font-family: 'FONTSPRING DEMO - Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 14.1176px;
    line-height: 17px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #E7E8E7;
}

.navigation {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.18px;
    color: #E7E8E7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-btn {
    padding: 16px;
    border: 1px solid #FFFFFF;
    border-radius: 999px;
    background: transparent;
    color: #E7E8E7;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.18px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 128px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-main {
    background: #FFFFFF;
    min-height: 100vh;
    padding: 74px 0;
}

.back-link {
    margin-bottom: 76px;
}

.back-btn {
  width: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #D8D9D9;
    border-radius: 99px;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    text-decoration: none;
    color: #1C2628;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #F9FAFB;
    color: #1C2628;
}

.page-title-section {
    margin-bottom: 76px;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.64px;
    color: #33264A;
    margin-bottom: 24px;
}

.page-subtitle {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: #404640;
    margin: 0;
}

.subtitle-text.bold {
    font-weight: 700;
}

.contact-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.contact-form-section {
    flex: 1;
    max-width: 529px;
}

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

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 32px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-field.full-width {
    flex: 1;
}

.form-field label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 10px 14px;
    border: 1px solid #D0D5DD;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #111827;
    background: #FFFFFF;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s ease;
    outline: none;
}

.form-field textarea {
    border-radius: 24px;
    resize: vertical;
    min-height: 134px;
    line-height: 24px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #7C54D4;
    box-shadow: 0 0 0 3px rgba(124, 84, 212, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #667085;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
}

.submit-btn {
    width: 529px;
    height: 56px;
    background: #7C54D4;
    border: none;
    border-radius: 999px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #6B46C1;
    /*transform: translateY(-2px);*/
    /*box-shadow: 0 8px 25px rgba(124, 84, 212, 0.3);*/
}

.contact-info-section {
    flex: 1;
    max-width: 718px;
    background: #F9FAFB;
    border-radius: 16px;
    padding: 48px;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #0F160F;
    margin: 0 0 8px 0;
}

.contact-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #101810;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.contact-footer {
    background: #0D0B11;
    color: #E7E8E7;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    padding: 64px 0 24px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 4.34px;
    position: relative;
}

.footer-logo-container {
    position: relative;
    width: 140px;
    height: 37px;
}

.footer-logo-text {
    font-family: 'FONTSPRING DEMO - Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 30.185px;
    line-height: 37px;
    letter-spacing: 0.07em;
    color: #E7E8E7;
    width: 140px;
    height: 37px;
}

.footer-logo-icon {
    position: absolute;
    width: 22.37px;
    height: 3.92px;
    left: -0.46px;
    top: 15.99px;
    background: #0D0D0D;
    border-radius: 1.2357px 0px 0px 1.2357px;
}

.footer-ventures {
    position: absolute;
    width: 80px;
    height: 17px;
    left: 59.29px;
    top: 31.06px;
    font-family: 'FONTSPRING DEMO - Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 14.1176px;
    line-height: 17px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #E7E8E7;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #E7E8E7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #7C54D4;
}

.footer-social {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.footer-social-icon:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid #B5B7B5;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #B5B7B5;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #B5B7B5;
    margin: 0;
}

/* Contact Page Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        gap: 48px;
    }

    .contact-form-section,
    .contact-info-section {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .submit-btn {
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 24px;
        padding: 16px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .contact-main {
        padding: 32px 0;
    }

    .page-title {
        font-size: 32px;
        line-height: 42px;
    }

    .subtitle-text {
        font-size: 18px;
        line-height: 26px;
    }

    .contact-info-section {
        padding: 32px 24px;
    }

    .footer-content {
        padding: 0 16px;
    }
}

/* Adeer Case Study Styles */
/* Custom Variables for Adeer Case Study */
:root {
    --primary-color: #000;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --text-white-75: rgba(255, 255, 255, 0.75);
    --text-white-50: rgba(255, 255, 255, 0.5);
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.text-white-75 {
    color: var(--text-white-75) !important;
}

.text-white-50 {
    color: var(--text-white-50) !important;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 2.5rem;
    width: 9rem;
}

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

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
}

.logo-line {
    width: 1.5rem;
    height: 2px;
    background-color: #6c757d;
    margin-top: 0.25rem;
}

/* Back Button */
.back-btn {
    transition: var(--transition);
    border-radius: 99px !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.back-btn:hover {
    background-color: var(--light-bg);
    /*transform: translateX(-2px);*/
}

/* Hero Section */
.platform-badge {
    font-weight: 600 !important;
    border: 1px solid #d8d9d9 !important;
    background: #F7F7F7;
    padding: 12px 16px !important;
}

.main-title {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-size: 30px;
}

/* App Store Buttons */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 172px;
    height: 47px;
    padding: 0 16px;
    background-color: #000;
    border-radius: 106px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    direction: ltr;
}

.store-badge img {
    flex-shrink: 0;
}

.store-badge .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #fff;
}

.store-badge .badge-top {
    font-size: 9px;
    letter-spacing: 0.5px;
    color: #ffffff;
    opacity: 0.72;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.store-badge .badge-bottom {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.store-badge:hover {
    background-color: #111;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.website-btn {
    background-color: #0F160F;
    transition: var(--transition);
    font-weight: 500;
    height: 47px;
}

.website-btn:hover {
    background-color: #000 !important;
    box-shadow: var(--shadow-md);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
}

/* New Features Section */
.features-section-new {
    padding: 20px 0 0;
    background: #ffffff;
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 904px;
    text-align: center;
}

.features-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    letter-spacing: -0.6px;
    color: #101828;
    margin: 0;
}

.features-description {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    letter-spacing: -0.2px;
    color: #404640;
    margin: 0;
    max-width: 586px;
}

.features-media {
    width: 100%;
    max-width: 948px;
    height: 451px;
    border-radius: 16px;
    overflow: hidden;
}

.features-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.phone-mockup {
    aspect-ratio: 9/16;
    max-width: 20rem;
    margin: 0 auto;
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    aspect-ratio: 9/16;
    overflow: hidden;
}

.phone-screen-img {
    transition: var(--transition);
}

.phone-mockup:hover .phone-screen-img {
    transform: scale(1.05);
}

/* Challenge Section */

.challenge-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /*transition: var(--transition);*/
}

.challenge-image:hover {
    /*transform: translateY(-4px);*/
    /*box-shadow: var(--shadow-md);*/
}

.challenge-img {
    transition: var(--transition);
    object-fit: cover;
    width: 100%;
    /*height: 100%;*/
}

.challenge-image:hover .challenge-img {
    /*transform: scale(1.02);*/
}

.challenge-list li {
    position: relative;
    padding-left: 1rem;
}

.challenge-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Solution Section */
.solution-section {
    padding: 6rem 0;
}

.feature-card {
    transition: var(--transition);
    /* border-radius: var(--border-radius-xl) !important; */
    height: 100%;
}

/*.feature-card:hover {*/
/*    transform: translateY(-4px);*/
/*    box-shadow: var(--shadow-md);*/
/*}*/

.feature-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
}

.dashboard-mockup {
    min-height: 500px;
    position: relative;
    transition: var(--transition);
}

.dashboard-mockup:hover {
    box-shadow: var(--shadow-md);
}

.phone-mockup-small {
    max-width: 12rem;
    transition: var(--transition);
}

.phone-mockup-small:hover {
    transform: scale(1.05);
}

.mockup-img {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.phone-mockup-small:hover .mockup-img {
    box-shadow: var(--shadow-md);
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
}

.metrics-grid {
    padding: 2rem 0;
}

.metric-item {
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.metric-item:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

.metric-number {
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.metric-item:hover .metric-number {
    color: #0d6efd;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.contact-btn {
    transition: var(--transition);
    font-weight: 600;
    border-radius: 999px !important;
}


/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.count-animation {
    animation: countUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.back-btn:focus,
.social-icon:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Custom Bootstrap Overrides */
.btn {
    font-weight: 700;
    transition: var(--transition);
}

.btn:hover {
  color: var(--text-light);
    /* transform: translateY(-1px); */
}

.card {
    border: none !important;
    box-shadow: var(--shadow-sm);
}

.rounded-4 {
    border-radius: var(--border-radius-xl) !important;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    .phone-mockup,
    .phone-mockup-small {
        display: none !important;
    }

    .bg-light,
    .bg-dark {
        background: white !important;
        color: black !important;
    }

    .text-white,
    .text-white-75,
    .text-muted {
        color: black !important;
    }
}

/* Adeer Case Study Responsive */
@media (max-width: 768px) {
    .features-section,
    .challenge-section,
    .solution-section,
    .impact-section,
    .cta-section {
        padding: 4rem 0;
    }

    /* New Features Section Responsive */
    .features-section-new {
        padding: 32px 0 64px;
    }

    .features-content {
        gap: 20px;
        padding: 0 16px;
    }

    .features-header {
        gap: 16px;
    }

    .features-title {
        font-size: 28px;
        line-height: 36px;
    }

    .features-description {
        font-size: 18px;
        line-height: 26px;
    }

    .features-media {
        height: 300px;
    }

    .main-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        max-width: 16rem;
    }

    .phone-mockup-small {
        max-width: 10rem;
    }

    .dashboard-mockup {
        min-height: 300px;
        padding: 2rem !important;
    }

    .challenge-image {
        aspect-ratio: 1;
        height: 290px;
        width: 100%;
    }

    .metrics-grid {
        padding: 1rem 0;
    }

    .metric-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        max-width: 14rem;
    }

    .phone-mockup-small {
        max-width: 8rem;
    }

    .dashboard-mockup {
        min-height: 250px;
        padding: 1rem !important;
    }

    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .app-store-btn,
    .play-store-btn,
    .website-btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem;
    }

    /* New Features Section Mobile */
    .features-section-new {
        padding: 24px 0 48px;
    }

    .features-content {
        gap: 16px;
        padding: 0 12px;
    }

    .features-header {
        gap: 12px;
    }

    .features-title {
        font-size: 24px;
        line-height: 32px;
    }

    .features-description {
        font-size: 16px;
        line-height: 24px;
    }

    .features-media {
        height: 250px;
    }
}



/* Duroob hero (replaces former Framer classes) */
.duroob-hero-root {
  align-content: center;
  align-items: center;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0px;
  height: min-content;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.duroob-hero-root .duroob-hero {
  --border-bottom-width: 1px;
  --border-color: rgba(0, 0, 0, .07);
  --border-left-width: 0px;
  --border-right-width: 0px;
  --border-style: solid;
  --border-top-width: 0px;
  align-content: center;
  align-items: center;
  display: flex;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0px;
  height: 100vh;
  justify-content: center;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 100%;
  direction: ltr;
}
.duroob-hero-root .duroob-background {
  background-color: #0a0a0a;
  bottom: -100px;
  flex: none;
  height: 800px;
  left: calc(50% - 1200px / 2);
  overflow: hidden;
  position: absolute;
  width: 1200px;
  z-index: 0;
}
.duroob-hero-root .duroob-fx-layer {
  flex: none;
  inset: 0;
  overflow: visible;
  position: absolute;
}

.duroob-hero-root #Gradients {
  height: 70vh;
}
.duroob-hero-root .duroob-gradient {
  flex: none;
  inset: 0;
  position: absolute;
  opacity: 1;
  transform: perspective(1200px);
  will-change: transform;
}
.duroob-hero-root .duroob-blur-top {
  -webkit-backdrop-filter: blur(80px);
  backdrop-filter: blur(80px);
  background: linear-gradient(180deg, #0a0a0a, #0000);
  flex: none;
  height: 588px;
  left: 0;
  overflow: visible;
  position: absolute;
  right: 0;
  top: 0;
}
.duroob-hero-root .duroob-particles {
  flex: none;
  height: 588px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  will-change: transform;
}
.duroob-hero-root .duroob-linear-top {
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  background: linear-gradient(180deg, #0a0a0a, #0a0a0a00);
  flex: none;
  height: 100px;
  left: 0;
  overflow: visible;
  position: absolute;
  right: 0;
  top: 0;
}
.duroob-hero-root .duroob-radial-glow {
  -webkit-filter: blur(57px);
  background: radial-gradient(50% 50% at 50% 50%, #ffffff80, #0a0a0a00);
  bottom: 265px;
  filter: blur(57px);
  flex: none;
  height: 111px;
  left: calc(47.9166666667% - 787px / 2);
  overflow: hidden;
  position: absolute;
  width: 787px;
  will-change: transform;
}
.duroob-hero-root .duroob-ellipse-big {
  background: linear-gradient(180deg, #fff, #0a0a0a00);
  border-radius: 100%;
  bottom: -662px;
  flex: none;
  gap: 10px;
  height: 955px;
  left: -443px;
  position: absolute;
  right: -443px;
}
.duroob-hero-root .duroob-ellipse-base {
  aspect-ratio: 2.3468208092 / 1;
  background-color: #0a0a0a;
  border-radius: 100%;
  bottom: -668px;
  box-shadow: inset 0 2px 20px #fff, 0 -10px 50px 1px #ffffff7d;
  flex: none;
  height: 956px;
  left: -521px;
  position: absolute;
  right: -521px;
}
.duroob-hero-root .duroob-fade-overlay {
  align-content: center;
  align-items: center;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0px;
  justify-content: center;
  inset: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
}
.duroob-hero-root .duroob-fade-left {
  background: linear-gradient(90deg, #0a0a0a, #0a0a0a00);
  flex: none;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 600px;
}
.duroob-hero-root .duroob-fade-right {
  background: linear-gradient(270deg, #0a0a0a, #0a0a0a00);
  flex: none;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 600px;
}
/* Responsive overrides for Duroob hero */
@media (max-width: 992px) {
  .duroob-hero-root .duroob-background { bottom: -160px; }
  .duroob-hero-root #Gradients { height: 100vh; }
  .duroob-hero-root .duroob-blur-top { height: 100vh; }
}
/* Gradient cluster container and circles */
#gradient-circles {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 800px;
  pointer-events: none;
}
#gradient-circles .circle {
  position: absolute;
  width: 241.58px;
  height: 241.58px;
  border-radius: 50%;
  opacity: 0.4;
}
.circle-red { background: #D45456; }
.circle-green { background: #27A043; }
.circle-purple { background: #7C54D4; }
.circle-violet { background: #932EFF; }
.circle-cyan { background: #42FFF9; }

/* Stages and overlay canvas */
.duroob-gradient-stage {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(10, 10, 10);
  transform: translateZ(0);
  border-radius: 0;
  position: relative;
}
.duroob-transparent-stage {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
  transform: translateZ(0);
  border-radius: 0;
  position: relative;
}

.duroob-overlay-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
}
/* Character flip effect (inspired by jh3y pen) */
.flip-chars .char,
.flip-chars .char::before,
.flip-chars .char::after {
  transform-style: preserve-3d;
  display: inline-block;
}

.flip-chars .char {
  position: relative;
  color: transparent;
  height: 0.9em;
  line-height: 1;
  vertical-align: middle;
  /* Tweak duration for readability on hero */
  --flip-duration: 2.2s;
  /* Smoothly stagger using the char index provided by Splitting */
  --flip-delay: calc(
    sin((var(--char-index) / var(--char-total)) * 90deg) * (var(--flip-duration) * 0.25)
  );
}

.flip-chars .char::before,
.flip-chars .char::after {
  content: attr(data-char);
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1em;
  width: 100%;
  color: currentColor;
  animation: flip-fade var(--flip-duration) var(--flip-delay) infinite ease;
}

.flip-chars .char::before {
  transform-origin: 50% 50%;
  translate: -50% -50%;
  transform: rotateX(-90deg) translate3d(0, 0, 0.45em);
  opacity: 0;
  --opacity: 1;
}

.flip-chars .char::after {
  translate: -50% -50%;
  transform: translate3d(0, 0, 0.45em);
}

@keyframes flip-fade {
  25%,
  100% {
    transform: rotateX(90deg);
  }
  30%,
  100% {
    opacity: var(--opacity, 0);
  }
}
.flip-chars {
  display: inline-block;
  perspective: 800px;
  perspective-origin: 50% 50%;
}




/* Contact CTA (Adeer case study) */
.contact-cta-section {
    padding: 0px 0 96px;
    background: #FFFFFF;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
    gap: 10px;
    width: 100%;
    border-radius: 16px;
    background: #F9FAFB;
}

.contact-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 720px;
    min-width: 480px;
}

.contact-cta-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.contact-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #101828;
    margin: 0;
}

.contact-cta-paragraph {
    width: 100%;
}

.contact-cta-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.18px;
    color: #475467;
    margin: 0;
    text-align: center;
}

.contact-cta-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-cta-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    gap: 4px;
    width: 286px;
    height: 56px;
    background: #7C54D4;
    color: #FFFFFF;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.18px;
}

/* Dark Quote Section (Adeer Impact replacement) */
.dark-quote-section {
    padding: 0px 0 96px;
    background: #FFFFFF;
}

.dark-quote-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0;
    gap: 10px;
    width: 100%;
    border-radius: 16px;
    background: #0D0913;
}

.dark-quote-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 46px;
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
}

.dark-quote-header {
    width: 100%;
    max-width: 1256px;
    display: flex;
    justify-content: center;
}

.dark-quote-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.dark-quote-rich {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 768px;
    .addtion-head{
        color: white;
        margin-top: 48px;
    }
    .addtion-text{
        color: white;
        margin-top: 12px;
    }
}

.dark-quote-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

@media (max-width: 768px) {
    .dark-quote-section { padding: 64px 0 0}
    .dark-quote-title { font-size: 30px; line-height: 38px; }
    .dark-quote-text { font-size: 18px; line-height: 28px; padding: 0 16px; }
}

@media (max-width: 576px) {
    .dark-quote-section { padding: 48px 0; }
    .dark-quote-text { font-size: 16px; line-height: 24px; }
}
@media (max-width: 768px) {
    .contact-cta-section {
        padding: 64px 0;
    }
    .contact-cta-content {
        min-width: 0;
        padding: 0 16px;
    }
    .contact-cta-title {
        font-size: 30px;
        line-height: 38px;
    }
    .solution-grid-section {
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .contact-cta-section {
        padding: 48px 0;
    }
    .contact-cta-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Solution Grid Section (Figma 1752-4574) */
.solution-grid-section {
    padding: 0  0 96px;
    background: #FFFFFF;
}

.solution-grid-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    .solution-text {
        font-size: larger;
        color: #404640;
    }
}

.solution-grid-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -0.64px;
    color: #101828;
    margin: 0;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.solution-cards {
    grid-template-columns: repeat(4, 1fr);
}

.solution-card {
    background: #F9FAFB;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(180deg, #101828 0%, #7952CF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 24px;
    height: 24px;
}

.solution-card-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.16px;
    color: #475467;
    margin: 0;
}

.solution-mockup {
    background: #F9FAFB;
    border-radius: 16px;
    position: relative;
    height: 441px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-mockup-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .solution-cards { grid-template-columns: repeat(2, 1fr); }
    .solution-card {
        align-items: center;
        text-align: center;
    }
    .solution-card .solution-icon {
        margin: 0 auto;
    }
    .solution-mockup {
        height: 300px;
    }
    .solution-mockup-img {
        max-width: 100%;
        height: 81%;
    }
}

@media (max-width: 576px) {
    .solution-grid-title { font-size: 32px; line-height: 40px; }
    .solution-cards { grid-template-columns: 1fr; }
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 904px;
    text-align: center;
}

.features-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    letter-spacing: -0.6px;
    color: #101828;
    margin: 0;
}

.features-description {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    letter-spacing: -0.2px;
    color: #404640;
    margin: 0;
    max-width: 800px;
}

.features-media {
    width: 100%;
    max-width: 948px;
    height: 451px;
    border-radius: 16px;
    overflow: hidden;
}

.features-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.phone-mockup {
    aspect-ratio: 9/16;
    max-width: 20rem;
    margin: 0 auto;
}

.phone-mockup:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    aspect-ratio: 9/16;
    overflow: hidden;
}

.phone-screen-img {
}

.phone-mockup:hover .phone-screen-img {
    transform: scale(1.05);
}

/* Challenge Section */

.challenge-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-image:hover {

    /*box-shadow: var(--shadow-md);*/
}

.challenge-img {

    object-fit: cover;
    width: 100%;
    /*height: 100%;*/
}

/*.challenge-image:hover .challenge-img {*/
/*    transform: scale(1.02);*/
/*}*/

.challenge-list li {
    position: relative;
    padding-left: 1rem;
}

.challenge-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Solution Section */
.solution-section {
    padding: 6rem 0;
}

.feature-card {
    border-radius: var(--border-radius-xl) !important;
    height: 100%;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
}

.dashboard-mockup {
    min-height: 500px;
    position: relative;
    transition: var(--transition);
}

.dashboard-mockup:hover {
    box-shadow: var(--shadow-md);
}

.phone-mockup-small {
    max-width: 12rem;
    transition: var(--transition);
}

.phone-mockup-small:hover {
    transform: scale(1.05);
}

.mockup-img {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.phone-mockup-small:hover .mockup-img {
    box-shadow: var(--shadow-md);
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
}

.metrics-grid {
    padding: 2rem 0;
}

.metric-item {
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.metric-item:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

.metric-number {
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.metric-item:hover .metric-number {
    color: #0d6efd;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.contact-btn {
    transition: var(--transition);
    font-weight: 600;
    border-radius: 999px !important;
}


/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.count-animation {
    animation: countUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.back-btn:focus,
.social-icon:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Custom Bootstrap Overrides */
.btn {
    font-weight: 700;
    transition: var(--transition);
}

.card {
    border: none !important;
    box-shadow: var(--shadow-sm);
}

.rounded-4 {
    border-radius: var(--border-radius-xl) !important;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    .phone-mockup,
    .phone-mockup-small {
        display: none !important;
    }

    .bg-light,
    .bg-dark {
        background: white !important;
        color: black !important;
    }

    .text-white,
    .text-white-75,
    .text-muted {
        color: black !important;
    }
}

/* Adeer Case Study Responsive */
@media (max-width: 768px) {
    .features-section,
    .challenge-section,
    .solution-section,
    .impact-section,
    .cta-section {
        padding: 4rem 0;
    }

    /* New Features Section Responsive */
    .features-section-new {
        padding: 32px 0 0;
    }

    .features-content {
        gap: 20px;
        padding: 0 16px;
    }

    .features-header {
        gap: 16px;
    }

    .features-title {
        font-size: 28px;
        line-height: 36px;
    }

    .features-description {
        font-size: 18px;
        line-height: 26px;
    }

    .features-media {
        height: 300px;
    }

    .main-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        max-width: 16rem;
    }

    .phone-mockup-small {
        max-width: 10rem;
    }

    .dashboard-mockup {
        min-height: 300px;
        padding: 2rem !important;
    }

    .challenge-image {
        aspect-ratio: 1;
    }

    .metrics-grid {
        padding: 1rem 0;
    }

    .metric-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        max-width: 14rem;
    }

    .phone-mockup-small {
        max-width: 8rem;
    }

    .dashboard-mockup {
        min-height: 250px;
        padding: 1rem !important;
    }

    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .app-store-btn,
    .play-store-btn,
    .website-btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem;
    }

    /* New Features Section Mobile */
    .features-section-new {
        padding: 24px 0 48px;
    }

    .features-content {
        gap: 16px;
        padding: 0 12px;
    }

    .features-header {
        gap: 12px;
    }

    .features-title {
        font-size: 24px;
        line-height: 32px;
    }

    .features-description {
        font-size: 16px;
        line-height: 24px;
    }

    .features-media {
        height: 250px;
    }
}

/* Latest News Page */
.latest-news-page { background: #FFFFFF; }
.news-hero { padding-top: 120px; }
.news-header { padding: 24px 0 0; }
.news-subtitle { color: #B5B7B5; font-size: 16px; line-height: 24px; }

.news-list-section { padding: 32px 0 80px; background: #FFFFFF; }
.news-list { display: flex; flex-direction: column; gap: 24px; }

.news-item { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #EAECF0; }
.news-thumb { width: 252px; height: 142px; border-radius: 12px; overflow: hidden; position: relative; flex: 0 0 252px; background: #F3F4F6; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-badge { position: absolute; left: 12px; bottom: 12px; background: #FFFFFF; color: #101828; border: 1px solid #D0D5DD; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600; }

.news-body { flex: 1; min-width: 0; }
.news-title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: #0F160F; line-height: 28px; margin: 0 0 8px; }
.news-excerpt { font-size: 14px; line-height: 24px; color: #667085; margin: 0; }

.news-pagination { display: flex; justify-content: center; padding-top: 24px; }
.pagination-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.page-btn { min-width: 36px; height: 36px; padding: 6px 10px; border: 1px solid #D0D5DD; background: #FFFFFF; border-radius: 8px; font-weight: 600; color: #101828; }
.page-btn.is-active { background: #101010; color: #FFFFFF; border-color: #101010; }
.page-btn.is-icon { border-radius: 8px; }

@media (max-width: 768px) {
    .news-item { flex-direction: column; }
    .news-thumb { width: 100%; height: 200px; flex: 0 0 auto; }
}

/* Blog Details Page */
.blog-details-page { background: #FBFBFB; }
.blog-hero { padding-top: 120px; }
.blog-header { padding: 24px 0 0; }
.blog-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 40px; line-height: 52px; letter-spacing: -0.64px; color: #33264A; margin: 16px 0 24px; }

.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; background: #F9FAFB; padding: 24px; border-radius: 12px; margin-bottom: 24px; }
.meta-group { display: flex; flex-direction: column; gap: 12px; }
.meta-label { font-weight: 600; font-size: 14px; line-height: 20px; color: #B5B7B5; }
.meta-value { font-weight: 500; font-size: 18px; line-height: 28px; color: #101828; }
.meta-share { display: flex; gap: 12px; margin-left: auto; }
.copy-link-btn { background: #FFFFFF; border: 1px solid #D0D5DD; box-shadow: 0 1px 2px rgba(16,24,40,0.05); border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: 14px; color: #344054; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #FFFFFF; border: 1px solid #D0D5DD; box-shadow: 0 1px 2px rgba(16,24,40,0.05); border-radius: 8px; color: #98A2B3; font-weight: 700; }

.blog-cover { margin-top: 24px; }
.blog-cover img { width: 100%; height: auto; border-radius: 16px; display: block; }

.blog-content-section { padding: 96px 0; }
.blog-article { max-width: 720px; min-width: 560px; margin: 0 auto; }
.blog-article .h2 { font-weight: 600; font-size: 30px; line-height: 38px; color: #101828; margin: 0 0 20px; }
.blog-article .h3 { font-weight: 600; font-size: 24px; line-height: 32px; color: #101828; margin: 32px 0 12px; }
.blog-article p { font-size: 18px; line-height: 28px; color: #475467; margin: 0 0 18px; }
.article-media { background: #F9FAFB; border-radius: 16px; overflow: hidden; margin: 24px 0; }
.article-media img { width: 100%; height: auto; display: block; }
.pull-quote { display: flex; gap: 20px; align-items: flex-start; padding: 8px 0; margin: 24px 0; }
.pull-quote::before { content: ''; width: 160px; height: 2px; background: #404640; margin-top: 18px; transform: rotate(90deg); }
.pull-quote { font-style: italic; font-weight: 500; font-size: 24px; line-height: 36px; color: #101828; }

@media (max-width: 992px) {
    .blog-article { max-width: 100%; min-width: 0; padding: 0 16px; }
    .meta-share { margin-left: 0; }
}
/* Center newsletter form on <992px */
@media (max-width: 991.98px) {
  .newsletter-form { margin-left: auto; margin-right: auto; max-width: 560px; }

  body.rtl #newsletter .justify-content-center,
  body.rtl #newsletter .justify-content-lg-end {
    justify-content: center !important;
  }

  body.rtl #newsletter .text-lg-start,
  body.rtl #newsletter .text-center {
    text-align: center !important;
  }
}
