/* =========================================================
   CUBEON TECHNOLOGIES
   AI AGENT SERVICES PAGE
   UAE CAMPAIGN
   ========================================================= */

/* =========================================================
   PAGE BASE
   ========================================================= */

.ai-agent-page {
  overflow-x: hidden;
}

.ai-agent-page section {
  position: relative;
}

/* =========================================================
   HEADER
   ========================================================= */

.ai-page-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: var(--white-color);

  border-bottom: 1px solid rgba(6, 17, 83, 0.08);
}

.ai-header-inner {
  min-height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.ai-header-logo {
  display: inline-flex;

  align-items: center;
}

.ai-header-logo img {
  display: block;

  width: auto;

  max-width: 180px;

  max-height: 60px;
}

.ai-page-nav {
  display: flex;

  align-items: center;

  gap: 28px;

  margin-left: auto;
}

.ai-page-nav a {
  color: var(--title-color);

  font-size: 14px;

  font-weight: 600;

  text-decoration: none;

  transition: all ease 0.4s;
}

.ai-page-nav a:hover {
  color: var(--theme-color);
}

.ai-header-cta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 46px;

  padding: 0 20px;

  border-radius: 5px;

  color: #ffffff;

  background: var(--theme-color);

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;

  transition: all ease 0.4s;
}

.ai-header-cta:hover {
  color: #ffffff;

  background: var(--dark-color);

  transform: translateY(-2px);
}

/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.ai-mobile-toggle {
  display: none;

  width: 42px;

  height: 42px;

  padding: 8px;

  border: 1px solid rgba(6, 17, 83, 0.12);

  border-radius: 5px;

  background: #ffffff;

  cursor: pointer;
}

