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

/* --- DESIGN TOKENS --- */
:root {
  --font-primary: 'Outfit', sans-serif;

  /* Color Palette - Bright Corporate Theme */
  --bg-main: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(2, 132, 199, 0.2);
  
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  
  --secondary: #10b981;
  --secondary-glow: rgba(16, 185, 129, 0.2);
  --secondary-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* Layout & Animations */
  --container-max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --glass-blur: blur(12px);
  --shadow-glow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glows - extremely soft for light theme */
body::before, body::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(160px);
  opacity: 0.08;
}

body::before {
  top: 5%;
  left: -10%;
  background: var(--primary);
}

body::after {
  bottom: 15%;
  right: -10%;
  background: var(--secondary);
}

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

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

ul {
  list-style: none;
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.secondary-gradient-text {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid var(--border-glow);
  padding: 4px 16px;
  border-radius: 50px;
  background: rgba(2, 132, 199, 0.05);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.1);
}

/* --- GLASS CONTAINER --- */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  backdrop-filter: var(--glass-blur);
  padding: 40px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.glass-card:hover {
  border-color: var(--primary-glow);
  background: var(--bg-surface-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

/* --- NAVIGATION BAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: var(--primary-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

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

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

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

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* --- FOOTER --- */
.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  color: var(--text-primary);
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(2, 132, 199, 0.3);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(circle at 80% 30%, rgba(2, 132, 199, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Floating Image Area */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  z-index: 2;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shape {
  position: absolute;
  border-radius: var(--border-radius-lg);
  z-index: 1;
  pointer-events: none;
}

.hero-shape-1 {
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  top: 20px;
  left: 20px;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite alternate;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  background: var(--secondary-gradient);
  border-radius: 50%;
  bottom: -30px;
  left: -30px;
  filter: blur(40px);
  opacity: 0.15;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(3deg); }
}

/* --- STATS SECTION --- */
.stats-bar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- FEATURES / CARD GRIDS --- */
.feature-card {
  text-align: left;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
}

/* --- INTERACTIVE GRID FOR PRODUCTS / TECHNOLOGIES --- */
.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.product-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.product-link i {
  transition: var(--transition-smooth);
}

.product-card:hover .product-link i {
  transform: translateX(5px);
}

/* --- ABOUT HIGHLIGHT SECTION --- */
.about-section {
  position: relative;
}

.about-features {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-item i {
  color: var(--secondary);
  font-size: 1.2rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--secondary-glow);
  padding: 8px;
  border-radius: 50%;
}

.about-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.about-feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- CONTACT SECTION / PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-detail-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px;
  font-family: var(--font-primary);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Map area */
.map-container {
  height: 400px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.5) contrast(1.1);
}

/* --- BANNER / CALL TO ACTION (CTA) --- */
.cta-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary-gradient);
  filter: blur(120px);
  opacity: 0.05;
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 35px;
}

/* --- SUBPAGE HERO SECTION --- */
.page-hero {
  padding: 160px 0 80px 0;
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

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

/* --- ANIMATION HELPER CLASSES (FOR SCRIPTS) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    margin-top: 40px;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
}
