/* DSIL Website Styles */
/* Color Palette - Professional Teal/Slate */
:root {
  --primary: #0F766E;
  --primary-dark: #0D5C56;
  --primary-light: #14B8A6;
  --accent: #06B6D4;
  --dark: #0F172A;
  --dark-gray: #1E293B;
  --slate: #334155;
  --gray: #64748B;
  --light-gray: #F1F5F9;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.25rem; }
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 0.875rem 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  filter: sepia(100%) saturate(300%) hue-rotate(130deg) brightness(0.85);
}

.navbar-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

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

.navbar-menu a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
}

.navbar-menu .dropdown {
  position: relative;
}

.navbar-menu .dropdown-content {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

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

.navbar-menu .dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.navbar-menu .dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--primary);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 968px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: none;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-menu li {
    width: 100%;
  }
  
  .navbar-menu a {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .navbar-menu .dropdown-content {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 1rem;
    display: none;
  }
  
  .navbar-menu .dropdown.active .dropdown-content {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 70%;
  height: 200%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: rotate(-12deg);
  opacity: 0.12;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 45%;
  height: 150%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  transform: rotate(-12deg);
  opacity: 0.08;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero .subtitle {
  color: var(--primary-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-page {
  padding: 10rem 0 4rem;
}

.hero-page h1 {
  font-size: 2.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-gray {
  background: var(--off-white);
}

.section-dark {
  background: var(--dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 968px) {
  .grid-3, .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }
}

/* Features List */
.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  color: var(--slate);
  font-size: 0.9375rem;
}

.features-list li svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4.5rem 0;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}

.cta .btn-secondary {
  border-color: rgba(255,255,255,0.8);
}

/* Process Steps */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.process-step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.process-step-content p {
  margin-bottom: 0;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

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

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.contact-item-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, #0C1220 100%);
  padding: 4.5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.footer-brand .footer-logo img {
  height: 38px;
  width: auto;
  filter: sepia(100%) saturate(300%) hue-rotate(130deg) brightness(1.3);
}

.footer-brand .footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--primary-light);
}

.footer-social a:hover svg {
  color: var(--white);
}

/* Step Numbers */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}

.process-step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.process-step-content p {
  color: var(--gray);
  margin: 0;
}

/* Client Logos */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo img {
  max-height: 50px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* 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: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--dark); }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease forwards;
}

/* Service Page Specific */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .service-intro {
    grid-template-columns: 1fr;
  }
}

.service-graphic {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-graphic svg {
  width: 180px;
  height: 180px;
  color: var(--primary);
}

/* Why Choose Cards */
.why-card {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.why-card h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.why-card p {
  margin-bottom: 0;
}

/* Industry Cards */
.industry-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.industry-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2rem;
  text-align: center;
}

.industry-card-header svg {
  width: 56px;
  height: 56px;
  color: var(--white);
  margin-bottom: 1rem;
}

.industry-card-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.25rem;
}

.industry-card-body {
  padding: 1.5rem;
}

.industry-card-body ul {
  list-style: none;
}

.industry-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.industry-card-body li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Module Cards for ERP */
.module-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
}

.module-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.module-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: var(--gray);
}