.ai-mobile-toggle span {
  display: block;

  width: 100%;

  height: 2px;

  margin: 5px 0;

  background: var(--title-color);

  transition: all ease 0.3s;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.ai-mobile-nav {
  position: fixed;

  top: 82px;

  left: 0;

  right: 0;

  z-index: 999;

  display: none;

  flex-direction: column;

  padding: 20px;

  background: #ffffff;

  border-bottom: 1px solid rgba(6, 17, 83, 0.08);

  box-shadow: 0 15px 35px rgba(6, 17, 83, 0.1);
}

.ai-mobile-nav.active {
  display: flex;
}

.ai-mobile-nav a {
  padding: 13px 0;

  color: var(--title-color);

  font-size: 14px;

  font-weight: 600;

  text-decoration: none;

  border-bottom: 1px solid rgba(6, 17, 83, 0.06);
}

.ai-mobile-nav a:last-child {
  border-bottom: 0;
}

.ai-mobile-nav a:hover {
  color: var(--theme-color);
}

/* =========================================================
   COMMON
   ========================================================= */

.ai-section {
  padding: 110px 0;
}

.ai-eyebrow {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--theme-color);

  font-family: var(--body-font);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.ai-section-heading {
  max-width: 760px;
}

.ai-section-heading.ai-centered {
  margin-left: auto;

  margin-right: auto;

  text-align: center;
}

.ai-section-heading h2 {
  margin: 0 0 20px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 48px;

  font-weight: 700;

  line-height: 1.15;

  letter-spacing: -0.025em;
}

.ai-section-heading p {
  margin: 0;

  color: var(--body-color);

  font-family: var(--body-font);

  font-size: 16px;

  line-height: 1.75;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.ai-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 54px;

  padding: 0 25px;

  border-radius: 5px;

  font-family: var(--body-font);

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;

  transition: all ease 0.4s;
}

.ai-btn-primary {
  color: #ffffff;

  background: var(--theme-color);

  border: 1px solid var(--theme-color);
}

.ai-btn-primary:hover {
  color: #ffffff;

  background: var(--dark-color);

  border-color: var(--dark-color);

  transform: translateY(-2px);
}

.ai-btn-outline {
  color: var(--title-color);

  background: #ffffff;

  border: 1px solid rgba(6, 17, 83, 0.15);
}

.ai-btn-outline:hover {
  color: var(--theme-color);

  border-color: var(--theme-color);
}

/* =========================================================
   HERO
   ========================================================= */

.ai-hero {
  min-height: 680px;

  display: flex;

  align-items: center;

  padding: 100px 0;

  background: linear-gradient(135deg, #f4f7ff 0%, #ffffff 55%, #eef3ff 100%);
}

.ai-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(450px, 0.95fr);

  align-items: center;

  gap: 60px;
}

.ai-hero-content {
  position: relative;

  z-index: 2;
}

.ai-hero-content h1 {
  max-width: 720px;

  margin: 0 0 25px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 64px;

  font-weight: 700;

  line-height: 1.08;

  letter-spacing: -0.04em;
}

.ai-hero-content h1 span {
  color: var(--theme-color);
}

.ai-hero-content > p {
  max-width: 650px;

  margin: 0 0 30px;

  color: var(--body-color);

  font-size: 17px;

  line-height: 1.75;
}

.ai-hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.ai-hero-trust {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 28px;
}

.ai-hero-trust span {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #69718a;

  font-size: 12px;
}

.ai-hero-trust i {
  color: var(--theme-color);
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.ai-hero-visual {
  position: relative;

  min-height: 510px;
}

.ai-agent-core {
  position: absolute;

  top: 50%;

  left: 50%;

  z-index: 3;

  width: 190px;

  height: 190px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--dark-color);

  box-shadow:
    0 25px 60px rgba(6, 17, 83, 0.22),
    0 0 0 12px rgba(16, 83, 243, 0.06);

  transform: translate(-50%, -50%);
}

.ai-core-icon {
  width: 54px;

  height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 10px;

  border-radius: 14px;

  color: #ffffff;

  background: var(--theme-color);

  font-size: 24px;
}

.ai-agent-core > span {
  color: rgba(255, 255, 255, 0.65);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.16em;
}

.ai-agent-core strong {
  margin-top: 7px;

  color: #ffffff;

  font-family: var(--title-font);

  font-size: 14px;
}

.ai-agent-core strong span {
  margin: 0 4px;

  color: var(--theme-color);
}

.ai-orbit {
  position: absolute;

  top: 50%;

  left: 50%;

  border: 1px dashed rgba(247, 244, 244, 0.952);

  border-radius: 50%;

  transform: translate(-50%, -50%);
}

.ai-orbit-one {
  width: 350px;

  height: 350px;
}

.ai-orbit-two {
  width: 500px;

  height: 500px;
}

/* =========================================================
   FLOATING CARDS
   ========================================================= */

.ai-floating-card {
  position: absolute;

  z-index: 5;

  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 220px;

  padding: 14px 16px;

  border: 1px solid rgba(6, 17, 83, 0.08);

  border-radius: 9px;

  background: #ffffff;

  box-shadow: 0 18px 45px rgba(6, 17, 83, 0.1);
}

.ai-floating-card > i {
  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  border-radius: 8px;

  color: var(--theme-color);

  background: #f0f4ff;
}

.ai-floating-card strong {
  display: block;

  margin-bottom: 3px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 12px;
}

.ai-floating-card small {
  display: block;

  color: var(--body-color);

  font-size: 10px;
}

.ai-card-one {
  top: 60px;

  left: 10px;
}

.ai-card-two {
  top: 175px;

  right: 0;
}

.ai-card-three {
  right: 20px;

  bottom: 60px;
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.ai-overview {
  background: #ffffff;
}

.ai-two-column {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 90px;

  align-items: start;
}

.ai-overview-content p {
  margin: 0 0 18px;

  color: var(--body-color);

  font-size: 16px;

  line-height: 1.8;
}

.ai-overview-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CAPABILITIES
   ========================================================= */

.ai-capabilities {
  background: #d0ecff;
}

.ai-capability-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 55px;
}

.ai-feature-card {
  padding: 32px;

  border: 1px solid rgba(6, 17, 83, 0.07);

  border-radius: 10px;

  background: #ffffff;

  transition: all ease 0.4s;
}

.ai-feature-card:hover {
  border-color: rgba(16, 83, 243, 0.2);

  box-shadow: 0 20px 45px rgba(6, 17, 83, 0.08);

  transform: translateY(-5px);
}

.ai-feature-icon {
  width: 52px;

  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 22px;

  border-radius: 10px;

  color: var(--theme-color);

  background: #eef3ff;

  font-size: 20px;
}

.ai-feature-card h3 {
  margin: 0 0 12px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 20px;
}

.ai-feature-card p {
  margin: 0;

  color: var(--body-color);

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   AGENT MODEL
   ========================================================= */

.ai-agent-model {
  background: #ffffff;
}

.ai-model-layout {
  align-items: center;
}

.ai-agent-model h2 {
  margin: 0 0 20px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 46px;

  line-height: 1.15;
}

.ai-agent-model > .container > .ai-two-column > div:first-child > p {
  max-width: 560px;

  margin-bottom: 25px;

  color: var(--body-color);

  font-size: 16px;

  line-height: 1.75;
}

.ai-text-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--theme-color);

  font-weight: 660;

  text-decoration: none;
}

