/* --- Root Variables (Light Theme) --- */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #fff;
  --bg-glass: rgba(255,255,255,0.75);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 3px 8px rgba(0,0,0,0.07);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.13);

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);

  --font-main: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* --- Reset and Basic --- */
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.6;
}
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
ul,ol { margin: 0; padding: 0; list-style: none; }

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  z-index: 2000;
  transition: background var(--transition);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.8rem;
  font-weight: 700; font-size: 1.4rem;
}

.brand-icon img {
  width: 19.9rem; height: 13.3rem; border-radius: var(--radius-lg); margin-left: 250px;
}
/* .brand-icon {
  width: 2.3rem; height: 2.3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg); color: #fff;
  display: flex; align-items: center; justify-content: center;
} */
.brand-tagline {
  font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px;
}
.nav-menu {
  display: flex; gap: 2rem; align-items: center; list-style: none; 
}
.nav-link { color: var(--text-secondary); font-weight: 500; position: relative; display: flex; align-items: center; gap: 0.3rem;}
.nav-link.active, .nav-link:hover { color: var(--primary-color); text-decoration: none; }
.nav-link.active::after,.nav-link:hover::after {
  content:""; display:block; width:100%; height:2px; background:var(--gradient-primary); position:absolute; left:0; bottom:-5px;
}
.dropdown-menu {
  display: none; position: absolute; min-width: 170px; top: 150%; left: 0;
  background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light); padding: 0.7rem 0.2rem; z-index:2022;
}
.nav-dropdown:hover .dropdown-menu { display: block; transition: var(--transition); }
.dropdown-menu a {
  display: block; padding: 0.8rem 1.2rem; font-size: 1rem; color: var(--text-secondary); border-radius: var(--radius);
}
.dropdown-menu a:hover { background: var(--bg-secondary); color: var(--primary-color); text-decoration: none; }
.nav-actions { display:flex; gap:1.3rem; align-items: center;}
.nav-toggle { display: none; }

/* --- Hero Section --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 5rem; position: relative;
}
.hero-background { position: absolute; top:0; left:0; right:0; bottom:0; z-index:-2; background: var(--gradient-hero);}
.grid-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(37,99,235,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,0.07) 1px,transparent 1px);
  background-size: 60px 60px; opacity: .5; z-index:-1;
}
.floating-elements {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; overflow: hidden;
}
.floating-elements .float-element {
  position: absolute; width: 180px; height: 180px; border-radius: 50%; opacity: .08; background: var(--gradient-primary); filter: blur(35px);
}
.floating-elements .float-element:nth-child(1) { top:22%;left:7%;}
.floating-elements .float-element:nth-child(2) { top:60%; right:7%;}
.floating-elements .float-element:nth-child(3) { bottom:14%; left:50%;}

.hero-content { flex:1; max-width: 670px; margin-right: 2.5rem; }
.hero-badge {
  background: rgba(37,99,235,0.11); display:inline-flex; align-items:center; gap:0.7rem; color:var(--primary-color);
  padding: 0.3rem 1.3rem; border-radius:1rem; font-size:1rem; font-weight:600; margin-bottom:1.2rem; border:1px solid rgba(37,99,235,0.14);
}
.hero-title {
  font-size:clamp(2rem,5vw,3.2rem); font-weight:700; margin-bottom:1rem; line-height: 1.12;
}
.title-highlight {
  background: var(--gradient-primary); 
  -webkit-background-clip: text; 
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-subtitle { color: var(--text-secondary); font-size:1.25rem; margin-bottom:2rem; line-height:1.7;}
.hero-actions { display:flex; gap:1.1rem; margin-bottom:2.2rem; flex-wrap:wrap;}
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; border:none; border-radius:var(--radius); padding:1rem 2.1rem; font-size:1.09rem; font-weight:600; cursor:pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background:var(--gradient-primary); color:#fff; box-shadow:var(--shadow-md);}
.btn-primary:hover { background:var(--primary-dark); text-decoration: none; }
.btn-outline { background:#fff; color:var(--primary-color); border:2px solid rgba(37,99,235,0.2);}
.btn-outline:hover { background:var(--primary-light); color:#fff; text-decoration: none; }
.btn-large { padding:1.2rem 2.5rem; font-size:1.15rem;}
.hero-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; max-width: 400px;}
.stat-item { text-align:center;}
.stat-number { font-size:2rem; font-weight:600; color:var(--accent-color);}
.stat-label { font-size: 1rem; color:var(--text-secondary);}
.hero-visual { flex:1; display:flex; align-items:center; justify-content:center;}
.tech-showcase {
  background:var(--bg-card); border:1px solid var(--border-light); border-radius:var(--radius-lg); padding:2.5rem; box-shadow: var(--shadow-lg);
}
.tech-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem;}
.tech-card {
  display:flex; flex-direction:column; align-items:center; gap:.7rem; background:var(--bg-secondary); border:1px solid var(--border-light);
  border-radius:var(--radius); padding:1.5rem; transition:var(--transition); cursor:pointer;
}
.tech-card.active, .tech-card:hover {
  background:var(--primary-light); color:#fff; border-color:var(--primary-color); box-shadow: var(--shadow-lg);
}
.tech-card i { font-size:2rem;}
.tech-card span { font-weight:600; color:inherit; }

/* --- Section Styles --- */
section { padding: 4rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Capabilities & Cards --- */
.capabilities { background: var(--bg-secondary);}
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px,1fr)); gap:2rem; }
.capability-card {
  background:var(--bg-card); border:1px solid var(--border-light); border-radius:var(--radius-lg);
  padding:2.3rem; box-shadow:var(--shadow-md); transition:box-shadow var(--transition),transform var(--transition);
}
.capability-card:hover { box-shadow: var(--shadow-lg); transform:translateY(-7px);}
.capability-card.featured {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
  transform: scale(1.02);
}
.card-header { display:flex; gap:1.2rem; margin-bottom:1.1rem;}
.card-icon { background:var(--gradient-primary);color:#fff; width:54px; height:54px; border-radius:15px; display:flex;align-items:center;justify-content:center; font-size:1.4rem;}
.card-meta h3 {font-size:1.28rem; font-weight:700; color: var(--text-primary); margin-bottom: 0.5rem;}
.card-tag { background:rgba(6,182,212,0.14); color:var(--accent-color); padding:0.2em 0.7em; font-size:0.85rem; border-radius:8px; }
.capability-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}
.feature-item i {
  color: var(--success-color);
  font-size: 0.9rem;
}
.card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.card-link:hover {
  color: var(--accent-color);
  gap: 0.8rem;
}

