/*
Theme Name: Codizar
Theme URI: https://codizar.com
Author: Codizar Technologies
Author URI: https://codizar.com
Description: Codizar Technologies - Premium IT Solutions WordPress Theme.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codizar
Tags: technology, digital-agency, it-services, responsive, dark
*/

/* ── WP RESET ── */
html, body { margin: 0 !important; padding: 0 !important; max-width: 100% !important; overflow-x: hidden !important; background: #08090F !important; }
:root {
  --wp--preset--color--primary: transparent !important;
  --wp--preset--color--vivid-cyan-blue: transparent !important;
  --wp--style--global--content-size: 100% !important;
}
.wp-site-blocks { padding: 0 !important; margin: 0 !important; }

/* ── THEME VARIABLES ── */
:root {
  --cyan: #00C9E4;
  --blue: #2B5CE6;
  --purple: #7B3FE4;
  --pink: #E43FA0;
  --orange: #F47C20;
  --yellow: #F5C518;
  --green: #2EC972;
  --teal: #1FA8A0;
  
  --dark: #08090F;
  --dark2: #0F1120;
  --dark3: #161829;
  --muted: #9396B0;
  --white: #ffffff;
  
  --grad1: linear-gradient(135deg, var(--cyan), var(--blue));
  --grad2: linear-gradient(135deg, var(--purple), var(--pink));
  --grad3: linear-gradient(135deg, var(--orange), var(--yellow));
  --card-grad: linear-gradient(135deg, #00C9E4, #2B5CE6);
  --glass-bg: rgba(22, 24, 41, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* Subtle noise overlay for premium texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ── ANIMATIONS ── */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 20px rgba(0, 201, 228, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 201, 228, 0.6); }
  100% { box-shadow: 0 0 20px rgba(0, 201, 228, 0.2); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.revealed { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  background: var(--grad1);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0, 201, 228, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 201, 228, 0.6);
  color: white;
}

.btn-secondary {
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-wa {
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.6);
  color: white;
}

/* ── NAV ── */
.site-header {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 1000 !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  padding: 1.2rem 5vw !important; background: rgba(8,9,15,.85) !important; backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  width: 100% !important;
}

.nav-logo-wrapper { flex: 1 !important; display: flex !important; justify-content: flex-start !important; }
.main-navigation { flex: 2 !important; display: flex !important; justify-content: center !important; }
.header-actions { flex: 1 !important; display: flex !important; justify-content: flex-end !important; align-items: center !important; gap: 15px !important; }

.nav-logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;}
.nav-logo-hex{width:38px;height:38px;background:var(--grad1);clip-path:polygon(50% 0%,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;color:white;font-family:'Syne',sans-serif;}
.nav-logo-text{font-family:'Syne',sans-serif;font-weight:700;font-size:1.15rem;letter-spacing:-.02em;color:white;}
.nav-logo-text span{background:var(--grad1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}

.main-navigation ul{display:flex !important; gap:2.5rem !important; list-style:none; margin:0; padding:0;}
.main-navigation a{color:var(--muted);text-decoration:none;font-size:1rem;font-weight:500;transition:color .25s;}
.main-navigation a:hover{color:var(--white);}

.nav-cta{padding:.6rem 1.4rem;background:var(--grad1);border:none;border-radius:50px;color:white;font-family:'DM Sans',sans-serif;font-weight:600;font-size:.9rem;cursor:pointer;text-decoration:none;transition:transform .2s,box-shadow .2s;box-shadow:0 0 20px rgba(0,201,228,.25);}
.nav-cta:hover{transform:translateY(-2px);box-shadow:0 0 35px rgba(0,201,228,.45);}

.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;}
.nav-hamburger span{width:22px;height:2px;background:white;border-radius:2px;transition:.3s;}

.mobile-menu{position:fixed;top:0;right:-300px;left:auto;width:300px;height:100vh;background:rgba(15,17,32,0.98);backdrop-filter:blur(20px);z-index:999;display:flex;flex-direction:column;padding:6rem 2rem 2rem;transition:right 0.4s cubic-bezier(0.16, 1, 0.3, 1);border-left:1px solid rgba(255,255,255,0.08);box-shadow:-10px 0 30px rgba(0,0,0,0.5);}
.mobile-menu.active{right:0;display:flex !important;animation:none;}
.mobile-menu a{color:var(--white);text-decoration:none;font-size:1.2rem;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.04);font-weight:600;transition:color .2s;}
.mobile-menu a:hover{color:var(--cyan);}
.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);z-index:998;opacity:0;pointer-events:none;transition:opacity 0.4s ease;}
.mobile-overlay.active{opacity:1;pointer-events:all;}
.close-menu{position:absolute;top:1.5rem;right:1.5rem;background:none;border:none;color:white;font-size:2rem;cursor:pointer;padding:10px;line-height:1;}

