:root {
  --bg: #0b0b1a;
  --bg-2: #0f1024;
  --text: #e9edf3;
  --muted: #b8c0cc;
  --primary: #2f7cf6;
  --primary-2: #6b5cff;
  --gradient: linear-gradient(90deg, #2f7cf6, #6b5cff);
  --card: #12132a;
  --card-2: #181a34;
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, rgba(108,92,255,.2), transparent 60%),
             radial-gradient(800px 400px at 20% 0%, rgba(47,124,246,.25), transparent 50%),
             var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,16,36,.65);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { color: #b8c9ff; font-weight: 800; text-decoration: none; letter-spacing: .2px; }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); font-size: 22px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-list a:hover { color: var(--text); }
.header-cta { margin-left: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); color: #000000; box-shadow: var(--shadow); }
.btn-primary.ghost { background: transparent; border-color: rgba(111,132,255,.35); color: var(--text); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); }

/* Ensure black text for View Details buttons in light sections */
.section.light .btn-primary,
.section.light .btn-primary.ghost { color: #000000; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 64px; }
.hero-gradient { position: absolute; inset: -30% -20% -10% -20%; background: radial-gradient(900px 500px at 50% 10%, rgba(47,124,246,.35), transparent 60%), radial-gradient(900px 500px at 40% -10%, rgba(107,92,255,.35), transparent 60%); filter: blur(30px); opacity: .9; pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--border); color: #d8defa; font-weight: 600; }
.badge-icon { filter: drop-shadow(0 2px 6px rgba(47,124,246,.8)); }
.hero-title { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; margin: 16px auto; max-width: 920px; font-weight: 800; }
.hero-subtitle { color: var(--muted); max-width: 820px; margin: 0 auto 28px; }
.hero-actions { display: flex; align-items: stretch; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-input { display: inline-flex; align-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--border); padding: 6px; border-radius: 999px; }
.hero-input input { background: transparent; border: 0; color: var(--text); outline: none; padding: 10px 12px; width: 220px; }
.hero-input .btn { padding: 10px 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 40px; }
.stat { display: grid; gap: 6px; }
.stat-value { font-weight: 800; font-size: 24px; }
.stat-label { color: var(--muted); font-size: 14px; }
.mouse { width: 28px; height: 44px; border-radius: 16px; border: 2px solid rgba(255,255,255,.35); margin: 28px auto 0; position: relative; opacity: .7; }
.mouse:after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: rgba(255,255,255,.5); transform: translateX(-50%); border-radius: 2px; animation: wheel 2s infinite; }
@keyframes wheel { 0%{ opacity:.8; transform: translate(-50%,0);} 50%{ opacity:.2; transform: translate(-50%,8px);} 100%{ opacity:.8; transform: translate(-50%,0);} }
.hero-input {
  display: none !important;
}



