/* 
   LinSys Tech (Pvt) Ltd. - Custom Styles
   Intelligent Systems. Engineered for Growth.
*/

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

:root {
  --ls-deep-blue-1: #0A1F44;
  --ls-deep-blue-2: #163A6B;
  --ls-cyber-accent: #00D4FF;
  --ls-violet-core: #6C4DFF;
  --ls-neutral-900: #0F172A;
  --ls-neutral-700: #475569;
  --ls-neutral-100: #F8FAFC;
  --ls-bg: #FFFFFF;

  --ls-card-radius: 16px;
  --ls-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ls-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  --ls-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Global Reset & Base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--ls-neutral-700);
  background-color: var(--ls-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--ls-deep-blue-1);
}

a {
  text-decoration: none;
  transition: var(--ls-transition);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--ls-transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 0.6rem 0;
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: #FFFFFF;
  font-weight: 600;
  margin: 0 1rem;
  font-size: 1.1rem;
  transition: var(--ls-transition);
}

.nav-link:hover {
  color: var(--ls-cyber-accent);
}

.navbar.scrolled .nav-link {
  color: var(--ls-deep-blue-1);
}

.navbar.scrolled .navbar-brand .main-text,
.navbar.scrolled .navbar-brand .tech-text {
  color: var(--ls-deep-blue-1) !important;
}

/* Mobile & Toggled Navbar overrides */
@media (max-width: 991.98px) {
  .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  }

  .navbar .nav-link {
    color: var(--ls-deep-blue-1) !important;
    padding: 0.8rem 0;
  }

  .navbar .navbar-brand .main-text,
  .navbar .navbar-brand .tech-text {
    color: var(--ls-deep-blue-1) !important;
  }
}

/* Ensure Tech matches LinSys color when toggled/scrolled */
.navbar.scrolled .navbar-brand .tech-text,
.navbar:has(.navbar-collapse.show) .navbar-brand .tech-text {
  color: var(--ls-deep-blue-1) !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ls-deep-blue-1) 0%, var(--ls-violet-core) 50%, var(--ls-cyber-accent) 100%);
  color: white;
  padding: 80px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/hero-bg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.headline-part-1 {
  color: var(--ls-neutral-100);
}

.headline-part-2 {
  color: var(--ls-cyber-accent);
}

.hero-subheading {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Buttons */
.btn-ls-primary {
  background-color: var(--ls-cyber-accent);
  color: var(--ls-deep-blue-1);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-ls-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  background-color: #00e5ff;
}

.btn-ls-secondary {
  background-color: transparent;
  color: white;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  margin-left: 1rem;
}

.btn-ls-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* Section Styling */
.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 3rem;
}

.section-tagline {
  color: var(--ls-violet-core);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: var(--ls-card-radius);
  padding: 2.5rem;
  transition: var(--ls-transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--ls-shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--ls-shadow-hover);
  border-color: var(--ls-cyber-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(108, 77, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--ls-violet-core);
  font-size: 1.5rem;
}

.service-card h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Global Presence */
.flag-icon {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.presence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.presence-item {
  background: var(--ls-neutral-100);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ls-deep-blue-1);
  display: flex;
  align-items: center;
}

/* Why Choose Section */
.feature-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.feature-icon {
  color: var(--ls-cyber-accent);
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(45deg, var(--ls-deep-blue-1), var(--ls-violet-core));
  padding: 80px 0;
  color: white;
  border-radius: 24px;
}

/* Contact Form */
.form-control {
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.form-control:focus {
  border-color: var(--ls-cyber-accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Footer */
footer {
  background: var(--ls-neutral-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

footer .nav-link {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.8rem;
  padding: 0;
}

footer .nav-link:hover {
  color: var(--ls-cyber-accent);
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  opacity: 0.7;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--ls-cyber-accent);
}

/* Animations */
[data-aos] {
  pointer-events: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }

  .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-ls-secondary {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
  }

  .section-padding {
    padding: 60px 0;
  }
}