@media(max-width: 850px){
  .main-navigation,.nav-cta{display:none !important;}
  .nav-hamburger{display:flex !important;}
  .nav-logo-wrapper, .header-actions { flex: initial !important; }
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  padding: 8rem 5vw 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 40%, rgba(0, 201, 228, 0.15), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
  padding: 0.5rem 1rem; border-radius: 50px;
  border: 1px solid rgba(0, 201, 228, 0.3);
  background: rgba(0, 201, 228, 0.05);
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero h1 .grad-text {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; width: 100%;
}
.stat-box { text-align: left; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--cyan); margin-bottom: 0.2rem; white-space: nowrap;
}
.stat-lbl { color: var(--muted); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-visual {
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
  z-index: 1;
}
.floating-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
  width: 320px;
  max-width: 100%;
}
.floating-card:hover { transform: scale(1.05) translateY(-5px); }
.fc-1 { animation-delay: 0s; transform: translateX(0); }
.fc-2 { animation-delay: -2s; transform: translateX(-30px); z-index: 2; }
.fc-3 { animation-delay: -4s; transform: translateX(-60px); }
.fc-icon {
  width: 50px; height: 50px; border-radius: 12px; min-width: 50px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.fc-text h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.fc-text p { font-size: 0.75rem; color: var(--muted); margin: 0; line-height: 1.4; }

@media(max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero p { text-align: center; }
  .stats-row { justify-content: center; text-align: center; }
  .stat-box { text-align: center; }
  .hero-visual { align-items: center; }
  .fc-1, .fc-2, .fc-3 { transform: none !important; margin: 0 auto; }
}

@media(max-width: 768px) {
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── RESPONSIVE CLASSES (HOME PAGE NEW SECTIONS) ── */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-timeline { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; position: relative; }
.process-line { position: absolute; left: 40px; top: 0; bottom: 0; width: 2px; background: rgba(0,201,228,0.2); z-index: 0; }
.process-step { display: flex; gap: 2.5rem; position: relative; z-index: 1; }
.step-num { width: 80px; height: 80px; min-width: 80px; background: var(--dark3); border: 2px solid var(--cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--cyan); box-shadow: 0 0 20px rgba(0,201,228,0.2); }
.step-content { background: var(--dark2); border: 1px solid var(--glass-border); padding: 2.5rem; border-radius: 24px; flex: 1; }

.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

@media(max-width: 768px) {
  .process-step { gap: 1rem; }
  .step-num { width: 50px; height: 50px; min-width: 50px; font-size: 1.1rem; }
  .process-line { left: 25px; }
  .step-content { padding: 1.5rem; }
  .form-cols { grid-template-columns: 1fr; }
}

/* ── TECH SLIDER ── */
.tech-section { padding: 4rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: var(--dark2); overflow: hidden; }
.tech-header { text-align: center; margin-bottom: 2.5rem; }
.tech-slider { display: flex; gap: 2rem; width: max-content; animation: scroll 30s linear infinite; }
.tech-slider:hover { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tech-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.5rem; background: var(--dark3); border-radius: 50px;
  border: 1px solid var(--glass-border); text-decoration: none; color: var(--white);
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease;
}
.tech-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.tech-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── SERVICES SECTION ── */
.services-section { padding: 8rem 5vw; background: var(--dark); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; max-width: 1300px; margin: 0 auto; }
.service-card {
  background: var(--dark2); border: 1px solid var(--glass-border); border-radius: 24px;
  padding: 2.5rem; text-decoration: none; display: block; position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: var(--grad1); opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px); border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 0.03; }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--dark3);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  margin-bottom: 1.5rem; position: relative; z-index: 1; border: 1px solid var(--glass-border);
}
.service-card h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; margin-bottom: 1.5rem; }
.service-link { color: var(--cyan); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; position: relative; z-index: 1; }
.service-card:hover .service-link { gap: 10px; }

/* ── CONTACT PAGE / FORM ── */
.contact-hero { padding: 10rem 5vw 4rem; background: var(--dark2); text-align: center; border-bottom: 1px solid var(--glass-border); }
.contact-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; }
.contact-hero p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.contact-wrap { padding: 6rem 5vw; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; max-width: 1200px; margin: 0 auto; }
@media(max-width: 850px) { .contact-wrap { grid-template-columns: 1fr; gap: 3rem; } }
.contact-info-card { background: var(--dark2); border: 1px solid var(--glass-border); padding: 3rem; border-radius: 24px; }
.ci-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.ci-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--dark3); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 1px solid var(--glass-border); color: var(--cyan); }
.ci-text h4 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.ci-text p, .ci-text a { color: var(--muted); font-size: 0.95rem; line-height: 1.5; text-decoration: none; }

.contact-form-box { background: var(--dark3); border: 1px solid var(--glass-border); padding: 3rem; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white); }
.form-control { width: 100%; padding: 1rem 1.2rem; background: var(--dark); border: 1px solid var(--glass-border); border-radius: 12px; color: white; font-family: 'DM Sans', sans-serif; font-size: 1rem; transition: all 0.3s; }
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 201, 228, 0.1); }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
@media(max-width: 600px) { .form-actions { grid-template-columns: 1fr; } }

/* ── FOOTER BEAUTIFICATION ── */
.site-footer {
  background: #05060A;
  padding: 6rem 5vw 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
@media(max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media(max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { color: var(--muted); line-height: 1.8; font-size: 0.95rem; margin-top: 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: 1rem; margin-top: 2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { background: var(--cyan); color: #000; transform: translateY(-3px); }
.footer-widget h4 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.5rem; color: var(--white); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--cyan); transform: translateX(5px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9000;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; text-decoration: none; color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1) rotate(-5deg); }

/* Toast Notifications */
#toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: rgba(22, 24, 41, 0.95); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); padding: 16px 24px; border-radius: 12px;
  color: white; font-weight: 500; font-size: 0.95rem; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: slideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--pink); }
@keyframes slideInLeft { from{transform:translateX(-100%);opacity:0;} to{transform:translateX(0);opacity:1;} }
@keyframes fadeOut { to{opacity:0;transform:translateY(-10px);} }