:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --secondary: #f97316;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.cta-btn {
  background-color: var(--accent);
  color: var(--text-light) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: var(--transition);
}

.cta-btn:hover {
  background-color: var(--accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 6rem 2rem;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary);
}

/* Main Content Sections */
section {
  padding: 5rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--accent);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-muted);
}

/* ROI Calculator Section */
.calculator-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-inputs {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.range-val {
  display: inline-block;
  font-weight: bold;
  color: var(--accent);
  margin-left: 0.5rem;
}

.calc-results {
  text-align: left;
}

.calc-results h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.result-box {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.result-box .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-top: 0.5rem;
}

/* Contact Form Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.info-list i {
  color: var(--accent);
  font-size: 1.25rem;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  height: 120px;
}

.form-success {
  display: none;
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

/* About Page Specifics */
.about-hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: 5rem 2rem;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Team Section */
.team-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin: 2rem auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.25rem;
}

.team-info .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  border-top: 4px solid var(--accent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
  margin-top: 0.5rem;
}

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

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--primary-light);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 2rem;
    box-shadow: var(--shadow);
    gap: 1.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .calc-container, .contact-container, .about-grid, .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
