:root {
  --win11-bg: #f3f3f3;
  --win11-surface: #ffffff;
  --win11-card: #fafafa;
  --win11-accent: #0078d4;
  --win11-accent-hover: #106ebe;
  --win11-text: #323130;
  --win11-text-light: #605e5c;
  --win11-border: #e1e1e1;
  --win11-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --win11-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--win11-bg);
  color: var(--win11-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--win11-border);
  background-color: var(--win11-surface);
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: var(--win11-text);
}

.tagline {
  font-size: 1.1rem;
  color: var(--win11-text-light);
  font-weight: 350;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section with Stars */
.hero {
  height: 60vh;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#stars, #stars2, #stars3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: none;
}

#stars:after, #stars2:after, #stars3:after {
  content: " ";
  position: absolute;
  top: 2000px;
}

.hero-content {
  position: relative;
  z-index: 5;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-family: 'Lato', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 4px;
}

.hero p {
  font-size: 1.3rem;
  margin: 0 auto 40px;
  font-weight: 350;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  display: inline-block;
  background-color: var(--win11-accent);
  color: white;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--win11-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* Categories Slider */
.categories-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0a0a14;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
              rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.slides {
  display: flex;
  transition: margin-left 1s ease-in-out;
  height: 100vh;
}

.slide {
  min-width: 100vw;
  height: 100vh;
  transform: scale(0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  background-size: cover;
  background-position: center;
  transition: all 1s ease-in-out;
  text-align: center;
}

.slide.active {
  transform: scale(1);
}

.slide-content {
  max-width: 800px;
  padding: 2rem;
}

.slide-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #0078d4;
}

.slide-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-description {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* New Navigation - Dots and Arrows */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 100;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--win11-accent);
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 2rem;
}

.arrow-right {
  right: 2rem;
}

/* Background images - Replace with your actual image paths */
#slide_1 { background: linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.8)), url('../images/dashboard2.jpg') center/cover; }
#slide_2 { background: linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.8)), url('../images/phone.jpg') center/cover; }
#slide_3 { background: linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.8)), url('../images/consult.jpg') center/cover; }
#slide_4 { background: linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.8)), url('../images/automation.jpg') center/cover; }
#slide_5 { background: linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.8)), url('../images/hero.jpg') center/cover; }

/* Fallback background colors if images don't load */
#slide_1 { background-color: #1a365d; }
#slide_2 { background-color: #2d3748; }
#slide_3 { background-color: #4a5568; }
#slide_4 { background-color: #2d3748; }
#slide_5 { background-color: #1a365d; }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background-color: var(--win11-surface);
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.4s ease;
  overflow: hidden;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 24px 30px 20px;
  border-bottom: 1px solid var(--win11-border);
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 400;
}

.modal-header p {
  color: var(--win11-text-light);
  font-weight: 350;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.3rem;
  color: var(--win11-text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  color: var(--win11-text);
  background-color: rgba(0, 0, 0, 0.04);
}

.modal-body {
  padding: 24px 30px;
  overflow-y: auto;
  flex-grow: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--win11-text);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--win11-border);
  background-color: var(--win11-surface);
  color: var(--win11-text);
  font-size: 1rem;
  transition: all 0.2s ease;
  font-weight: 350;
}

.form-control:focus {
  outline: none;
  border-color: var(--win11-accent);
  box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2);
}

.submit-button {
  width: 100%;
  padding: 14px;
  background-color: var(--win11-accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background-color: var(--win11-accent-hover);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--win11-border);
  color: var(--win11-text-light);
  background-color: var(--win11-surface);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--win11-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--win11-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .slide-title { font-size: 2.2rem; }
  .slide-description { font-size: 1.2rem; }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .arrow-left { left: 1rem; }
  .arrow-right { right: 1rem; }
}

@media (max-width: 480px) {
  .hero { height: 80vh; }
  .hero h1 { font-size: 2rem; letter-spacing: 2px; }
  .footer-links { flex-direction: column; gap: 15px; }
  .slide-content { padding: 1rem; }
  .slider-nav { bottom: 1rem; }
}