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

/* CSS Reset and Base Styles */
:root {
  /* Brand Colors */
  --primary: #2165BF;
  --primary-light: #4285df;
  --primary-dark: #1a4f96;
  --secondary: #05D3F2;
  --accent: #FF6B6B;
  --dark: #121A2E;
  --dark-blue: #1A2942;
  --light: #f9f9f9;/*#F8FAFC;*/
  --gray: #64748B;
  --gray-light: #E2E8F0;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Modern design system */
  --border-radius: 1.25rem;
  --shadow-subtle: 0 4px 24px 0 rgba(34,34,57,0.11);
  --shadow-hover: 0 8px 44px 0 rgba(49,89,203,0.13);
  --transition-smooth: 0.21s cubic-bezier(.4,0,.5,1);
  --border-light: 1px solid rgba(0,0,0,0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: var(--light);
  overflow-x: hidden;
  
  /* Enhanced font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  border: none;
  box-shadow: var(--shadow-subtle);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-subtle);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Focus states for accessibility */
button:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(0, 0, 0, 0.98);
  box-shadow: var(--shadow-subtle);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: white;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--dark) 0%, #2165BF 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/ai-pattern.svg');
  background-size: cover;
  opacity: 0.1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 10px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.hero-image {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 50%;
  max-width: 600px;
  animation: float 6s ease-in-out infinite;
}

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

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
  position: relative;
  z-index: 1;
  border: var(--border-light);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f0f5ff;
}

.service-content {
  padding: 2rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
}

.service-link svg {
  margin-left: 0.5rem;
  transition: transform var(--transition-smooth);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* Form Elements */
input, textarea, select {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  border-radius: 0.9rem;
  transition: box-shadow var(--transition-smooth);
  outline: none;
  border: 1px solid var(--gray-light);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-subtle);
}

input:focus, textarea:focus {
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-subtle);
  border-color: var(--primary);
  outline: none;
}

/* Footer */
.footer {
  background: black;
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-smooth);
}

.footer-link a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: white;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-image {
    width: 45%;
    right: -10%;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
  }
  
  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .services {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.slide-right {
  animation: slideRight 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Custom Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.3);
}

/* Smooth animations for supported devices */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .btn, .card {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  }
}