.ai-text-link:hover {
  color: var(--dark-color);
}

.ai-agent-flow {
  padding: 25px;

  border-radius: 12px;

  background: var(--light-color);
}

.ai-flow-item {
  display: flex;

  align-items: flex-start;

  gap: 18px;
}

.ai-flow-item > span {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  border-radius: 8px;

  color: #ffffff;

  background: var(--theme-color);

  font-family: var(--title-font);

  font-size: 12px;

  font-weight: 700;
}

.ai-flow-item strong {
  display: block;

  margin-bottom: 5px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 17px;
}

.ai-flow-item p {
  margin: 0;

  color: var(--body-color);

  font-size: 13px;

  line-height: 1.6;
}

.ai-flow-line {
  width: 1px;

  height: 30px;

  margin: 5px 0 5px 21px;

  background: rgba(16, 83, 243, 0.2);
}

/* =========================================================
   USE CASES
   ========================================================= */

.ai-use-cases {
  background: var(--light-color);
}

.ai-use-case-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 55px;
}

.ai-use-case-card {
  position: relative;

  min-height: 260px;

  padding: 32px;

  overflow: hidden;

  border-radius: 10px;

  background: #ffffff;

  border: 1px solid rgba(6, 17, 83, 0.07);

  transition: all ease 0.4s;
}

.ai-use-case-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 20px 45px rgba(6, 17, 83, 0.08);
}

.ai-use-case-number {
  position: absolute;

  top: 25px;

  right: 25px;

  color: rgba(16, 83, 243, 0.12);

  font-family: var(--title-font);

  font-size: 40px;

  font-weight: 800;
}

.ai-use-case-card > i {
  display: block;

  margin-bottom: 25px;

  color: var(--theme-color);

  font-size: 26px;
}

.ai-use-case-card h3 {
  margin: 0 0 12px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 20px;
}

.ai-use-case-card p {
  margin: 0;

  color: var(--body-color);

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   INTEGRATIONS
   ========================================================= */

.ai-integrations {
  padding: 90px 0;

  background: #ffffff;
}

.ai-integration-box {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 60px;

  align-items: center;

  padding: 60px;

  border-radius: 12px;

  background: var(--dark-color);
}

.ai-integration-content h2 {
  margin: 0 0 18px;

  color: #ffffff;

  font-family: var(--title-font);

  font-size: 40px;

  line-height: 1.15;
}

.ai-integration-content p {
  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 15px;

  line-height: 1.75;
}

.ai-integration-list {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.ai-integration-list span {
  padding: 12px 16px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 6px;

  color: rgba(255, 255, 255, 0.8);

  background: rgba(255, 255, 255, 0.04);

  font-size: 12px;

  font-weight: 600;
}

/* =========================================================
   BENEFITS
   ========================================================= */

.ai-benefits {
  background: #ffffff;
}

.ai-benefits-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;

  margin-top: 50px;
}

.ai-benefit {
  display: flex;

  align-items: flex-start;

  gap: 18px;

  padding: 25px;

  border: 1px solid rgba(6, 17, 83, 0.07);

  border-radius: 9px;
}

.ai-benefit > i {
  width: 45px;

  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  border-radius: 8px;

  color: var(--theme-color);

  background: #eef3ff;
}

.ai-benefit h3 {
  margin: 0 0 6px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 18px;
}

.ai-benefit p {
  margin: 0;

  color: var(--body-color);

  font-size: 13px;

  line-height: 1.7;
}

/* =========================================================
   PROCESS
   ========================================================= */

.ai-process {
  background: var(--light-color);
}

.ai-process-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 55px;
}

.ai-process-step {
  position: relative;

  padding: 30px;

  border-radius: 9px;

  background: #ffffff;

  border: 1px solid rgba(6, 17, 83, 0.07);
}

.ai-process-step > span {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 40px;

  height: 40px;

  margin-bottom: 22px;

  border-radius: 7px;

  color: #ffffff;

  background: var(--theme-color);

  font-family: var(--title-font);

  font-size: 11px;

  font-weight: 700;
}

.ai-process-step h3 {
  margin: 0 0 10px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 20px;
}

