
/* Theme variables */
:root{
  --sc-gold:#ffe08a;
  --sc-amber:#FFBF00;
  --sc-header-footer-bg:#0b1220;
  --sc-text-main-light:#0B0F19;
  --sc-text-muted-light:#59627a;
  --sc-surface-light:#ffffff;
  --sc-border-light:rgba(11,15,25,.12);
  --bg-img:url("../images/Background_Theme.png");
}

[data-bs-theme="light"]{
  --sc-text-main: var(--sc-text-main-light);
  --sc-text-muted: var(--sc-text-muted-light);
  --sc-surface: var(--sc-surface-light);
  --sc-border: var(--sc-border-light);
}

[data-bs-theme="dark"]{
  --sc-text-main:#f4f7fc;
  --sc-text-muted:#b9c7de;
  --sc-surface:#1a2233;
  --sc-border:rgba(255,255,255,.12);
}

/* Global background image */
.sc-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1) saturate(1);
}

/* Ensure modals and offcanvas are opaque on top of bg */
.modal-content, .offcanvas, .dropdown-menu{
  background: var(--sc-surface) !important;
  backdrop-filter: none !important;
  border: 1px solid var(--sc-border);
}

/* Always-dark header + footer */
.header-wrap, footer.site-footer{
  background:var(--sc-header-footer-bg)!important; color:#e9eef5!important;
}
.header-wrap{ border-bottom:1px solid rgba(255,255,255,.08); }
footer.site-footer{ border-top:1px solid rgba(255,255,255,.12); }

.header-wrap .navbar-brand .fw-bold{
  color:var(--sc-gold)!important; text-shadow:0 0 6px rgba(255,224,138,.45);
}


/* === PREMIUM GOLDEN BORDER === */
.navbar-dark .navbar-toggler {
  border: 2px solid #ffbf00 !important;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255,191,0,0.55);
}


/* === PREMIUM GOLDEN 3 LINES + GLOW === */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffbf00' stroke-width='4.2' stroke-linecap='round' d='M4 7h22 M4 15h22 M4 23h22'/%3e%3c/svg%3e") !important;
  background-size: 30px 30px !important;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,191,0,0.85));
}



/* Nav links */
.header-wrap.navbar-dark .navbar-nav .nav-link{
  color:#cfe3ff!important; transition:color .2s,text-shadow .2s,border-bottom .2s;
}
.header-wrap.navbar-dark .navbar-nav .nav-link:hover,
.header-wrap.navbar-dark .navbar-nav .nav-link:focus{
  color:var(--sc-gold)!important; text-shadow:0 0 6px rgba(255,224,138,.6);
}
.header-wrap.navbar-dark .navbar-nav .nav-link.active{
  color:var(--sc-gold)!important; text-shadow:0 0 6px rgba(255,224,138,.8); border-bottom:2px solid var(--sc-gold);
}
.header-wrap .text-secondary{ color:#9fb1c9!important; }
.logo{ height:32px; width:auto; border-radius:6px; }

/* Search in dark header */
.navbar-search .form-control{
  background:#121a2a; color:#f4f7fc; border:1px solid rgba(255,255,255,.18);
}
.navbar-search .form-control::placeholder{ color:#b9c7de; }
.navbar-search .btn{ border-color:rgba(255,255,255,.25); color:#fff; }

/* Theme toggle */
#themeToggleImgBtn{
  background:transparent; border:1px solid rgba(255,255,255,.25); color:#ffe08a;
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:999px;
}
#themeToggleImgBtn:hover{ border-color:#ffd86a; }

/* Translate pill */
.translate-widget{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 2px 8px;
}
.goog-logo-link, .goog-te-gadget span{ display:inline-block !important; }
.goog-te-gadget{ font-size:0; }
.goog-te-gadget .goog-te-combo{
  font-size:.85rem; line-height:1.2; margin:0 6px 0 0;
  border:1px solid rgba(0,0,0,.15); border-radius:8px; padding:.15rem .35rem;
  background:#fff; color:#111;
}
.goog-logo-link img{ height:14px; width:auto; vertical-align:middle; }

/* Cards & hero helpers */
.sc-card{ background:var(--sc-surface); border:1px solid var(--sc-border); }
.sc-hero{ background: rgba(255,255,255,.7); border-radius:16px; }

/* Telegram FAB */
.fab-telegram{
  position:fixed; right:18px; bottom:18px; width:52px; height:52px;
  display:grid; place-items:center; z-index:1050; box-shadow:0 10px 26px rgba(0,0,0,.35);
}

/* Content defaults */
main.container{ color:var(--sc-text-main); }

/* Tagline premium framed */
.tagline-premium-frame{
  border:1px solid rgba(255,215,0,.5);
  box-shadow: 0 10px 24px rgba(255,215,0,.15);
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.25));
  border-radius: 14px;
  padding: .85rem 1rem;
}