/* --- Partners --- */
.tech-partners { background: var(--bg-tertiary);}
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;}
.partner-category h3 { font-size:1.4rem; font-weight:700; color:var(--text-primary); margin-bottom: 1.5rem; text-align: center;}
.partner-logos { display:grid; grid-template-columns: 1fr 1fr; gap:1rem;}
.partner-item { 
  background:var(--bg-card); border:1px solid var(--border-light); border-radius:var(--radius); 
  padding: 1.1rem; text-align:center; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.partner-item:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.partner-logo { font-weight:700; color:var(--text-primary); font-size:1.05rem; margin-bottom: 0.3rem;}
.partner-item span { color: var(--text-secondary); font-size: 0.9rem; }

/* --- Why Choose Us --- */
.why-choose-us { background:var(--bg-secondary);}
.reasons-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:2rem;}
.reason-card {
  background:var(--bg-card); border:1px solid var(--border-light); border-radius:var(--radius); box-shadow:var(--shadow-sm);
  text-align:center; padding:2rem; transition: var(--transition);
}
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.reason-icon { 
  width:60px;height:60px;background:var(--gradient-primary);color:#fff;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:1.8rem;margin:0 auto 1rem;
}
.reason-card h3 { font-size:1.3rem; margin-bottom:1rem; color: var(--text-primary); font-weight: 700;}
.reason-card p { color:var(--text-secondary); line-height: 1.7; }

/* --- CTA Section --- */
.cta-section { background: var(--gradient-primary); color: #fff; }
.cta-content { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center;}
.cta-text h2 { font-size:clamp(2rem, 4vw, 3rem); font-weight:700; margin-bottom: 1rem;}
.cta-text p { font-size: 1.1rem; opacity: 0.9; line-height: 1.7; }
.cta-actions { display:flex; flex-direction:column; gap:1rem; align-items:flex-end;}
.cta-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.cta-contact .contact-item { 
  display: flex; align-items: center; gap: 0.5rem; color:#fff; font-size: 0.9rem; opacity: 0.9;
}
.cta-contact .contact-item i { font-size: 1rem; }

/* --- Footer --- */
.footer { background: var(--bg-tertiary); border-top: 1px solid var(--border-light); padding: 3rem 0 1.5rem;}
.footer-content { display:grid; grid-template-columns: 2fr repeat(4,1fr); gap: 2rem; margin-bottom:2rem;}
.footer-brand { display:flex; gap:1rem; align-items:center; font-size:1.1rem; margin-bottom: 1rem;}
.footer-section h4 { margin-bottom:1rem; color:var(--text-primary); font-weight: 600; font-size: 1.1rem;}
.footer-section p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.footer-section ul { display:flex; flex-direction:column; gap:.5rem;}
.footer-section ul li a { color:var(--text-secondary); transition: color var(--transition);}
.footer-section ul li a:hover { color: var(--primary-color); }
.social-links { display:flex; gap:.7rem;}
.social-links a { 
  width:40px; height:40px; display:flex; align-items:center; justify-content:center; 
  background:rgba(37, 99, 235, 0.1); color:var(--primary-color); border-radius:var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.2); transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info .contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.contact-info .contact-item i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.contact-info .contact-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-bottom { 
  display:flex; justify-content:space-between; align-items: center; border-top:1px solid var(--border-light); 
  padding-top:1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-secondary); margin: 0; }