.ai-process-step p {
  margin: 0;

  color: var(--body-color);

  font-size: 13px;

  line-height: 1.7;
}

/* =========================================================
   CTA
   ========================================================= */

.ai-cta {
  padding: 85px 0;

  background: var(--dark-color);
}

.ai-cta-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

.ai-cta-inner h2 {
  margin: 0 0 15px;

  color: #ffffff;

  font-family: var(--title-font);

  font-size: 44px;

  line-height: 1.15;
}

.ai-cta-inner p {
  max-width: 650px;

  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 15px;

  line-height: 1.7;
}

/* =========================================================
   CONTACT
   ========================================================= */

.ai-contact {
  background: var(--light-color);
}

.ai-contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);

  gap: 70px;

  align-items: start;
}

.ai-contact-content h2 {
  margin: 0 0 20px;

  color: var(--title-color);

  font-family: var(--title-font);

  font-size: 46px;

  line-height: 1.15;
}

.ai-contact-content > p {
  max-width: 540px;

  margin: 0 0 30px;

  color: var(--body-color);

  font-size: 15px;

  line-height: 1.75;
}

.ai-contact-details {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.ai-contact-details a {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: var(--title-color);

  font-size: 14px;

  text-decoration: none;
}

.ai-contact-details a:hover {
  color: var(--theme-color);
}

.ai-contact-details i {
  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 7px;

  color: var(--theme-color);

  background: #ffffff;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.ai-contact-form-wrapper {
  padding: 38px;

  border-radius: 10px;

  background: #ffffff;

  box-shadow: 0 15px 45px rgba(6, 17, 83, 0.07);
}

.ai-contact-form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.ai-form-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.ai-form-group {
  display: flex;

  flex-direction: column;
}

.ai-form-group label {
  margin-bottom: 8px;

  color: var(--title-color);

  font-size: 14px;

  font-weight: 700;
}

.ai-form-group input,
.ai-form-group textarea {
  width: 100%;

  padding: 14px 15px;

  border: 1px solid #e1e5ef;

  border-radius: 5px;

  outline: none;

  color: var(--title-color);

  background: #ffffff;

  font-family: var(--body-font);

  font-size: 14px;

  transition: all ease 0.3s;
}

.ai-form-group input {
  height: 50px;
}

.ai-form-group textarea {
  resize: vertical;

  min-height: 130px;
}

.ai-form-group input:focus,
.ai-form-group textarea:focus {
  border-color: var(--theme-color);

  box-shadow: 0 0 0 3px rgba(16, 83, 243, 0.08);
}

.ai-error {
  min-height: 17px;

  margin-top: 5px;

  color: #dc3545;

  font-size: 14px;
}

.ai-submit-btn {
  border: 0;

  cursor: pointer;
}

.ai-form-message {
  min-height: 20px;

  font-size: 14px;
}

.ai-form-message.success {
  color: #198754;
}

.ai-form-message.error {
  color: #dc3545;
}

/* =========================================================
   FOOTER
   ========================================================= */

.ai-page-footer {
  padding: 75px 0 0;

  color: #ffffff;

  background: var(--dark-color4);
}

.ai-footer-grid {
  display: grid;

  grid-template-columns:
    1.5fr
    repeat(3, 1fr);

  gap: 45px;

  padding-bottom: 60px;
}

.ai-footer-logo {
  display: inline-flex;

  margin-bottom: 20px;
}

.ai-footer-logo img {
  max-width: 175px;

  max-height: 48px;
}

.ai-footer-grid > div:first-child p {
  max-width: 290px;

  margin: 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 14px;

  line-height: 1.7;
}

.ai-footer-grid h4 {
  margin: 0 0 20px;

  color: #ffffff;

  font-family: var(--title-font);

  font-size: 17px;
}

.ai-footer-grid a {
  display: block;

  margin-bottom: 11px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 14px;

  text-decoration: none;

  transition: all ease 0.4s;
}

.ai-footer-grid a:hover {
  color: var(--theme-color);
}

.ai-footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  min-height: 70px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.45);

  font-size: 14px;
}

.ai-footer-bottom > a {
  color: rgba(255, 255, 255, 0.6);

  font-size: 14px;

  text-decoration: none;
}

.ai-footer-bottom > a:hover {
  color: var(--theme-color);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
  .ai-hero-content h1 {
    font-size: 54px;
  }

  .ai-hero-grid {
    gap: 35px;
  }

  .ai-orbit-two {
    width: 430px;

    height: 430px;
  }
}

