/* Cryptique Theme — Main Stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cq-navy:       #172937;
  --cq-navy-light: #1e3545;
  --cq-navy-mid:   #0f1e28;
  --cq-blue:       #86C3F3;
  --cq-blue-dark:  #5ba8e0;
  --cq-white:      #FFFFFF;
  --cq-cloud:      #EDEFF7;
  --cq-smoke:      #D3D6E0;
  --cq-steel:      #BCBFCC;
  --cq-space:      #9DA2B3;
  --cq-graphite:   #6E7180;
  --cq-arsenic:    #40424D;
  --cq-phantom:    #1E1E24;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--cq-navy);
  color: var(--cq-white);
  overflow-x: hidden;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.cq-site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(23,41,55,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(134,195,243,0.1);
  transition: padding 0.3s, background 0.3s;
}
.cq-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  max-width: 1900px; margin: 0 auto;
}
.cq-site-nav.cq-nav-scrolled .cq-nav-inner { padding-top: 14px; padding-bottom: 14px; }

/* Logo */
.cq-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cq-logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.cq-logo-text {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: -0.5px;
  color: var(--cq-white); text-decoration: none;
}

/* Desktop nav links */
.cq-nav-links {
  display: flex; gap: 36px; align-items: center;
}
.cq-nav-links a,
.cq-nav-menu li a {
  text-decoration: none; color: var(--cq-steel);
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.cq-nav-links a:hover,
.cq-nav-menu li a:hover { color: var(--cq-white); }

/* WordPress nav_menu ul reset */
.cq-nav-menu {
  list-style: none; display: flex; gap: 36px; align-items: center;
  margin: 0; padding: 0;
}
.cq-nav-menu li { margin: 0; }

/* CTA button */
.cq-nav-cta {
  background: var(--cq-blue) !important;
  color: var(--cq-navy) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.cq-nav-cta:hover { background: var(--cq-white) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.cq-nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.cq-nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cq-white); border-radius: 2px;
  transition: all 0.3s;
}
.cq-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cq-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.cq-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 900px) {
  .cq-nav-inner { padding: 18px 28px; }
  .cq-nav-toggle { display: flex; }
  .cq-nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(134,195,243,0.1);
    padding: 16px 28px 24px;
  }
  .cq-nav-links.is-open { display: flex; }
  .cq-nav-menu { flex-direction: column; gap: 0; align-items: flex-start; }
  .cq-nav-links a,
  .cq-nav-menu li a {
    display: block; padding: 12px 0;
    border-bottom: 1px solid rgba(134,195,243,0.06);
    font-size: 16px;
  }
  .cq-nav-cta { margin-top: 12px; display: block; text-align: center; }
}

/* ── MAIN CONTENT ────────────────────────────────────────── */
.cq-main-content { padding-top: 0; }
/* When Elementor canvas is used, no extra padding needed */
body.elementor-page .cq-main-content { padding-top: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
.cq-site-footer {
  background: var(--cq-phantom);
  padding: 60px 60px 40px;
  border-top: 1px solid rgba(134,195,243,0.08);
  font-family: 'Manrope', sans-serif;
}
.cq-footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 1900px; /* এখানে 1900px করা হয়েছে */
  margin-left: auto; margin-right: auto;
  margin-bottom: 48px;
}
.cq-footer-brand { flex-shrink: 0; }
.cq-footer-tagline { font-size: 13px; color: var(--cq-graphite); margin-top: 10px; }
.cq-footer-links { display: flex; gap: 60px; }
.cq-footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--cq-steel); margin-bottom: 16px;
}
.cq-footer-col a {
  display: block; font-size: 14px; color: var(--cq-graphite);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.cq-footer-col a:hover { color: var(--cq-white); }
.cq-footer-bottom {
  border-top: 1px solid rgba(134,195,243,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 1900px; /* এখানেও 1900px করা হয়েছে */
  margin: 0 auto;
}
.cq-footer-copy { font-size: 12px; color: var(--cq-arsenic); line-height: 1.6; max-width: 600px; }
.cq-footer-legal { font-size: 12px; color: var(--cq-arsenic); text-align: right; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
@keyframes cqFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cq-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cq-reveal.cq-visible { opacity: 1; transform: none; }
.cq-delay-1 { transition-delay: 0.1s; }
.cq-delay-2 { transition-delay: 0.2s; }
.cq-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .cq-site-footer { padding: 48px 28px 32px; }
  .cq-footer-top { flex-direction: column; gap: 40px; margin-bottom: 32px; }
  .cq-footer-links { gap: 32px; flex-wrap: wrap; }
  .cq-footer-bottom { flex-direction: column; gap: 16px; }
  .cq-footer-legal { text-align: left; }
}