.footer-right { display: flex; gap: 1.5rem; }
.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-right a:hover {
  color: var(--primary-color);
}

/* --- Page Hero --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}
.breadcrumb span {
  color: var(--text-muted);
}
.page-hero h1 { 
  font-size:clamp(2.5rem, 5vw, 4rem);font-weight:700;margin-bottom: 1rem;
  background:var(--gradient-primary);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.page-hero p { color:var(--text-secondary);font-size:1.2rem;max-width:600px;margin:0 auto;line-height: 1.7;}

/* --- Solutions & Services Pages --- */
.solutions-overview, .services-overview {
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}
.solutions-nav, .services-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.solution-nav-btn, .service-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}
.solution-nav-btn:hover, .solution-nav-btn.active,
.service-nav-btn:hover, .service-nav-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  text-decoration: none;
}
.solution-detail, .service-detail {
  padding: 4rem 0;
  display: none;
}
.solution-detail.active, .service-detail.active {
  display: block;
}
.solution-detail:nth-child(even), .service-detail:nth-child(even) {
  background: var(--bg-secondary);
}

/* --- Contact Page Styles --- */
.contact-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.form-header p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-loading {
  display: none;
}
.btn.sending .btn-text {
  display: none;
}
.btn.sending .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.quick-contact {
  background: var(--bg-secondary);
  padding: 3rem 0;
}
.quick-contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.quick-contact-actions {
  display: flex;
  gap: 1rem;
}

/* Single Contact Info Card */
.contact-info-single-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.info-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
}
.info-header i {
  font-size: 2rem;
}
.info-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-secondary);
  font-size: 1rem;
}
.info-row i {
  color: var(--primary-color);
  font-size: 1.1rem;
}
.info-row a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.info-row a:hover {
  color: var(--accent-color);
}
.info-row.emergency {
  color: var(--error-color);
  font-weight: 600;
}
.info-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.info-social .social-link {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background var(--transition), color var(--transition);
}
.info-social .social-link:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 800px) {
  .contact-info-single-card {
    max-width: 100%;
    padding: 2rem 1rem;
  }
}

.footer-credit {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.radiant-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.radiant-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
.footer-credit i {
  font-size: 0.95em;
  opacity: 0.7;
}

/* --- Responsive Design --- */
@media (max-width:1024px) {
  .footer-content { grid-template-columns: 1fr 1fr 1fr;}
  .navbar .nav-menu { gap: 1rem;}
  .cta-content { grid-template-columns:1fr; text-align: center;}
  .cta-actions { align-items: center; }
  .container { padding: 0 1.5rem;}
  .solutions-nav, .partners-grid { grid-template-columns: 1fr;}
  .contact-grid { grid-template-columns: 1fr; }
  .quick-contact-content { flex-direction: column; text-align: center; }
  .quick-contact-actions { flex-direction: column; width: 100%; max-width: 400px; }
}
@media (max-width:800px) {
  .hero { flex-direction:column; padding-top: 7rem; text-align: center;}
  .hero-content, .hero-visual { margin:0 0 2rem 0; max-width:100%;}
  .footer-content { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width:600px) {
.nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .brand-icon img {
      width: 19.9rem; height: 10.8rem; border-radius: var(--radius-lg); margin-left: 160px;
    }

    /* Enhanced mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Mobile menu header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.5rem 2rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-light);
        background: var(--bg-secondary);
    }

    .mobile-brand {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-secondary);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: var(--radius);
        transition: all var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .mobile-close-btn:hover {
        background: var(--bg-tertiary);
        color: var(--primary-color);
    }

    /* Mobile navigation links */
    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
        transition: all var(--transition);
        font-size: 1rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link:hover, .nav-link.active {
        background: var(--bg-secondary);
        color: var(--primary-color);
        text-decoration: none;
    }

    /* Remove desktop hover effects on mobile */
    .nav-link.active::after,
    .nav-link:hover::after {
        display: none;
    }

    /* Mobile dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        display: none;
        border-radius: 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
        display: block;
        color: var(--text-secondary);
        transition: all var(--transition);
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-menu a:hover {
        background: var(--bg-secondary);
        color: var(--primary-color);
        text-decoration: none;
        padding-left: 3rem;
    }

    /* Show mobile toggle button */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: var(--radius);
        transition: all var(--transition);
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle:hover {
        background: var(--bg-secondary);
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Toggle button animation when active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hide mobile menu elements on desktop */
@media (min-width: 601px) {
    .mobile-menu-header,
    .nav-overlay {
        display: none;
    }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar { width: 8px;}
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px;}
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }/* --- Root Variables (Light Theme) --- */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #fff;
  --bg-glass: rgba(255,255,255,0.75);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 3px 8px rgba(0,0,0,0.07);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.13);

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);

  --font-main: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing Variables */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

/* --- Reset and Basic --- */
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.6;
}
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
ul,ol { margin: 0; padding: 0; list-style: none; }

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 10000;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