@media (max-width: 991px) {
  .ai-page-nav,
  .ai-header-cta {
    display: none;
  }

  .ai-mobile-toggle {
    display: block;
  }

  .ai-hero {
    padding: 80px 0;
  }

  .ai-hero-grid {
    grid-template-columns: 1fr;
  }

  .ai-hero-content {
    text-align: center;
  }

  .ai-hero-content > p {
    margin-left: auto;

    margin-right: auto;
  }

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

  .ai-hero-visual {
    max-width: 600px;

    width: 100%;

    margin: 0 auto;
  }

  .ai-two-column,
  .ai-integration-box,
  .ai-contact-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .ai-capability-grid,
  .ai-use-case-grid,
  .ai-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .ai-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ai-section {
    padding: 75px 0;
  }

  .ai-hero {
    min-height: auto;

    padding: 70px 0;
  }

  .ai-hero-content h1 {
    font-size: 42px;
  }

  .ai-hero-content > p {
    font-size: 15px;
  }

  .ai-hero-visual {
    min-height: 400px;

    transform: scale(0.85);

    transform-origin: center top;

    margin-bottom: -55px;
  }

  .ai-orbit-one {
    width: 300px;

    height: 300px;
  }

  .ai-orbit-two {
    width: 370px;

    height: 370px;
  }

  .ai-floating-card {
    min-width: 190px;
  }

  .ai-card-one {
    left: 0;
  }

  .ai-card-two {
    right: 0;
  }

  .ai-card-three {
    right: 5px;
  }

  .ai-section-heading h2,
  .ai-agent-model h2,
  .ai-contact-content h2 {
    font-size: 36px;
  }

  .ai-integration-box {
    padding: 35px 25px;
  }

  .ai-integration-content h2 {
    font-size: 32px;
  }

  .ai-capability-grid,
  .ai-use-case-grid,
  .ai-process-grid,
  .ai-benefits-grid {
    grid-template-columns: 1fr;
  }

  .ai-form-row {
    grid-template-columns: 1fr;
  }

  .ai-contact-form-wrapper {
    padding: 25px 20px;
  }

  .ai-footer-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .ai-footer-bottom {
    flex-direction: column;

    justify-content: center;

    padding: 20px 0;

    text-align: center;
  }
}

@media (max-width: 480px) {
  .ai-header-inner {
    min-height: 70px;
  }

  .ai-mobile-nav {
    top: 70px;
  }

  .ai-header-logo img {
    max-width: 145px;
  }

  .ai-hero-content h1 {
    font-size: 35px;
  }

  .ai-hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .ai-btn {
    width: 100%;
  }

  .ai-hero-trust {
    flex-direction: column;

    align-items: center;

    gap: 10px;
  }

  .ai-hero-visual {
    min-height: 350px;

    transform: scale(0.7);

    margin-bottom: -100px;
  }

  .ai-agent-core {
    width: 170px;

    height: 170px;
  }

  .ai-floating-card {
    min-width: 175px;

    padding: 10px;
  }

  .ai-floating-card strong {
    font-size: 14px;
  }

  .ai-floating-card small {
    font-size: 14px;
  }

  .ai-card-one {
    left: -15px;
  }

  .ai-card-two {
    right: -15px;
  }

  .ai-card-three {
    right: -20px;
  }
}
/* =========================================
   STICKY HEADER
========================================= */

.ai-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

/* =========================================
   BACK TO TOP BUTTON
========================================= */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #111827;
  color: #ffffff;

  font-size: 20px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;

  z-index: 10000;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.back-to-top:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .back-to-top {
    width: 44px;
    height: 44px;

    right: 18px;
    bottom: 18px;

    font-size: 18px;
  }
}
/* =========================================================
   AI AGENT SERVICES - STICKY TOP MENU
========================================================= */

/* =========================================================
   AI AGENT SERVICES - STICKY HEADER
========================================================= */

/* =========================================================
   AI AGENT SERVICES - STICKY HEADER
========================================================= */

.ai-page-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
}

/* Allow sticky positioning */
.uae-page,
.ai-agent-page {
  overflow: visible !important;
}
/* =========================================================
   CUBEON TECHNOLOGIES
   AI AGENT SERVICES PAGE
   FINAL UI OVERRIDE
   ---------------------------------------------------------
   Purpose:
   - Prevent main website CSS from affecting this page
   - Normalize fonts
   - Fix text colors
   - Fix section backgrounds
   - Improve headings and paragraphs
   - Preserve the existing AI page layout
========================================================= */

