/* Wise Global Technology - Modern Tech Theme (Chillead-inspired) */

:root {
  --bg-dark: #060b14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --navy: #0a1628;
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.45);
  --cyan-dark: #00b8d4;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --white: #ffffff;
  --gray-50: #0f172a;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-600: #94a3b8;
  --gray-800: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--white); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0, 229, 255, 0.08); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3)); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.92rem;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--cyan); transition: width 0.3s; box-shadow: 0 0 8px var(--cyan);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; font-weight: 600; font-size: 0.95rem; border-radius: 10px;
  text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0091ea); color: #06101c;
  box-shadow: 0 0 20px var(--cyan-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyan-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
}
.btn-secondary {
  background: transparent; color: var(--cyan); border: 1.5px solid rgba(0, 229, 255, 0.4);
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1); border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.btn-white {
  background: rgba(255, 255, 255, 0.08); color: white;
  border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--cyan); margin: 5px 0; transition: 0.3s; }

.theme-toggle {
  background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px; padding: 0.4rem 0.6rem; cursor: pointer; font-size: 1.1rem;
  margin-left: 0.5rem; color: var(--cyan);
}

/* Hero */
.hero {
  padding: 150px 0 110px;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 229, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0, 100, 255, 0.08), transparent),
    linear-gradient(180deg, #060b14 0%, #0a1424 100%);
  color: white; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--bg-dark), transparent); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 740px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan); padding: 0.45rem 1.1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); color: white; margin-bottom: 1.3rem;
  letter-spacing: -0.03em; text-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}
.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), #4fc3f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.2rem; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2.8rem; padding-top: 2.2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
}
.stat-item h3 {
  font-size: 2.1rem; color: var(--cyan); margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.stat-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Sections */
.section { padding: 5.5rem 0; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header .label {
  display: inline-block; color: var(--cyan); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem;
}
.section-header h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Glass Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 1.9rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(0, 229, 255, 0.3); transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 229, 255, 0.08);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 100, 255, 0.1));
  border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.25rem; color: var(--cyan);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; color: white; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-card a {
  color: var(--cyan); font-weight: 600; text-decoration: none; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-card a:hover { gap: 0.6rem; text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }

/* Features */
.features { background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.03), transparent); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; }
.feature-item {
  text-align: center; padding: 1.8rem 1.4rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 16px; backdrop-filter: blur(8px); transition: all 0.3s;
}
.feature-item:hover {
  border-color: rgba(0, 229, 255, 0.25); box-shadow: 0 0 25px rgba(0, 229, 255, 0.08);
}
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 80, 200, 0.1));
  border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: var(--cyan);
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: white; }
.feature-item p { color: var(--text-muted); font-size: 0.92rem; }

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 80, 180, 0.15));
  border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 20px; padding: 3.5rem 2.5rem;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}
.cta-banner h2 { color: white; font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.9rem; backdrop-filter: blur(10px);
}
.testimonial-card .stars { color: #fbbf24; margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-card p { color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0066ff);
  display: flex; align-items: center; justify-content: center; color: #06101c;
  font-weight: 700; font-size: 0.9rem;
}
.author-info strong { display: block; color: white; font-size: 0.95rem; }
.author-info span { font-size: 0.85rem; color: var(--text-muted); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; }
.team-card {
  text-align: center; background: var(--bg-card); border-radius: 16px; padding: 2rem 1.5rem;
  border: 1px solid var(--border); transition: all 0.3s; backdrop-filter: blur(8px);
}
.team-card:hover {
  transform: translateY(-6px); border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 229, 255, 0.08);
}
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--navy), var(--cyan-dark));
  display: flex; align-items: center; justify-content: center; color: white;
  font-size: 2rem; font-weight: 700; border: 2px solid rgba(0, 229, 255, 0.3);
}
.team-card img { border: 2px solid rgba(0, 229, 255, 0.3); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; color: white; }
.team-card .role { color: var(--cyan); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.875rem; color: var(--text-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; color: white; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item .icon {
  width: 44px; height: 44px; background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--cyan); flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 0.2rem; color: white; }
.contact-item a, .contact-item span { color: var(--text-muted); text-decoration: none; }
.contact-item a:hover { color: var(--cyan); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border); padding: 2.3rem;
  border-radius: 16px; backdrop-filter: blur(12px);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
  background: rgba(6, 11, 20, 0.6); color: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer */
.footer { background: #04080f; color: var(--text-muted); padding: 4rem 0 2rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { margin: 1rem 0 1.5rem; font-size: 0.95rem; max-width: 280px; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 1.25rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.65rem; }
.footer a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem;
}

/* Page Hero */
.page-hero {
  padding: 150px 0 70px;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 229, 255, 0.12), transparent), linear-gradient(180deg, #060b14, #0a1424);
  color: white; text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(2.1rem, 4vw, 2.9rem); margin-bottom: 0.8rem; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto; }