/* .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
} */

:root[data-theme="dark"] .navbar.scrolled {
  background: var(--bg-glass); /* or var(--bg-card) for solid */
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

:root[data-theme="dark"] .nav-link,
:root[data-theme="dark"] .nav-link.active,
:root[data-theme="dark"] .nav-link:hover {
  color: var(--text-primary);
}



/* :root[data-theme="dark"] .brand-icon {
  background: var(--gradient-primary);
  color: #fff;
} */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
}

.nav-brand {
  display: flex; align-items: center; gap: 0.8rem;
  font-weight: 700; font-size: 1.4rem;
}

.brand-icon {
  width: 2.3rem; height: 2.3rem;
  border-radius: var(--radius-lg); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.brand-tagline {
  font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px;
}

.nav-menu {
  display: flex; gap: 2rem; align-items: center; list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-link { 
  color: var(--text-secondary); 
  font-weight: 500; 
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link.active, .nav-link:hover { color: var(--primary-color); text-decoration: none; }
.nav-link.active::after,.nav-link:hover::after {
  content:""; display:block; width:100%; height:2px; background:var(--gradient-primary); position:absolute; left:0; bottom:-5px;
}

/* Fixed Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  min-width: 180px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 11000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding: 0.8rem 0;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block; 
  padding: 0.8rem 1.2rem; 
  font-size: 1rem; 
  color: var(--text-secondary); 
  border-radius: var(--radius);
  transition: all var(--transition);
}

.dropdown-menu a:hover { 
  background: var(--bg-secondary); 
  color: var(--primary-color); 
  text-decoration: none;
}

.nav-actions { display:flex; gap:1.3rem; }

.nav-toggle { 
  display: none; 
  flex-direction:column; 
  gap:5px; 
  background:none; 
  border:none;
  cursor:pointer; 
}

.nav-toggle span {
  width:25px; height:3px; background:var(--text-primary); border-radius:2px;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 8rem 2rem 5rem; 
  position: relative;
}

.hero-background { 
  position: absolute; 
  top:0; left:0; right:0; bottom:0; 
  z-index:-2; 
  background: var(--gradient-hero);
}

.grid-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(37,99,235,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,0.07) 1px,transparent 1px);
  background-size: 60px 60px; opacity: .5; z-index:-1;
}

.floating-elements {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; overflow: hidden;
}

.floating-elements .float-element {
  position: absolute; width: 180px; height: 180px; border-radius: 50%; opacity: .08; background: var(--gradient-primary); filter: blur(35px);
}

.floating-elements .float-element:nth-child(1) { top:22%;left:7%;}
.floating-elements .float-element:nth-child(2) { top:60%; right:7%;}
.floating-elements .float-element:nth-child(3) { bottom:14%; left:50%;}

.hero-content { 
  flex:1; 
  max-width: 700px; 
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  background: rgba(37,99,235,0.11); display:inline-flex; align-items:center; gap:0.7rem; color:var(--primary-color);
  padding: 0.3rem 1.3rem; border-radius:1rem; font-size:1rem; font-weight:600; margin-bottom:1.2rem; border:1px solid rgba(37,99,235,0.14);
}

.hero-title {
  font-size:clamp(2rem,5vw,3.2rem); font-weight:700; margin-bottom:1rem; line-height: 1.12;
}

.title-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle { 
  color: var(--text-secondary); 
  font-size:1.25rem; 
  margin-bottom:2rem; 
  line-height:1.7;
}

.hero-actions { 
  display:flex; 
  gap:1.1rem; 
  margin-bottom:2.2rem; 
  flex-wrap:wrap;
  justify-content: center;
}

.btn { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  gap:.7rem; 
  border:none; 
  border-radius:var(--radius); 
  padding:1rem 2.1rem; 
  font-size:1.09rem; 
  font-weight:600; 
  cursor:pointer; 
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary { 
  background:var(--gradient-primary); 
  color:#fff; 
  box-shadow:var(--shadow-md);
}

.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-outline { 
  background:#fff; 
  color:var(--primary-color); 
  border:2px solid rgba(37,99,235,0.2);
}

.btn-outline:hover { 
  background:var(--primary-light); 
  color:#fff;
  text-decoration: none;
}

.btn-large { 
  padding:1.2rem 2.5rem; 
  font-size:1.15rem;
}

.hero-stats { 
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap:2rem; 
  max-width: 400px;
  margin: 0 auto;
}

.stat-item { text-align:center;}
.stat-number { font-size:2rem; font-weight:600; color:var(--accent-color);}
.stat-label { font-size: 1rem; color:var(--text-secondary);}

.hero-visual { 
  flex:1; 
  display:flex; 
  align-items:center; 
  justify-content:center;
}

.tech-showcase {
  background:var(--bg-card); 
  border:1px solid var(--border-light); 
  border-radius:var(--radius-lg); 
  padding:2.5rem; 
  box-shadow: var(--shadow-lg);
}

.tech-grid { 
  display:grid; 
  grid-template-columns:repeat(2,1fr); 
  gap:1.5rem;
}

.tech-card {
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  gap:.7rem; 
  background:var(--bg-secondary); 
  border:1px solid var(--border-light);
  border-radius:var(--radius); 
  padding:1.5rem; 
  transition:var(--transition); 
  cursor:pointer;
}

.tech-card.active, .tech-card:hover {
  background:var(--primary-light); 
  color:#fff; 
  border-color:var(--primary-color); 
  box-shadow: var(--shadow-lg);
}

.tech-card i { font-size:2rem;}
.tech-card span { font-weight:600; color:inherit; }

/* --- Section Styles --- */
section { padding: 4rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Capabilities & Cards --- */
.capabilities { background: var(--bg-secondary);}
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px,1fr)); gap:2rem; }

.capability-card {
  background:var(--bg-card); 
  border:1px solid var(--border-light); 
  border-radius:var(--radius-lg);
  padding:2.3rem; 
  box-shadow:var(--shadow-md); 
  transition:box-shadow var(--transition),transform var(--transition);
}

.capability-card:hover { 
  box-shadow: var(--shadow-lg); 
  transform:translateY(-7px);
}

.capability-card.featured {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
  transform: scale(1.02);
}

.card-header { display:flex; gap:1.2rem; margin-bottom:1.1rem;}

.card-icon { 
  background:var(--gradient-primary);
  color:#fff; 
  width:54px; 
  height:54px; 
  border-radius:15px; 
  display:flex;
  align-items:center;
  justify-content:center; 
  font-size:1.4rem;
}

.card-meta h3 {
  font-size:1.28rem; 
  font-weight:700; 
  color: var(--text-primary); 
  margin-bottom: 0.5rem;
}

.card-tag { 
  background:rgba(6,182,212,0.14); 
  color:var(--accent-color); 
  padding:0.2em 0.7em; 
  font-size:0.85rem; 
  border-radius:8px; 
}

.capability-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--success-color);
  font-size: 0.9rem;
}

