/*
Theme Name: MistryLagbe
Theme URI: https://mistrylagbe.com/
Author: Antigravity
Author URI: https://mistrylagbe.com/
Description: Premium 2026 Dark Glassmorphism Theme for mistrylagbe.com
Version: 1.0.1
Text Domain: mistrylagbe
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --blue: #2170E4;
  --cyan: #00D2FF;
  --bg: #060B14;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, var(--blue), var(--cyan));
  
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --container: 1200px;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-body); 
  background-color: var(--bg); 
  color: var(--text); 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Dynamic Effects */
.cursor-glow {
  position: fixed; top: var(--mouse-y, -100%); left: var(--mouse-x, -100%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(33,112,228,0.15) 0%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%); pointer-events: none; z-index: 1;
  transition: top 0.1s ease-out, left 0.1s ease-out;
}
.noise-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.04; pointer-events: none; z-index: 2;
}

#page { position: relative; z-index: 10; }

/* ── PREMIUM GLASSMORPHISM UTILITIES ── */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33, 112, 228, 0.15);
  border-color: rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan);
}
.gradient-text-blue {
  background: linear-gradient(135deg, #4A90E2, #90CDF4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; border-radius: var(--border-radius-sm); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-head); border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin-bottom: 16px; color: var(--white); }
h1 { font-size: clamp(48px, 6vw, 72px); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }
h4 { font-size: 20px; }
p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }

/* Buttons */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
  padding: 14px 28px; 
  border-radius: 100px; 
  font-family: var(--font-head); font-size: 16px; font-weight: 600; 
  transition: all 0.2s ease;
}
.btn-primary { 
  background: var(--gradient-primary); 
  color: var(--white) !important; 
  box-shadow: 0 4px 16px rgba(33, 112, 228, 0.4); 
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(33, 112, 228, 0.6); 
  filter: brightness(1.1); 
}

.btn-outline { 
  background: rgba(255, 255, 255, 0.05); 
  color: var(--white) !important; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(8px);
}
.btn-outline:hover { 
  background: rgba(255, 255, 255, 0.1); 
  border-color: rgba(255, 255, 255, 0.2); 
  transform: translateY(-2px); 
}

.badge { 
  display: inline-block; padding: 6px 16px; 
  background: rgba(33, 112, 228, 0.1); 
  color: var(--cyan); border: 1px solid rgba(33, 112, 228, 0.2); 
  font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; 
  border-radius: 100px; margin-bottom: 24px; 
}

/* ── NAVBAR ── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(6, 11, 20, 0.5); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; padding: 20px 0; }
#navbar.scrolled { padding: 12px 0; background: rgba(6, 11, 20, 0.85); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.nav-logo { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.04em; display:flex; align-items:center; gap:12px; }
.nav-logo img { height:48px; border-radius:0; }
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; }
.nav-links > li { list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 600; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--cyan); }

/* Dropdown fix for visibility */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { 
  display: none; position: absolute; top: 100%; left: -24px; 
  background: rgba(10, 15, 25, 0.95); backdrop-filter: blur(16px); 
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--border-radius-sm); 
  padding: 12px; min-width: 240px; box-shadow: 0 8px 32px rgba(0,0,0,0.5); 
  margin-top: 16px; z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu, .menu-item-has-children:hover .sub-menu { display: block; animation: fadeUp 0.2s ease; }
.nav-dropdown-menu a, .sub-menu a { 
  display: block; padding: 10px 16px; color: var(--text) !important; 
  font-size: 14px; font-weight: 500; border-radius: 6px; transition: all 0.2s; 
}
.nav-dropdown-menu a:hover, .sub-menu a:hover { background: rgba(255,255,255,0.05); color: var(--cyan) !important; padding-left: 20px; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.2s; }

/* ── HERO ── */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(33,112,228,0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: -1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

/* Add soft rounded corners and deep shadow to the video */
.hero-video-wrapper video {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Stats Strip */
.stats-strip { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 64px 0; background: rgba(255,255,255,0.01); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 48px; font-weight: 800; color: var(--white); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Services Grid */
.section-head { margin-bottom: 64px; text-align: center; }
.section-head p { max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.service-card { grid-column: span 4; padding: 32px; display: flex; flex-direction: column; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(33,112,228,0.1); border: 1px solid rgba(33,112,228,0.2); display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 24px; }
.service-card p { margin-bottom: 32px; flex-grow: 1; font-size: 15px; }
.service-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); font-size: 14px; transition: gap 0.2s; }
.service-card:hover .service-arrow { gap: 12px; }

.service-card.featured { grid-column: span 8; background: linear-gradient(135deg, rgba(33,112,228,0.1), rgba(0,210,255,0.05)); border-color: rgba(33,112,228,0.3); }

/* Why Us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { padding: 32px; text-align: center; }
.why-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 24px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.why-card h4 { margin-bottom: 12px; color: var(--white); }
.why-card p { font-size: 14px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { padding: 32px; position: relative; }
.testi-stars { color: #FBBF24; margin-bottom: 24px; letter-spacing: 4px; font-size: 18px; }
.testi-text { font-size: 16px; font-style: italic; color: var(--text); margin-bottom: 32px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 16px; }
.testi-name { font-size: 15px; font-weight: 700; color: var(--white); }
.testi-role { font-size: 13px; color: var(--text-muted); }

/* CTA Banner */
.cta-banner { padding: 100px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(33,112,228,0.15) 0%, rgba(6,11,20,1) 100%); z-index: -1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-inner h2 { font-size: 48px; margin-bottom: 16px; }
.cta-inner p { font-size: 20px; max-width: 500px; }
.cta-actions { display: flex; gap: 16px; }

/* Footer */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 80px 0 32px; background: rgba(0,0,0,0.2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand p { margin-top: 24px; max-width: 320px; font-size: 15px; }
.footer-col h5 { color: var(--white); font-size: 16px; margin-bottom: 24px; }
.footer-col a { display: block; color: var(--text-muted); padding: 8px 0; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 32px; display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); }

/* Utility Classes used by pages */
.prop-card { padding: 0; overflow: hidden; }
.prop-img { border-radius: 16px 16px 0 0; }
.page-hero { padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:60%; height:1px; background:linear-gradient(90deg,transparent,rgba(33,112,228,0.5),transparent); }

.filter-tabs { display: flex; gap: 12px; margin-bottom: 40px; justify-content: center; flex-wrap: wrap; }
.filter-tabs .btn-outline.active { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: var(--white); }

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--border-radius-sm); font-family: var(--font-body); font-size: 15px; color: var(--white); transition: all 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 4px rgba(33,112,228,0.1); }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 8px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { padding: 16px 0; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; color: var(--white); }
.faq-q .icon { color: var(--cyan); font-size: 20px; transition: transform 0.2s; }
.faq-a { padding-bottom: 16px; font-size: 15px; color: var(--text-muted); }

.contact-info-card { padding: 24px; display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(33,112,228,0.1); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--white); }

.map-placeholder { height: 400px; border-radius: var(--border-radius); display: flex; align-items: center; justify-content: center; font-size: 48px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { display: flex; flex-direction: column; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .why-grid, .testi-grid, .values-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .why-grid, .testi-grid, .footer-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .section, .section-sm { padding: 64px 0; }
  .cta-inner h2 { font-size: 36px; }
}
