:root {
  --primary: #0f172a;
  --secondary: #475569;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --bg: #ffffff;
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --text: #1e293b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: var(--bg);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

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

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

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 30px;
  height: 30px;
  justify-content: center;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle span:nth-child(1) {
  top: 8px;
}

.nav-toggle span:nth-child(2) {
  top: 14px;
}

.nav-toggle span:nth-child(3) {
  top: 20px;
}

.nav-toggle.active span:nth-child(1) {
  top: 14px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 14px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Hero Section (Homepage) */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--secondary);
}

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

/* Section Styles */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-header p {
  font-size: 1.25rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--secondary);
  line-height: 1.8;
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.feature {
  display: flex;
  gap: 15px;
  align-items: start;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature span {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* Contact Content */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-item span {
  color: var(--secondary);
  font-size: 1.1rem;
}

.contact-grid p {
  color: var(--secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  opacity: 0.8;
}

/* Content Sections */
.content-section {
  margin-bottom: 60px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.content-section p {
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Fixed spacing for lists after headings in contact section */
.contact-grid ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 20px 0; /* Added proper top margin after headings */
}

.contact-grid ul li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-grid ul li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Standardized bullet points for other sections */
ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--secondary);
  font-size: 1.1rem;
}

ul li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Exclude navigation from bullet styling */
.nav-links {
  list-style: none;
}

.nav-links li {
  padding: 0;
}

.nav-links li::before {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0 40px 0;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 8px 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .container {
    padding: 0 30px;
  }

  .hero {
    padding: 80px 0;
  }

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

  .hero p {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 60px 0;
  }

  /* Better mobile spacing for content */
  .content-section {
    margin-bottom: 40px;
  }

  ul li {
    padding: 12px 0;
    padding-left: 35px;
  }

  .service-card {
    padding: 30px;
  }
}