.card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.card-link:hover {
  color: var(--accent-color);
  gap: 0.8rem;
}

/* --- Partners --- */
.tech-partners { background: var(--bg-tertiary);}
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;}

.partner-category h3 { 
  font-size:1.4rem; 
  font-weight:700; 
  color:var(--text-primary); 
  margin-bottom: 1.5rem; 
  text-align: center;
}

.partner-logos { display:grid; grid-template-columns: 1fr 1fr; gap:1rem;}

.partner-item {
  background:var(--bg-card); 
  border:1px solid var(--border-light); 
  border-radius:var(--radius);
  padding: 1.1rem; 
  text-align:center; 
  transition: var(--transition); 
  box-shadow: var(--shadow-sm);
}

.partner-item:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-logo { 
  font-weight:700; 
  color:var(--text-primary); 
  font-size:1.05rem; 
  margin-bottom: 0.3rem;
}

.partner-item span { 
  color: var(--text-secondary); 
  font-size: 0.9rem; 
}

/* --- Why Choose Us --- */
.why-choose-us { background:var(--bg-secondary);}
.reasons-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:2rem;}

.reason-card {
  background:var(--bg-card); 
  border:1px solid var(--border-light); 
  border-radius:var(--radius); 
  box-shadow:var(--shadow-sm);
  text-align:center; 
  padding:2rem; 
  transition: var(--transition);
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.reason-icon {
  width:60px;
  height:60px;
  background:var(--gradient-primary);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  margin:0 auto 1rem;
}

.reason-card h3 { 
  font-size:1.3rem; 
  margin-bottom:1rem; 
  color: var(--text-primary); 
  font-weight: 700;
}

.reason-card p { 
  color:var(--text-secondary); 
  line-height: 1.7; 
}

/* --- CTA Section --- */
.cta-section { 
  background: var(--gradient-primary); 
  color: #fff; 
}

.cta-content { 
  display:grid; 
  grid-template-columns:1fr auto; 
  gap:2rem; 
  align-items:center;
}

.cta-text h2 { 
  font-size:clamp(2rem, 4vw, 3rem); 
  font-weight:700; 
  margin-bottom: 1rem;
}

.cta-text p { 
  font-size: 1.1rem; 
  opacity: 0.9; 
  line-height: 1.7; 
}

.cta-actions { 
  display:flex; 
  flex-direction:column; 
  gap:1rem; 
  align-items:flex-end;
}

.cta-contact { 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; 
}

.cta-contact .contact-item {
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  color:#fff; 
  font-size: 0.9rem; 
  opacity: 0.9;
}

.cta-contact .contact-item i { 
  font-size: 1rem; 
}

/* --- Footer --- */
.footer { 
  background: var(--bg-tertiary); 
  border-top: 1px solid var(--border-light); 
  padding: 3rem 0 1.5rem;
}

.footer-content { 
  display:grid; 
  grid-template-columns: 2fr repeat(4,1fr); 
  gap: 2rem; 
  margin-bottom:2rem;
}

.footer-brand { 
  display:flex; 
  gap:1rem; 
  align-items:center; 
  font-size:1.1rem; 
  margin-bottom: 1rem;
}

.footer-section h4 { 
  margin-bottom:1rem; 
  color:var(--text-primary); 
  font-weight: 600; 
  font-size: 1.1rem;
}

.footer-section p { 
  color: var(--text-secondary); 
  line-height: 1.7; 
  margin-bottom: 1rem; 
}

.footer-section ul { 
  display:flex; 
  flex-direction:column; 
  gap:.5rem;
}

.footer-section ul li a { 
  color:var(--text-secondary); 
  transition: color var(--transition);
}

.footer-section ul li a:hover { 
  color: var(--primary-color); 
}

.social-links { 
  display:flex; 
  gap:.7rem;
}

.social-links a {
  width:40px; 
  height:40px; 
  display:flex; 
  align-items:center; 
  justify-content:center;
  background:rgba(37, 99, 235, 0.1); 
  color:var(--primary-color); 
  border-radius:var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.2); 
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info .contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-info .contact-item i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-info .contact-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  display:flex; 
  justify-content:space-between; 
  align-items: center; 
  border-top:1px solid var(--border-light);
  padding-top:1.5rem; 
  flex-wrap: wrap; 
  gap: 1rem;
}