/* Accessibility helpers */
:focus-visible { outline: 3px solid #ffd400; outline-offset: 2px; }


/* Feature cards Home page*/
.sc-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}
.sc-card-body {
  padding: 1.25rem;
}
.sc-card-body .card-title {
  font-weight: 600;
  margin-bottom: .75rem;
}


/* Home Hero part */
.hero-wrap {
  background: linear-gradient(90deg, #0B0F19 0%, #172033 50%, #0B0F19 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/static/images/landing/saas-5/hero-bg-pattern.png') center/cover;
  opacity: 0.12;
  filter: contrast(110%) brightness(120%);
  z-index: 1;
}
.hero-wrap .container { position: relative; z-index: 2; }
.hero-badge .badge-pill {
  font-size: 0.875rem;
  background: linear-gradient(45deg, #0061f2, #47c1bf);
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}
.hero-title .text-warning {
  background: linear-gradient(45deg, #ffe08a, #ffca3a);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.125rem;
  max-width: 58ch;
  opacity: 0.85;
}
.hero-wrap .btn-lg {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}
.device-frame {
  width: 100%;
  max-width: 400px;
  height: 300px;
  margin-top: 2rem;
  background: #111;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
}
.device-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  z-index: 3;
}
/* carousel image */
.object-fit-cover {
  object-fit: cover;
}
/* control icons more visible */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/*______End of Hero head ________*/

/*___________Hero Parta for  AI-Automation -Alerting and Anlaytics ______*/
.hero-badge {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: .4rem .8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  color: #e9eef5;
  /* background fallback */
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
}

/* the moving “water” */
.hero-badge::before {
  content: '';
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.25);
  transform: rotate(45deg);
  animation: wave 4s infinite linear;
}

/* ensure text stays on top */
.hero-badge span,
.hero-badge i {
  position: relative;
  z-index: 1;
}


.hero-badge .badge-pill {
  background: none !important;
  color: gold !important;
  font-size: 1.25rem;       /* bump up the text size */
  font-weight: 600;         /* optional: make it a bit bolder */
  text-shadow: 0 1px 2px rgba(0,0,0,0.4); /* subtle lift */
}

@keyframes wave {
  from   { transform: translate(-50%, 100%) rotate(45deg); }
  to     { transform: translate(50%, -100%) rotate(45deg); }
}

/*___________End Hero Parta for  AI-Automation -Alerting and Anlaytics ______*/


/*_______________________Header Eco _________________________*/
/* Add to your style.css or inside {% block extra_css %} */

/* Device frame around carousel */
.device-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16/9;
  border: 12px solid #1e1e1e;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  background: #000;
}

/* Make the inner carousel fill the frame exactly */
.device-frame .carousel-inner {
  border-radius: 20px;
}

