:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #10b981;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --background-alt: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.9);
}

.dark {
  --primary-color: #3b82f6;
  --primary-dark: #60a5fa;
  --secondary-color: #10b981;
  --text-color: #f3f4f6;
  --text-light: #9ca3af;
  --background-color: #111827;
  --background-alt: #1f2937;
  --border-color: #374151;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-bg: #1f2937;
  --header-bg: rgba(17, 24, 39, 0.9);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-right: 30px;
}

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

.logo-dark {
  display: none;
}

.dark .logo-light {
  display: none;
}

.dark .logo-dark {
  display: block;
}

.nav-links ul {
  display: flex;
  list-style: none;
}

.nav-links ul li {
  margin-right: 30px;
}

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

.nav-links ul li a:hover {
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  color: var(--text-color);
}

.sun-icon {
  display: none;
}

.dark .moon-icon {
  display: none;
}

.dark .sun-icon {
  display: block;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background-color: var(--background-color);
}

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

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

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

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

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

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

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px var(--shadow-color);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--background-alt);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

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

.service-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.service-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

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

/* Footer */
footer {
  background-color: var(--background-alt);
  padding: 60px 0 30px;
}

.footer-content-simple {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 0;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-logo p {
  color: var(--text-light);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  color: var(--primary-color);
}

.contact-item p {
  color: var(--text-color);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-light);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--background-color);
    transition: left 0.3s;
    z-index: 999;
  }

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

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

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

  .mobile-menu {
    display: block;
  }

  .mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

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

  .footer-contact {
    flex-direction: column;
  }
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content-simple {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer-logo {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-content-simple {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }
}