.footer-bottom p { 
  color: var(--text-secondary); 
  margin: 0; 
}

.footer-right { 
  display: flex; 
  gap: 1.5rem; 
}

.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-right a:hover {
  color: var(--primary-color);
}

/* --- Page Hero --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  color: var(--text-muted);
}

.page-hero h1 {
  font-size:clamp(2.5rem, 5vw, 4rem);
  font-weight:700;
  margin-bottom: 1rem;
  background:var(--gradient-primary);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

.page-hero p { 
  color:var(--text-secondary);
  font-size:1.2rem;
  max-width:600px;
  margin:0 auto;
  line-height: 1.7;
}

/* --- Solutions & Services Pages --- */
.solutions-overview, .services-overview {
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.solutions-nav, .services-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.solution-nav-btn, .service-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}

.solution-nav-btn:hover, .solution-nav-btn.active,
.service-nav-btn:hover, .service-nav-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  text-decoration: none;
}

.solution-detail, .service-detail {
  padding: 4rem 0;
  display: none;
}

.solution-detail.active, .service-detail.active {
  display: block;
}

.solution-detail:nth-child(even), .service-detail:nth-child(even) {
  background: var(--bg-secondary);
}

/* --- Contact Page Styles --- */
.contact-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.quick-contact {
  background: var(--bg-secondary);
  padding: 3rem 0;
}

.quick-contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.quick-contact-actions {
  display: flex;
  gap: 1rem;
}

