/* ===================================================
   FOOTER PAGE
=================================================== */
.container{
  flex-direction: column;
}

.footer-page-header {
  width:100%;
  padding: 8px 16px;
  background: linear-gradient(135deg, #fff 60%, #fff7f4 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-secondary);
}

.footer-page-header h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
}

.footer-page-header p {
  max-width: 650px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
}

.page-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-badge {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(235,104,53,0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(235,104,53,0.15);
}

/*Filter Scearch*/

.scearch{
  display: flex;
  align-items: center;
  max-width: 250px;
  gap: 8px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 40px;
  padding: 7px 16px;
  transition: all var(--transition);
}

.scearch i{
  font-size: 12px;
  color: #aaa;
}

#Scearch{
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  width: 160px;
}



.footer-component-card{

transition:.35s;

}

.footer-component-card:hover{

transform:translateY(-8px);

box-shadow:
0 18px 40px rgba(0,0,0,.12);

}


.footer-preview{

padding:30px;

background:

linear-gradient(
135deg,
#f8fafc,
#eef2ff
);

border-radius:18px;

}
/* GRID */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
  gap: 28px;
}

/* CARD */

.footer-component-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.3s ease;
}

.footer-component-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--card-border);
}

.card-label {
  font-size: 18px;
  font-weight: 700;
}

.card-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-popular {
  background: rgba(116,185,255,0.14);
  color: #0984e3;
}

.tag-essential {
  background: rgba(0,184,148,0.14);
  color: #00b894;
}

.tag-new {
  background: rgba(253,203,110,0.14);
  color: #e17055;
}

.tag-trending {
  background: rgba(253,121,168,0.14);
  color: #e84393;
}

/* PREVIEW */

.footer-preview {
  padding: 24px;
  background: #f8f8fc;
}

body.dark-mode .footer-preview {
  background: #13131a;
}

/* DEMO FOOTERS */

.demo-footer {
  border-radius: 20px;
  padding: 34px;
}

/* DARK FOOTER */

.dark-footer {
  background: #111827;
  color: white;
}

.demo-footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.demo-footer-grid h2,
.demo-footer-grid h4 {
  margin-bottom: 14px;
}