.ai-agent-page {
  --ai-navy: #07145c;
  --ai-blue: #1557ff;
  --ai-blue-dark: #0d3fd1;
  --ai-light: #f4f7ff;
  --ai-light-blue: #eef3ff;
  --ai-white: #ffffff;
  --ai-text: #111b4d;
  --ai-muted: #667085;
  --ai-border: #e4e9f5;

  font-family: var(--uae-body-font);
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif !important;

  color: var(--ai-text);
  background: var(--ai-white);
}

/* =========================================================
   GLOBAL RESET — AI PAGE ONLY
========================================================= */

.ai-agent-page,
.ai-agent-page *,
.ai-agent-page *::before,
.ai-agent-page *::after {
  box-sizing: border-box;
}

.ai-agent-page {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
}

.ai-agent-page h1,
.ai-agent-page h2,
.ai-agent-page h3,
.ai-agent-page h4,
.ai-agent-page h5,
.ai-agent-page h6,
.ai-agent-page p,
.ai-agent-page a,
.ai-agent-page span,
.ai-agent-page strong,
.ai-agent-page small,
.ai-agent-page label,
.ai-agent-page button,
.ai-agent-page input,
.ai-agent-page textarea {
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif !important;
}

/* =========================================================
   BODY / MAIN PAGE
========================================================= */

body:has(.ai-agent-page) {
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
}

/* =========================================================
   STICKY HEADER
========================================================= */

.ai-agent-page .ai-page-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;

  width: 100% !important;

  z-index: 99999 !important;

  background: rgba(255, 255, 255, 0.98) !important;

  border-bottom: 1px solid #e8ecf5 !important;

  box-shadow: 0 4px 20px rgba(7, 20, 92, 0.06) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Header inner */

.ai-agent-page .ai-header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.ai-agent-page .ai-header-logo img {
  display: block;
  max-height: 60px;
  width: auto;
}

/* =========================================================
   TOP NAVIGATION
========================================================= */

.ai-agent-page .ai-page-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.ai-agent-page .ai-page-nav a {
  position: relative;

  color: var(--ai-navy) !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  line-height: 1.4 !important;

  text-decoration: none !important;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.ai-agent-page .ai-page-nav a:hover {
  color: var(--ai-blue) !important;
}

.ai-agent-page .ai-page-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--ai-blue);

  transition: width 0.25s ease;
}

.ai-agent-page .ai-page-nav a:hover::after {
  width: 100%;
}

/* =========================================================
   HEADER CTA
========================================================= */

.ai-agent-page .ai-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 0 20px;

  border-radius: 6px;

  background: var(--ai-blue) !important;
  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 700 !important;

  text-decoration: none !important;

  box-shadow: 0 8px 20px rgba(21, 87, 255, 0.18);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ai-agent-page .ai-header-cta:hover {
  background: var(--ai-blue-dark) !important;
  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow: 0 12px 25px rgba(21, 87, 255, 0.25);
}

/* =========================================================
   HERO
========================================================= */

.ai-agent-page .ai-hero {
  background-image: url("../../assets/images/hm8-bg01.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  min-height: 100vh;

  color: var(--ai-text);

  position: relative;
}

/* Hero heading */

.ai-agent-page .ai-hero h1 {
  color: #ffffff !important;

  font-size: clamp(42px, 5vw, 68px) !important;

  line-height: 1.05 !important;

  font-weight: 660 !important;

  letter-spacing: -1.8px !important;

  margin-bottom: 22px !important;
}

.ai-agent-page .ai-hero h1 span {
  color: #15ffd3 !important;
}

/* Hero paragraph */

.ai-agent-page .ai-hero p {
  color: #d0d2d4 !important;

  font-size: 17px !important;

  line-height: 1.75 !important;

  font-weight: 400 !important;

  max-width: 650px;
}

/* =========================================================
   EYEBROW
========================================================= */

.ai-agent-page .ai-eyebrow {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--ai-light) !important;

  font-size: 13px !important;

  line-height: 1.4 !important;

  font-weight: 660 !important;

  letter-spacing: 1.8px !important;

  text-transform: uppercase;
}

/* =========================================================
   BUTTONS
========================================================= */

.ai-agent-page .ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 24px;

  border-radius: 6px;

  font-size: 14px !important;
  font-weight: 700 !important;

  line-height: 1 !important;

  text-decoration: none !important;

  transition: all 0.25s ease;
}