.info-social .social-link:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/* --- Responsive Design Fixes --- */
@media (min-width: 992px) {
  .hero {
    justify-content: flex-start;
    padding: 8rem 4rem 5rem;
  }
  
  .hero-content {
    text-align: left;
    margin-right: 2rem;
    margin-left: 0;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width:1024px) {
  .footer-content { grid-template-columns: 1fr 1fr 1fr;}
  .navbar .nav-menu { gap: 1rem;}
  .cta-content { grid-template-columns:1fr; text-align: center;}
  .cta-actions { align-items: center; }
  .container { padding: 0 1.5rem;}
  .solutions-nav, .partners-grid { grid-template-columns: 1fr;}
  .contact-grid { grid-template-columns: 1fr; }
  .quick-contact-content { flex-direction: column; text-align: center; }
  .quick-contact-actions { flex-direction: column; width: 100%; max-width: 400px; }
}

@media (max-width:800px) {
  .hero { 
    flex-direction:column; 
    padding-top: 7rem; 
    text-align: center;
  }
  
  .hero-content, .hero-visual { 
    margin:0 0 2rem 0; 
    max-width:100%;
  }
  
  .footer-content { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
  }
}

/* Mobile Navigation Enhancements */
/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
    /* Hide get started button in navbar for mobile */
    .nav-actions .btn-outline {
        display: none;
    }

    /* Mobile menu overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Enhanced mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Mobile menu header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.5rem 2rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-light);
        background: var(--bg-secondary);
    }

    .mobile-brand {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-secondary);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: var(--radius);
        transition: all var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .mobile-close-btn:hover {
        background: var(--bg-tertiary);
        color: var(--primary-color);
    }

    /* Mobile navigation links */
    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
        transition: all var(--transition);
        font-size: 1rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link:hover, .nav-link.active {
        background: var(--bg-secondary);
        color: var(--primary-color);
        text-decoration: none;
    }

    /* Remove desktop hover effects on mobile */
    .nav-link.active::after,
    .nav-link:hover::after {
        display: none;
    }

    /* Mobile dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        display: none;
        border-radius: 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
        display: block;
        color: var(--text-secondary);
        transition: all var(--transition);
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-menu a:hover {
        background: var(--bg-secondary);
        color: var(--primary-color);
        text-decoration: none;
        padding-left: 3rem;
    }

    /* Show mobile toggle button */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: var(--radius);
        transition: all var(--transition);
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle:hover {
        background: var(--bg-secondary);
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Toggle button animation when active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hide mobile menu elements on desktop */
@media (min-width: 769px) {
    .mobile-menu-header,
    .nav-overlay {
        display: none;
    }
}

/* Floating CTA Button */
#floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: none;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transition: all var(--transition);
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.floating-btn i {
    font-size: 1.1rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    #floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .floating-btn span {
        display: none;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }
}


@media (max-width:600px) {
  .container { padding: 0 1rem; }
  .footer-content { grid-template-columns: 1fr;}
  .capabilities-grid, .reasons-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .cta-content { text-align:center; }
  .hero-stats { grid-template-columns: 1fr; max-width: 200px; margin: 0 auto; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-logos { grid-template-columns: 1fr; }
  .solutions-nav, .services-nav { flex-direction: column; align-items: center; }
  .solution-nav-btn, .service-nav-btn { width: 100%; max-width: 300px; justify-content: center; }
  
  .hero-visual {
    margin-top: 2rem;
    width: 100%;
  }
  
  .tech-showcase {
    max-width: 100%;
    padding: 2rem;
  }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar { width: 8px;}
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px;}
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Innovation Hub */
.innovation-hub {
    background: var(--bg-primary);
}

.innovation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.innovation-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.innovation-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.innovation-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.innovation-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.innovation-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.innovation-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.innovation-item p {
    color: var(--text-secondary);
    margin: 0;
}

.code-preview {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.code-buttons {
    display: flex;
    gap: var(--spacing-xs);
}

.code-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.code-buttons span:nth-child(1) { background: #ff5f56; }
.code-buttons span:nth-child(2) { background: #ffbd2e; }
.code-buttons span:nth-child(3) { background: #27ca3f; }

.code-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-content {
    padding: var(--spacing-lg);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword { color: #ff79c6; }
.code-module { color: #8be9fd; }
.code-variable { color: #f8f8f2; }
.code-class { color: #50fa7b; }
.code-function { color: #ffb86c; }
.code-comment { color: #6272a4; }

/* --- Contact Hero Animated Background --- */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 60%, #c7d2fe 100%);
}

.contact-hero .hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background: transparent;
}

.contact-hero .grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(37,99,235,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,0.07) 1px,transparent 1px);
  background-size: 60px 60px;
  opacity: .5;
  z-index: -1;
}

.contact-floating .contact-float {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37,99,235,0.08);
  animation: floatContact 6s ease-in-out infinite alternate;
}

.contact-floating .contact-float i {
  opacity: 0.8;
  transition: transform 0.3s;
}

@keyframes floatContact {
  0% { transform: translateY(0) scale(1);}
  50% { transform: translateY(-18px) scale(1.08);}
  100% { transform: translateY(0) scale(1);}
}

/* --- Products Page Specific Styles --- */
.partner-showcase {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.partner-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.partner-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.partner-logo-large i {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-large span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.partner-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialty-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Products Overview */
.products-overview {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.product-nav-btn:hover,
.product-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

.product-detail {
    padding: 4rem 0;
    display: none;
}

.product-detail.active {
    display: block;
}

.product-detail:nth-child(even) {
    background: var(--bg-secondary);
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    position: relative;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.8rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    text-align: center;
    margin-top: auto;
}

/* Product Categories */
.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.category-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.category-section h3 i {
    color: var(--primary-color);
}

.category-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.product-summary:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color);
}

.product-name {
    font-weight: 600;
    color: var(--text-primary);
}

.product-provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

/* Product Comparison */
.product-comparison {
    padding: 4rem 0;
    background: var(--bg-tertiary);
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-collapse: collapse;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Dark Theme Adjustments */
:root[data-theme="dark"] .partner-showcase-card {
    background: var(--bg-card);
    border-color: var(--border-light);
}

:root[data-theme="dark"] .product-item {
    background: var(--bg-card);
    border-color: var(--border-light);
}

:root[data-theme="dark"] .category-section {
    background: var(--bg-card);
    border-color: var(--border-light);
}

:root[data-theme="dark"] .comparison-table table {
    background: var(--bg-card);
}

:root[data-theme="dark"] .comparison-table td {
    border-color: var(--border-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .partner-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .product-nav-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-showcase-card {
        padding: 2rem 1rem;
    }
    
    .product-item {
        padding: 1.5rem;
    }
}

/* --- Products Hero Animated Floating Elements --- */
.products-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 60%, #dcbe28 100%);
}

.products-hero .hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background: transparent;
}

.products-floating .products-float {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37,99,235,0.08);
  animation: floatProducts 7s ease-in-out infinite alternate;
}

.products-floating .products-float i {
  opacity: 0.8;
  transition: transform 0.3s;
}

@keyframes floatProducts {
  0% { transform: translateY(0) scale(1);}
  50% { transform: translateY(-22px) scale(1.08);}
  100% { transform: translateY(0) scale(1);}
}

/* --- Dark Theme Variables --- */
:root[data-theme="dark"] {
  --primary-color: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #6366f1;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --bg-primary: #180f38;
  --bg-secondary: #1e1537;
  --bg-tertiary: #241b41;
  --bg-card: #1e1537;
  --bg-glass: rgba(24,15,56,0.85);
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #180f38 0%, #1e1537 50%, #241b41 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 3px 8px rgba(0,0,0,0.25);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.4);
  --border-light: #2d1b69;
  --border-medium: #3730a3;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* --- Enhanced Page Hero with Animations --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background Elements */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6,182,212,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16,185,129,0.1) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridMove 20s linear infinite;
  z-index: 2;
}

/* Floating Elements Animation */
.page-hero-content {
  position: relative;
  z-index: 10;
}

.animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.shape:nth-child(3) {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}

.shape:nth-child(4) {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  bottom: 30%;
  right: 10%;
  animation-delay: 3s;
}

/* Keyframe Animations */
@keyframes gradientShift {
  0%, 100% {
    background: 
      radial-gradient(circle at 20% 20%, rgba(37,99,235,0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(6,182,212,0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(16,185,129,0.1) 0%, transparent 50%);
  }
  33% {
    background: 
      radial-gradient(circle at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(16,185,129,0.1) 0%, transparent 50%),
      radial-gradient(circle at 60% 60%, rgba(37,99,235,0.1) 0%, transparent 50%);
  }
  66% {
    background: 
      radial-gradient(circle at 40% 80%, rgba(16,185,129,0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 40%, rgba(37,99,235,0.1) 0%, transparent 50%),
      radial-gradient(circle at 20% 60%, rgba(6,182,212,0.1) 0%, transparent 50%);
  }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.3;
  }
}

/* Pulse Animation for Icons */
.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Products Page Specific Animations --- */
.partner-showcase {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.partner-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(37,99,235,0.03) 50%, transparent 60%);
  animation: slideShine 3s ease-in-out infinite;
  z-index: 1;
}

.partner-showcase-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  overflow: hidden;
}

.partner-showcase-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(37,99,235,0.1), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.partner-showcase-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(30%, 30%);
}

.partner-showcase-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

@keyframes slideShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Enhanced Button Animations --- */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* --- Card Hover Effects --- */
.product-item,
.service-item,
.solution-item,
.capability-card,
.reason-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-item::before,
.service-item::before,
.solution-item::before,
.capability-card::before,
.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.1), transparent);
  transition: left 0.5s ease;
}

.product-item:hover::before,
.service-item:hover::before,
.solution-item:hover::before,
.capability-card:hover::before,
.reason-card:hover::before {
  left: 100%;
}

/* --- Dark Theme Specific Animations --- */
:root[data-theme="dark"] .page-hero::before {
  background: 
    radial-gradient(circle at 20% 20%, rgba(79,70,229,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124,58,237,0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(6,182,212,0.2) 0%, transparent 50%);
}

:root[data-theme="dark"] .shape:nth-child(1) {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

:root[data-theme="dark"] .shape:nth-child(2) {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
}

:root[data-theme="dark"] .shape:nth-child(3) {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

:root[data-theme="dark"] .shape:nth-child(4) {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .shape {
    width: 60px !important;
    height: 60px !important;
  }
  
  .page-hero::after {
    background-size: 20px 20px;
  }
}

@media (max-width: 480px) {
  .shape {
    width: 40px !important;
    height: 40px !important;
  }
  
  .animated-shapes .shape:nth-child(3),
  .animated-shapes .shape:nth-child(4) {
    display: none;
  }
}
