:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --background: #f8f9fa;
  --footer-bg: #2c3e50;
  --button: #3498db;
  --section-bg-1: #ecf0f1;
  --section-bg-2: #dfe6e9;
  --section-bg-3: #bdc3c7;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --accent: #e74c3c;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Rajdhani', 'Inter', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 400;
}

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

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--button);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  background-color: #2980b9;
}

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

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

.section {
  padding: 5rem 0;
}

.section-bg-1 {
  background-color: var(--section-bg-1);
  position: relative;
  overflow: hidden;
}

.section-bg-1::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 100%);
  z-index: 0;
}

.section-bg-2 {
  background-color: var(--section-bg-2);
}

.section-bg-3 {
  background-color: var(--section-bg-3);
}

.card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--secondary);
  transition: var(--transition);
}

.card:hover::after {
  width: 8px;
}

footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 3rem 0;
}

footer a {
  color: white;
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
  text-decoration: none;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.form-control {
  border-radius: var(--border-radius);
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.geometric-pattern {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--secondary) 0%, rgba(52, 152, 219, 0) 70%);
  opacity: 0.1;
  z-index: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .geometric-pattern {
    width: 200px;
    height: 200px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}