/* Sections */
.section { padding: 48px 0; }
.alt-bg { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); }
.section.light { background: #ffffff; color: #000000; }
.section.light .section-header p { color: #000000; }
.section.light .pill { background: #eef2ff; color: #4f46e5; border-color: #e5e7eb; }
.section.light .card { background: #ffffff; border-color: #e5e7eb; box-shadow: 0 10px 20px rgba(10,10,10,.06); color: #000000; }
.section.light .service p, .section.light .feature p, .section.light .job p { color: #000000; }
.section.light .post .post-meta { color: #000000; }
.section.light .post .post-link { color: #000000; }
.section.light .contact-card a { color: #000000; }

/* Section headers */
.section-header { text-align: center; margin-bottom: 32px;font-size: large;}
.section-header h2 { margin: 10px 0; font-size: clamp(24px, 3.2vw, 12px); }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.careers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card.mini { padding: 18px; }
.service h3, .feature h3, .job h3, .post h3 { margin: 10px 0; }
.service p, .feature p, .job p { color: var(--muted); margin: 0; }

.icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; }
.icon.blue { background: rgba(47,124,246,.15); color: #9ec2ff; }
.icon.pink { background: rgba(255,99,185,.16); color: #ffb5df; }
.icon.purple { background: rgba(137,121,255,.16); color: #cabfff; }
.icon.orange { background: rgba(255,187,88,.16); color: #ffd7a2; }
.icon.green { background: rgba(74,222,128,.16); color: #b7ffd3; }
.icon.teal { background: rgba(64,224,208,.16); color: #b6fff4; }

/* Showcase */
.showcase .showcase-inner { display: grid; }
.showcase .showcase-inner.single { padding: 0; overflow: hidden; }
.showcase .showcase-image { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* Jobs */
.job .chip { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 10px; display: inline-block; }
.chip.info { background: rgba(47,124,246,.18); color: #000000; border: 1px solid var(--border); }
.chip.success { background: rgba(64,224,208,.18); color: #102db1; border: 1px solid var(--border); }
.job .job-meta { list-style: none; padding: 0; margin: 10px 0; display: flex; gap: 14px; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { background: #000000; border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; color: #dbe3ff; font-size: 12px; }

/* Blog */
.post .post-media { height: 180px; border-radius: 12px; background-size: cover; background-position: center; border: 1px solid var(--border); }
.post .post-body { margin-top: 14px; }
.post .post-meta { list-style: none; display: flex; gap: 16px; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.post .post-link { color: #cfe0ff; text-decoration: none; font-weight: 700; }
.post .ai { background-image: linear-gradient(135deg, rgba(47,124,246,.2), rgba(107,92,255,.2)), url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?q=80&w=1200&auto=format&fit=crop'); }
.post .data { background-image: linear-gradient(135deg, rgba(47,124,246,.2), rgba(107,92,255,.2)), url('https://images.unsplash.com/photo-1551281044-8d8d0d8ce37e?q=80&w=1200&auto=format&fit=crop'); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card a { color: #cfe0ff; text-decoration: none; font-size: 15px; line-height: 1.5;}
.contact-info {
  flex: 1;
}

.contact-info h3 {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.contact-info p,
.contact-info a,
.contact-card a { 
  margin: 0;
  color: #cfe0ff; 
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}
.contact-info a:hover,
.contact-card a:hover { color: var(--primary);text-decoration: underline; }
.contact-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.contact-form label { display: grid; gap: 8px; color: #e4e9f7; font-weight: 600; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text); padding: 12px 12px; border-radius: 10px; outline: none; }
.contact-form .span-2 { grid-column: span 2; }
.form-success { color: #b8f5d2; margin-top: 10px; }

/* Footer */
.site-footer { background: radial-gradient(900px 400px at 80% -10%, rgba(107,92,255,.25), transparent 60%), var(--bg-2); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 22px; padding: 40px 0; }
.footer-brand p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 12px 0; color: var(--muted); }
.socials a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--border); color: #dfe6ff; text-decoration: none; margin-right: 8px; }
.footer-links h4 { margin: 8px 0; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--muted); padding: 14px 0; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .showcase .showcase-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; right: 16px; top: 56px; flex-direction: column; background: rgba(15,16,36,.95); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: none; }
  .nav-list.open { display: grid; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .careers-grid, .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Footer Layout Update --- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text);
  padding: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 0;
}

.footer-brand,
.footer-links {
  background: var(--card);
  padding: 32px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid var(--border);
}

.footer-brand {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.footer-links:last-child {
  border-right: none;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.footer-brand p {
  margin: 18px 0 0 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-list {
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.socials {
  margin-top: 12px;
}

.footer-links h4 {
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 14px 0;
  font-size: 14px;
  text-align: center;
  background: var(--bg-2);
}

/* Footer Layout for 4 columns: Brand, Company, Resources, Services */
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 0;
}

.footer-brand {
  background: var(--card);
  padding: 32px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid var(--border);
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.footer-links {
  background: var(--card);
  padding: 32px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid var(--border);
}

.footer-links:last-child {
  border-right: none;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand,
  .footer-links {
    min-height: 180px;
    padding: 24px 14px;
  }
}
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-links {
    border-right: none;
    border-radius: var(--radius);
    min-height: unset;
    padding: 18px 10px;
  }
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand,
  .footer-links {
    min-height: 180px;
    padding: 24px 14px;
  }
}
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-links {
    border-right: none;
    border-radius: var(--radius);
    min-height: unset;
    padding: 18px 10px;
  }
}

/* Blog Card Images */
.post-media.ai {
  background-image: url("Assets/ai-business.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 220px;
  border-radius: var(--radius);
}

.post-media.data {
  background-image: url("Assets/Data-analytics.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 220px;
  border-radius: var(--radius);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text);
}

/* Responsive */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .showcase .showcase-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: 95%; }
  
  /* Header fixes */
  .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; right: 16px; top: 56px; flex-direction: column; background: rgba(15,16,36,.95); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: none; }
  .nav-list.open { display: grid; }
  .brand-logo { height: 32px; }
  .brand { font-size: 1.1rem; }
  
  /* Hero fixes */
  .hero { padding: 48px 0 32px; }
  .hero-title { font-size: clamp(24px, 7vw, 36px); margin: 12px auto; }
  .hero-subtitle { font-size: 15px; margin-bottom: 20px; }
  .badge { font-size: 13px; padding: 6px 12px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .stat-value { font-size: 28px; }
  .stat-label { font-size: 13px; }
  
  /* Grids */
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .careers-grid, .blog-grid { grid-template-columns: 1fr; }
  
  /* Cards */
  .card { padding: 18px; }
  .service h3, .feature h3, .job h3, .post h3 { font-size: 16px; }
  
  /* Section headers */
  .section-header h2 { font-size: clamp(22px, 5vw, 28px); }
  .section { padding: 36px 0; }
  
  /* Contact form */
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 16px; }
  .contact-info h3 { font-size: 14px; }
  .contact-info p, .contact-info a, .contact-card a { font-size: 14px; }
}

@media (max-width: 480px) {
  .container { width: 90%; }
  
  /* Hero mobile */
  .hero { padding: 32px 0 24px; }
  .hero-title { font-size: 22px; line-height: 1.2; }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  
  /* Single column grids */
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  
  /* Stats */
  .hero-stats { gap: 12px; margin-top: 24px; }
  .stat-value { font-size: 24px; }
  
  /* Cards */
  .card { padding: 16px; }
  .icon { width: 36px; height: 36px; font-size: 18px; }
  
  /* Contact */
  .contact-wrap { gap: 16px; }
  .contact-form input, .contact-form textarea { padding: 10px; font-size: 14px; }
  .btn { padding: 10px 16px; font-size: 14px; }
  
  /* Footer */
  .footer-brand, .footer-links { padding: 20px 16px; min-height: unset; }
  .footer-links h4 { font-size: 16px; margin-bottom: 12px; }
  .footer-links a { font-size: 14px; }
}
.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 6px; /* optional, if you want rounded edges */
}

/* Fix mobile overflow issues */
body {
  overflow-x: hidden;
}

.section, .container, .card, .grid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix form labels and inputs on mobile */
@media (max-width: 480px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr !important;
  }
  
  .contact-form label {
    width: 100%;
    padding-right: 0;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Footer stacks vertically on mobile */
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
  
  .footer-brand,
  .footer-links {
    border-right: none !important;
    border-radius: var(--radius) !important;
  }
}