.demo-footer-grid p,
.demo-footer-grid a {
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.demo-socials {
  display: flex;
  gap: 12px;
  font-size: 18px;
  margin-top: 10px;
}

/* MINIMAL */

.minimal-footer {
  background: white;
  text-align: center;
}

.minimal-inner h2 {
  margin-bottom: 16px;
}

.minimal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.minimal-links a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

/* NEWSLETTER */

.newsletter-footer {
  background: linear-gradient(135deg,#111827,#1f2937);
  color: white;
  text-align: center;
}

.newsletter-footer h2 {
  margin-bottom: 10px;
}

.newsletter-footer p {
  color: #cbd5e1;
  margin-bottom: 24px;
}

.newsletter-demo {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-demo input {
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  min-width: 220px;
}

.newsletter-demo button {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* GRADIENT */

.gradient-footer {
  background: linear-gradient(135deg,#6c5ce7,#eb6835);
  color: white;
  text-align: center;
}

.gradient-footer h2 {
  margin-bottom: 14px;
}

.gradient-footer p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.gradient-footer button {
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: white;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

/* ACTIONS */

.actions {
  display: flex;
  gap: 12px;
  padding: 22px;
}

.action-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}

.view-btn {
  background: rgba(108,92,231,0.12);
  color: #6c5ce7;
}

.copy-btn {
  background: rgba(235,104,53,0.12);
  color: var(--accent);
}

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

/* RESPONSIVE */

@media (max-width: 768px) {

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

  .demo-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 520px) {

  .demo-footer-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

}

/* =========================
   GLOBAL RESET (safe use)
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: "DM Sans", sans-serif;
  background:#0f0f14;
  color:#fff;
}

/* =========================
   GRID LAYOUT
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
  padding:20px;
}

/* =========================
   FOOTER CARD
.footer-component-card{
  background:#161622;
  border:1px solid #2a2a3a;
  border-radius:14px;
  overflow:hidden;
  transition:0.3s ease;
}

.footer-component-card:hover{
  transform:translateY(-4px);
  border-color:#6c5ce7;
}

/* =========================
   CARD HEADER
.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  background:#12121a;
  border-bottom:1px solid #2a2a3a;
}

.card-label{
  font-weight:600;
  font-size:14px;
}

.card-tag{
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  background:#2a2a3a;
  color:#aaa;
}

/* TAG COLORS */
.tag-new{ background:#00b894; color:#fff; }
.tag-popular{ background:#6c5ce7; color:#fff; }
.tag-trending{ background:#ff7675; color:#fff; }
.tag-essential{ background:#fdcb6e; color:#111; }

/* =========================
   PREVIEW AREA
.footer-preview{
  padding:16px;
  min-height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================
   DEMO FOOTERS BASE
.demo-footer{
  width:100%;
  padding:16px;
  border-radius:10px;
  text-align:center;
}

/* =========================
   VARIANTS

/* Startup */
.startup-footer{
  background:linear-gradient(135deg,#6c5ce7,#341f97);
  color:#fff;
}

/* Grid */
.grid-footer{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  font-size:13px;
}

/* Glow */
.glow-footer{
  background:#0f0f14;
  border:1px solid #6c5ce7;
  box-shadow:0 0 20px rgba(108,92,231,0.4);
}

/* App */
.app-footer button{
  margin:5px;
  padding:8px 12px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  background:#6c5ce7;
  color:#fff;
}

/* Wave */
.wave-footer{
  background:linear-gradient(135deg,#00b894,#0984e3);
}

/* Portfolio */
.portfolio-footer{
  background:#1e1e2f;
}

/* Bento */
.bento-footer{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}

/* Elegant */
.elegant-footer{
  background:#1b1b24;
  border:1px solid #333;
}

/* Dark Pro */
.darkpro-footer{
  background:#0a0a0f;
  border:1px solid #2d2d3a;
}

/* Community */
.community-footer i{
  font-size:20px;
  margin:6px;
  cursor:pointer;
  transition:0.2s;
}

.community-footer i:hover{
  color:#6c5ce7;
  transform:scale(1.2);
}

/* Glass */
.glass-footer{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.1);
}

/* Social */
.social-footer i{
  font-size:22px;
  margin:6px;
}

/* Split */
.split-footer{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Neon */
.neon-footer{
  background:#050505;
  border:1px solid #00ffe5;
  box-shadow:0 0 10px #00ffe5;
}

/* Centered */
.centered-footer{
  text-align:center;
}

/* Minimal */
.minimal-footer{
  background:#111;
}

/* Newsletter */
.newsletter-demo{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}

.newsletter-demo input{
  padding:8px;
  border-radius:8px;
  border:none;
  width:60%;
}

/* Gradient */
.gradient-footer{
  background:linear-gradient(135deg,#ff6b6b,#6c5ce7);
}

/* =========================
   ACTIONS
.actions{
  display:flex;
  justify-content:space-between;
  padding:10px 12px;
  border-top:1px solid #2a2a3a;
  background:#12121a;
}

.action-btn{
  padding:6px 10px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-size:12px;
  background:#2a2a3a;
  color:#fff;
  transition:0.2s;
}

.action-btn:hover{
  background:#6c5ce7;
}

/* =========================
   FOOTER PAGE HEADER
.footer-page-header{
  padding:30px 20px;
}

.footer-page-header h1{
  font-size:28px;
  margin:10px 0;
}

.footer-page-header p{
  opacity:0.7;
}

/* =========================*/
   RESPONSIVE
@media (max-width:768px){
  .footer-grid{
    grid-template-columns:1fr;
  }
.footer-socials a{
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

.footer {
  margin-top: 80px;
  background: #0f172a;
  color: #fff;
  padding: 60px 24px 20px;
}

.footer-card {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand h2 {
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .3s;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 12px;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #1e293b;
  color: white;
}

.newsletter-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #6366f1;
  color: white;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  color: #94a3b8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}