/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

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

/* Fixed Left Side Navigation */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 180px;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  z-index: 1000;
  box-shadow: 4px 0 30px rgba(0,0,0,0.15);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 80px;
  letter-spacing: 3px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  width: 100%;
  text-align: center;
}

.nav-links {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 12px 15px;
  border-radius: 8px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  margin-right: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.nav-dot::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.nav-link:hover {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.05);
}

.nav-link:hover .nav-dot {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}

.nav-link.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-link.active .nav-dot {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.nav-link.active .nav-dot::after {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.15);
}

.nav-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Main content offset for desktop */
@media (min-width: 769px) {
  body {
    margin-left: 180px;
  }
}

/* Hide side nav on mobile */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* Animation Classes */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.15s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: white;
  padding: 120px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: block;
  }
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 3px solid rgba(255,255,255,0.8);
  border-bottom: 3px solid rgba(255,255,255,0.8);
  transform: rotate(-45deg);
  margin: -10px auto;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0;
  }
  40% {
    transform: translateY(10px) rotate(-45deg);
    opacity: 1;
  }
  60% {
    transform: translateY(15px) rotate(-45deg);
    opacity: 1;
  }
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.hero .founder {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Services Section */
.services {
  padding: 100px 20px;
  background: #ffffff;
}

.services h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 70px;
  color: #1a365d;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(44, 82, 130, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2c5282 0%, #1a365d 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: rgba(44, 82, 130, 0.2);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #1a365d;
  font-weight: 600;
}

.service-card p {
  color: #555;
  line-height: 1.9;
  font-size: 1.05rem;
}

/* Success Stories Section */
.success-stories {
  padding: 100px 20px;
  background: #f8f9fa;
}

.success-stories h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 15px;
  color: #1a365d;
  font-weight: 600;
}

.success-stories .subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 70px;
  font-weight: 500;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  border-left: 4px solid #2c5282;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-left-color: #1a365d;
}

.story-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1a365d;
  font-weight: 600;
}

.story-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Job Opportunities Section */
.opportunities {
  padding: 100px 20px;
  background: white;
}

.opportunities h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 70px;
  color: #1a365d;
  font-weight: 600;
}

.jobs-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.job-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 45px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(44, 82, 130, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: rgba(44, 82, 130, 0.2);
}

.job-card h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a365d;
  font-weight: 600;
}

.job-card .company {
  color: #2c5282;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.job-card .description {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.btn-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(44, 82, 130, 0.2);
}

.btn-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(44, 82, 130, 0.3);
}

/* CV Upload Section */
.cv-upload {
  padding: 80px 20px;
  background: white;
}

.cv-upload h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: #1a365d;
}

.cv-upload > .container > p {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.cv-form {
  max-width: 600px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background: #f8f9fa;
}

.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: #1a365d;
}

.contact > .container > p {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Form Styles */
.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5282;
}

.form-group textarea {
  resize: vertical;
}

.btn-primary {
  background: #2c5282;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  background: #1a365d;
}

/* Impressum Section */
.impressum {
  padding: 80px 20px;
  background: white;
}

.impressum h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #1a365d;
}

.impressum-content {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  line-height: 1.8;
}

.impressum-content p {
  margin-bottom: 10px;
}

.impressum-content .disclaimer {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #999;
}

/* Footer */
.footer {
  background: #1a365d;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer p {
  margin: 5px 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .services h2,
  .success-stories h2,
  .opportunities h2,
  .cv-upload h2,
  .contact h2,
  .impressum h2 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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