/* Global Styles */
:root {
  /* Light Theme Variables */
  --bg-primary-light: #ffffff;
  --bg-primary-light-rgb: 255, 255, 255;
  --bg-secondary-light: #f8fafc;
  --bg-secondary-light-rgb: 248, 250, 252;
  --bg-tertiary-light: #f1f5f9;
  --bg-tertiary-light-rgb: 241, 245, 249;
  --text-primary-light: #1f2937;
  --text-secondary-light: #64748b;
  --text-muted-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-secondary-light: #f1f5f9;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-color-light: rgba(0, 0, 0, 0.05);

  /* Dark Theme Variables */
  --bg-primary-dark: #0a0a0f;
  --bg-primary-dark-rgb: 10, 10, 15;
  --bg-secondary-dark: #1e293b;
  --bg-secondary-dark-rgb: 30, 41, 59;
  --bg-tertiary-dark: #334155;
  --bg-tertiary-dark-rgb: 51, 65, 85;
  --text-primary-dark: #f8fafc;
  --text-secondary-dark: #cbd5e1;
  --text-muted-dark: #64748b;
  --border-dark: #334155;
  --border-secondary-dark: #475569;
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --shadow-color-dark: rgba(0, 0, 0, 0.2);

  /* Default to dark theme */
  --bg-primary: var(--bg-primary-dark);
  --bg-primary-rgb: var(--bg-primary-dark-rgb);
  --bg-secondary: var(--bg-secondary-dark);
  --bg-secondary-rgb: var(--bg-secondary-dark-rgb);
  --bg-tertiary: var(--bg-tertiary-dark);
  --bg-tertiary-rgb: var(--bg-tertiary-dark-rgb);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --text-muted: var(--text-muted-dark);
  --border: var(--border-dark);
  --border-secondary: var(--border-secondary-dark);
  --shadow: var(--shadow-dark);
  --shadow-color: var(--shadow-color-dark);
}

/* Light theme class */
[data-theme="light"] {
  --bg-primary: var(--bg-primary-light);
  --bg-primary-rgb: var(--bg-primary-light-rgb);
  --bg-secondary: var(--bg-secondary-light);
  --bg-secondary-rgb: var(--bg-secondary-light-rgb);
  --bg-tertiary: var(--bg-tertiary-light);
  --bg-tertiary-rgb: var(--bg-tertiary-light-rgb);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --text-muted: var(--text-muted-light);
  --border: var(--border-light);
  --border-secondary: var(--border-secondary-light);
  --shadow: var(--shadow-light);
  --shadow-color: var(--shadow-color-light);
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
  transition: all 0.3s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-block;
}

.btn-primary {
  background: #16a34a;
  color: white;
}

.btn-primary:hover {
  background: #15803d;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-secondary);
}

.btn-contact {
  background: #16a34a;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-contact:hover {
  background: #15803d;
  transform: translateY(-1px);
  /* box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3); */
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

/* Section Divider */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: var(--bg-primary);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.section-divider img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: rotate(-15deg) translateY(50px);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: rotate(-15deg) translateY(50px);
  }
  100% {
    opacity: 0.8;
    transform: rotate(-15deg) translateY(0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 0.8;
    transform: rotate(-15deg) translateY(0);
  }
  100% {
    opacity: 0;
    transform: rotate(-15deg) translateY(50px);
  }
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.theme-toggle i {
  transition: transform 0.3s ease;
}

.theme-toggle:hover i {
  transform: rotate(180deg);
}

/* Animations */
@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