/* Feature cards styling */
.sc-card {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.sc-card-body {
  padding: 1.5rem;
}
.sc-card-body .card-title {
  font-weight: 600;
  margin-bottom: .5rem;
}


/*_____________________________*/
/* ===== Services (midnight header + status) ===== */
.svc-hero{
  background: linear-gradient(90deg,#0B0F19 0%,#172033 50%,#0B0F19 100%);
  position: relative; overflow: hidden; color:#e9eef5; padding:.35rem 0; /* compact */
}
.svc-hero .hero-bg{
  position:absolute; inset:0;
  background: url("../images/landing/saas-5/hero-bg-pattern.png") center/cover;
  opacity:.15; filter:contrast(110%) brightness(120%);
}
.svc-hero h1{
  margin:0;
  background: linear-gradient(90deg,#ebf3ff,#ffe08a);
  -webkit-background-clip:text; color:transparent;
  font-size: clamp(1.5rem,2.4vw,2.25rem); line-height:1.15;
}
.svc-hero p{ margin:.35rem 0 0 0; color:#c9d6ea; }

/* Midnight status card */
.svc-status{
  background: radial-gradient(120% 120% at 10% 10%, #101623 0%, #0B0F19 40%, #0B0F19 100%);
  border:1px solid rgba(255,255,255,.08);
  color:#e9eef5; border-radius:1rem; box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.svc-status .stat{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:.75rem; padding:.75rem 1rem; height:100%;
}
.svc-status .stat .label{ color:#a7b4cc; font-size:.85rem; }
.svc-status .stat .value{ font-weight:700; font-size:1.05rem; }

/* ===== Advanced accordion (left accent when open) ===== */
#svcAccordion .accordion-item{
  border:0; background:transparent; margin-bottom:.75rem; position:relative; border-radius:.75rem;
}
#svcAccordion .accordion-item::before{
  content:""; position:absolute; left:0; top:6px; bottom:6px; width:6px; border-radius:8px;
  background:linear-gradient(180deg,#1b6ec2,#00c2ff);
  opacity:0; transform:translateX(-6px); transition:all .25s ease;
}
#svcAccordion .accordion-item.active::before{ opacity:1; transform:translateX(0); }

#svcAccordion .accordion-button{
  background:linear-gradient(135deg,#ffffff,#f7fafc);
  border:1px solid rgba(0,0,0,.06);
  border-radius:.75rem !important;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  font-weight:600; padding-left:1rem;
  transition: box-shadow .25s ease, transform .2s ease, border-color .2s ease;
}
#svcAccordion .accordion-button:hover{
  border-color:rgba(27,110,194,.25);
  box-shadow:0 8px 18px rgba(27,110,194,.15); transform:translateY(-1px);
}
#svcAccordion .accordion-button:not(.collapsed){
  color:#0b1f3a;
  background:linear-gradient(135deg,#eef6ff,#ffffff);
  border-color:rgba(27,110,194,.25); box-shadow:0 10px 22px rgba(27,110,194,.18);
}

#svcAccordion .accordion-body{
  background:linear-gradient(135deg,#fff9e6 0%, #ffffff 55%, #fff3cc 100%);
  border:1px solid rgba(0,0,0,.06); border-radius:.75rem; box-shadow:0 6px 16px rgba(0,0,0,.06);
}
#svcAccordion .accordion-collapse.show .accordion-body{
  position:relative;
}
#svcAccordion .accordion-collapse.show .accordion-body::before{
  content:""; position:absolute; left:-6px; top:10px; bottom:10px; width:6px;
  border-radius:8px; background:linear-gradient(180deg,#1b6ec2,#00c2ff);
  filter:blur(6px); opacity:.25;
}

/* Icon pill used in headers */
.icon-circle{
  width:54px; height:54px; border-radius:50%;
  background:linear-gradient(135deg, rgba(27,110,194,0.12), rgba(0,174,255,0.18));
  display:flex; align-items:center; justify-content:center;
}

/* Checklists */
.check-list li::marker { content:"✔  "; color:#198754; }
.x-list li::marker { content:"• "; color:#6c757d; }

/* Gold buttons (shared) */
.btn-gold{
  background:linear-gradient(135deg,#ffd24d,#ffbf00);
  border:1px solid #e6ac00; color:#1a1a1a !important;
  box-shadow:0 3px 8px rgba(255,191,0,.4);
  transition:.3s; border-radius:.6rem;
}
.btn-gold:hover{
  background:linear-gradient(135deg,#ffbf00,#e6ac00);
  transform:translateY(-2px); box-shadow:0 6px 14px rgba(255,191,0,.5);
}
.btn-outline-gold{
  border:2px solid #ffbf00; color:#ffbf00 !important; background:transparent; border-radius:.6rem; transition:.3s;
}
.btn-outline-gold:hover{
  background:linear-gradient(135deg,#ffbf00,#ffd24d);
  color:#1a1a1a !important; box-shadow:0 5px 10px rgba(255,191,0,.35); transform:translateY(-2px);
}

/* Guard against overlays blocking clicks */
.accordion-header, .accordion-button{ position:relative; z-index:2; }



/* Blog cards */
.blog-content h2, .blog-content h3 { margin-top: 1.25rem; }
.blog-content img { max-width: 100%; border-radius: .5rem; }
.blog-content pre, .blog-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Pagination active state tweak (Bootstrap-compatible) */
.pagination .page-item.active .page-link{
  background: linear-gradient(135deg,#1b6ec2,#00c2ff);
  border-color: #1b6ec2;
}



/* ============================================================
   AI4OPS FOOTER - PREMIUM MIDNIGHT EDITION
   ============================================================ */
.ai4ops-footer {
  background: linear-gradient(180deg, #0B0F19 0%, #0a121e 100%);
  color: #e4e8f0;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 25px rgba(0,0,0,0.45);
}

/* Column spacing */
.footer-col {
  transition: transform .3s ease, box-shadow .3s ease;
  padding: .5rem;
}

/* Hover lift effect */
.footer-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(255,191,0,.22);
}

/* Section Titles */
.footer-title {
  color: #ffe08a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: .35rem;
  background: linear-gradient(90deg, #ffd24d, #ffbf00);
  border-radius: 2px;
}

/* Links */
.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .45rem;
}

.footer-links a {
  color: #cfd8e6;
  text-decoration: none;
  font-size: .92rem;
  transition: color .25s, padding-left .25s, text-shadow .25s;
}

.footer-links a:hover {
  color: #ffe08a;
  padding-left: 4px;
  text-shadow: 0 0 6px rgba(255,191,0,.7);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #b9c7de;
  font-size: .85rem;
}

/* Light theme adjustments */
[data-bs-theme="light"] .ai4ops-footer {
  background: #121a2a;
  color: #f4f7fc;
  border-color: rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.18);
}

[data-bs-theme="light"] .footer-title {
  color: #d79a00;
}

[data-bs-theme="light"] .footer-title::after {
  background:#ffbf00;
}

[data-bs-theme="light"] .footer-links a:hover {
  color: #d79a00;
  text-shadow:none;
}

[data-bs-theme="light"] .footer-bottom {
  border-color: rgba(0,0,0,.1);
  color:#59627a;
}

/* ============================================================
  END OF AI4OPS FOOTER - PREMIUM MIDNIGHT EDITION
   ============================================================ */

/* ============================================================
  footer-social FOOTER 
   ============================================================ */

  .footer-social a {
  color: #e9eef5;
  transition: transform .25s ease, text-shadow .25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  text-shadow: 0 0 8px rgba(255,191,0,.55);
  color: #ffe08a !important;
}

/* ============================================================
  endo f footer-social FOOTER 
   ============================================================ */


   .services-dropdown-menu {
  min-width: 420px;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #060a10 !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.70);
}

.services-dropdown-menu .dropdown-item {
  color: #c9d4e5 !important;
  font-size: .9rem;
  border-radius: 10px;
  padding: .6rem .75rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.services-dropdown-menu .dropdown-item i {
  margin-top: .15rem;
  font-size: 1.1rem;
  color: #FFBF00;
}

.services-title {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: #f1f5fc !important;
}

.services-dropdown-menu small {
  display: block;
  font-size: .78rem;
  color: #9db2cc !important;
  margin-top: .1rem;
}

.services-dropdown-menu .dropdown-item:hover {
  background: rgba(255,191,0,0.18) !important;
  color: #fff4c2 !important;
  transform: translateX(3px);
  transition: .2s ease;
}

.services-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(255,191,0,0.20);
  color: #e5c977;
  margin-bottom: .25rem;
  display: inline-block;
}



.services-dropdown-menu {
  min-width: 480px;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #060a10 !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.70);
}

.services-dropdown-menu .dropdown-item {
  color: #c9d4e5 !important;
  font-size: .9rem;
  border-radius: 10px;
  padding: .6rem .75rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.services-dropdown-menu .dropdown-item i {
  margin-top: .15rem;
  font-size: 1.1rem;
  color: #FFBF00;
}

.services-title {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: #f1f5fc !important;
}

.services-dropdown-menu small {
  display: block;
  font-size: .78rem;
  color: #9db2cc !important;
  margin-top: .1rem;
}

.services-dropdown-menu .dropdown-item:hover {
  background: rgba(255,191,0,0.18) !important;
  color: #fff4c2 !important;
  transform: translateX(3px);
  transition: .2s ease;
}

.services-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(255,191,0,0.20);
  color: #e5c977;
  margin-bottom: .25rem;
  display: inline-block;
}

/* COMING SOON ITEMS DISABLED */
.disabled-item {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Golden Circular Close Button */
#serviceModal .btn-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFBF00 !important;    /* AI4Ops Gold */
  opacity: 1;
  position: relative;
  padding: 0;
  filter: none !important;
  box-shadow: 0 0 12px rgba(255,191,0,0.45);
}

/* Make the X icon appear black (for contrast) */
#serviceModal .btn-close::after {
  content: '✕';
  font-size: 20px;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hover effect */
#serviceModal .btn-close:hover {
  background-color: #ffcc33 !important;
  box-shadow: 0 0 18px rgba(255,191,0,0.75);
}

/* Focus glow */
#serviceModal .btn-close:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255,191,0,0.45);
}