.ai-agent-page .ai-btn-primary {
  background: var(--ai-blue) !important;
  color: #ffffff !important;

  border: 1px solid var(--ai-blue) !important;
}

.ai-agent-page .ai-btn-primary:hover {
  background: var(--ai-blue-dark) !important;
  border-color: var(--ai-blue-dark) !important;

  color: #ffffff !important;

  transform: translateY(-2px);
}

.ai-agent-page .ai-btn-outline {
  background: transparent !important;

  color: #ffffff !important;

  border: 1px solid #cbd5e8 !important;
}

.ai-agent-page .ai-btn-outline:hover {
  background: #ffffff !important;

  color: var(--ai-blue) !important;

  border-color: var(--ai-blue) !important;
}

/* =========================================================
   HERO TRUST
========================================================= */

.ai-agent-page .ai-hero-trust span {
  color: #d0d2d4 !important;

  font-size: 14px !important;
  font-weight: 500 !important;
}

.ai-agent-page .ai-hero-trust i {
  color: var(--ai-light) !important;
}

/* =========================================================
   ALL STANDARD SECTIONS
========================================================= */

.ai-agent-page .ai-section {
  position: relative;

  color: var(--ai-text);

  padding-top: 100px;
  padding-bottom: 100px;
}

/* =========================================================
   LIGHT BLUE SECTIONS
========================================================= */

.ai-agent-page .ai-use-cases,
.ai-agent-page .ai-process {
  background: var(--ai-light) !important;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.ai-agent-page .ai-section h2,
.ai-agent-page .ai-section-heading h2 {
  color: var(--ai-navy) !important;

  font-size: clamp(30px, 3vw, 46px) !important;

  line-height: 1.15 !important;

  font-weight: 660 !important;

  letter-spacing: -0.8px !important;

  margin-bottom: 18px !important;
}

.ai-agent-page .ai-section p {
  color: var(--ai-muted) !important;

  font-size: 16px !important;

  line-height: 1.75 !important;

  font-weight: 400 !important;
}

/* =========================================================
   CARDS
========================================================= */

.ai-agent-page .ai-use-case-card,
.ai-agent-page .ai-process-step {
  background: #ffffff !important;

  border: 1px solid var(--ai-border) !important;

  box-shadow: 0 8px 30px rgba(7, 20, 92, 0.05) !important;

  border-radius: 8px;
}

/* Card titles */

.ai-agent-page .ai-use-case-card h3,
.ai-agent-page .ai-process-step h3 {
  color: var(--ai-navy) !important;

  font-size: 17px !important;

  font-weight: 700 !important;

  line-height: 1.3 !important;
}

/* Card descriptions */

.ai-agent-page .ai-use-case-card p,
.ai-agent-page .ai-process-step p {
  color: var(--ai-muted) !important;

  font-size: 15px !important;

  line-height: 1.6 !important;
}

/* Card icons */

.ai-agent-page .ai-use-case-card > i,
.ai-agent-page .ai-process-step > span {
  color: #ffffff !important;
}

/* =========================================================
   NUMBERS
========================================================= */

.ai-agent-page .ai-use-case-number {
  color: #d9e2ff !important;

  font-weight: 660 !important;
}

/* =========================================================
   HOW AI AGENTS WORK
========================================================= */

.ai-agent-page .ai-agent-model {
  background: #ffffff !important;
}

.ai-agent-page .ai-flow-item strong {
  color: var(--ai-navy) !important;

  font-size: 16px !important;

  font-weight: 700 !important;
}

.ai-agent-page .ai-flow-item p {
  color: var(--ai-muted) !important;

  font-size: 16px !important;
}

.ai-agent-page .ai-flow-item > span {
  color: #ffffff !important;

  font-weight: 660 !important;
}

/* =========================================================
   INTEGRATION BOX
========================================================= */

.ai-agent-page .ai-integration-box {
  background: var(--ai-navy) !important;

  border-radius: 10px;

  color: #ffffff;
}

.ai-agent-page .ai-integration-box h2 {
  color: #ffffff !important;
}

.ai-agent-page .ai-integration-box p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ai-agent-page .ai-integration-list span {
  color: #ffffff !important;

  border-color: rgba(255, 255, 255, 0.18) !important;

  background: rgba(255, 255, 255, 0.05) !important;
}

/* =========================================================
   CTA SECTION
========================================================= */

.ai-agent-page .ai-cta {
  background: var(--ai-navy) !important;

  color: #ffffff !important;
}

.ai-agent-page .ai-cta h2 {
  color: #ffffff !important;

  font-size: 36px !important;

  font-weight: 660 !important;
}

.ai-agent-page .ai-cta p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ai-agent-page .ai-cta .ai-eyebrow {
  color: #6f96ff !important;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.ai-agent-page .ai-contact {
  background: var(--ai-light) !important;
}

.ai-agent-page .ai-contact h2 {
  color: var(--ai-navy) !important;
}

.ai-agent-page .ai-contact p {
  color: var(--ai-muted) !important;
}

/* Contact details */

.ai-agent-page .ai-contact-details a {
  color: var(--ai-navy) !important;

  font-size: 14px !important;

  text-decoration: none !important;
}

.ai-agent-page .ai-contact-details a:hover {
  color: var(--ai-blue) !important;
}

/* =========================================================
   CONTACT FORM
========================================================= */

.ai-agent-page .ai-contact-form-wrapper {
  background: #ffffff !important;

  border: 1px solid var(--ai-border) !important;

  border-radius: 10px;

  box-shadow: 0 15px 45px rgba(7, 20, 92, 0.08) !important;
}

.ai-agent-page .ai-form-group label {
  color: var(--ai-navy) !important;

  font-size: 14px !important;

  font-weight: 700 !important;
}

.ai-agent-page .ai-form-group input,
.ai-agent-page .ai-form-group textarea {
  width: 100%;

  color: var(--ai-text) !important;

  background: #ffffff !important;

  border: 1px solid #dce3f0 !important;

  border-radius: 5px !important;

  font-size: 14px !important;
}

.ai-agent-page .ai-form-group input::placeholder,
.ai-agent-page .ai-form-group textarea::placeholder {
  color: #98a2b3 !important;
}

.ai-agent-page .ai-form-group input:focus,
.ai-agent-page .ai-form-group textarea:focus {
  border-color: var(--ai-blue) !important;

  outline: none !important;

  box-shadow: 0 0 0 3px rgba(21, 87, 255, 0.08) !important;
}

/* =========================================================
   FOOTER
========================================================= */

.ai-agent-page .ai-page-footer {
  background: var(--ai-navy) !important;

  color: #ffffff !important;
}

.ai-agent-page .ai-page-footer p {
  color: rgba(255, 255, 255, 0.65) !important;

  font-size: 14px !important;

  line-height: 1.7 !important;
}

.ai-agent-page .ai-page-footer h4 {
  color: #ffffff !important;

  font-size: 14px !important;

  font-weight: 700 !important;
}

.ai-agent-page .ai-page-footer a {
  color: rgba(255, 255, 255, 0.65) !important;

  font-size: 14px !important;

  text-decoration: none !important;
}

.ai-agent-page .ai-page-footer a:hover {
  color: #ffffff !important;
}

/* =========================================================
   MOBILE NAV
========================================================= */

.ai-agent-page .ai-mobile-nav {
  background: #ffffff !important;

  border-top: 1px solid var(--ai-border) !important;

  box-shadow: 0 12px 30px rgba(7, 20, 92, 0.1) !important;

  z-index: 99998 !important;
}

.ai-agent-page .ai-mobile-nav a {
  color: var(--ai-navy) !important;

  font-size: 15px !important;

  font-weight: 600 !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .ai-agent-page .ai-page-nav,
  .ai-agent-page .ai-header-cta {
    display: none !important;
  }

  .ai-agent-page .ai-header-inner {
    min-height: 68px;
  }

  .ai-agent-page .ai-hero h1 {
    font-size: 42px !important;
    letter-spacing: -1px !important;
  }

  .ai-agent-page .ai-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}

@media (max-width: 575px) {
  .ai-agent-page .ai-hero h1 {
    font-size: 34px !important;
  }

  .ai-agent-page .ai-hero p {
    font-size: 15px !important;
  }

  .ai-agent-page .ai-section h2,
  .ai-agent-page .ai-section-heading h2 {
    font-size: 30px !important;
  }

  .ai-agent-page .ai-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
/* AI Agent page Font Awesome protection */

.ai-core-icon i.fa-solid,
.ai-floating-card i.fa-solid,
.ai-feature-icon i.fa-solid,
.ai-use-case-card > i.fa-solid,
.ai-benefit > i.fa-solid,
.ai-contact-details i.fa-solid,
.ai-contact-details i.fa-brands,
.ai-btn i.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

.ai-contact-details i.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