/* Projects */
.project-card {
  background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.project-card:hover {
  transform: translateY(-6px); border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 229, 255, 0.08);
}
.project-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.project-body { padding: 1.6rem; }
.project-tag {
  display: inline-block; background: rgba(0, 229, 255, 0.12); color: var(--cyan);
  font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 50px;
  margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.project-body h3 { font-size: 1.2rem; margin-bottom: 0.6rem; color: white; }
.project-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.project-meta {
  display: flex; gap: 1.25rem; font-size: 0.85rem; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 1rem; flex-wrap: wrap;
}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.75rem; }

/* AI Chatbot */
.chatbot-toggle {
  position: fixed; bottom: 24px; right: 24px; width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0066ff); color: #06101c; border: none;
  cursor: pointer; box-shadow: 0 0 25px var(--cyan-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 9999; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chatbot-toggle:hover { transform: scale(1.1); box-shadow: 0 0 35px var(--cyan-glow), 0 10px 30px rgba(0, 0, 0, 0.5); }
.chatbot-window {
  position: fixed; bottom: 100px; right: 24px; width: 370px; max-width: calc(100vw - 32px);
  height: 500px; background: #0c1525; border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.1);
  display: none; flex-direction: column; z-index: 9998; overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.chatbot-window.open { display: flex; }
.chatbot-header {
  background: linear-gradient(135deg, #0a1628, #0f2744); color: white; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}
.chatbot-header h4 { margin: 0; font-size: 1rem; color: white; }
.chatbot-header span { font-size: 0.78rem; opacity: 0.8; color: var(--cyan); }
.chatbot-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; opacity: 0.8; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1.1rem; background: #080f1a; }
.chat-msg {
  margin-bottom: 0.9rem; max-width: 88%; padding: 0.75rem 1.05rem; border-radius: 14px;
  font-size: 0.9rem; line-height: 1.45;
}
.chat-msg.bot { background: #132337; border: 1px solid rgba(0, 229, 255, 0.12); margin-right: auto; color: var(--text); }
.chat-msg.user { background: linear-gradient(135deg, var(--cyan), #0091ea); color: #06101c; margin-left: auto; font-weight: 500; }
.chatbot-input-area { display: flex; padding: 0.85rem; border-top: 1px solid rgba(0, 229, 255, 0.12); background: #0c1525; }
.chatbot-input-area input {
  flex: 1; border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 10px; padding: 0.7rem 1rem;
  font-size: 0.9rem; outline: none; background: #080f1a; color: white;
}
.chatbot-input-area input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.chatbot-input-area button {
  margin-left: 0.5rem; background: linear-gradient(135deg, var(--cyan), #0091ea); color: #06101c;
  border: none; border-radius: 10px; padding: 0 1.1rem; cursor: pointer; font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: #0a1424;
    flex-direction: column; padding: 1.5rem; gap: 0; border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mobile-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 130px 0 80px; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }
