* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; 
  scroll-padding-top: 20px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.cookie-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

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

.btn-accept {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s ease;
}

.btn-accept:hover {
  background: #1d4ed8;
}

.btn-reject {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-reject:hover {
  background: #2563eb;
  color: white;
}

/* Header */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.navbar {
  padding: 1rem 0;
}

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

.nav-brand a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-menu li a:hover {
  color: #60a5fa;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: url('../images/hero.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./images/tech-pattern.svg') no-repeat center;
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Fundamenty Section */
.fundamenty {
  padding: 80px 0;
  background: #f8fafc;
}

.fundamenty h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.fundamenty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.fundamenty-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.fundamenty-item:hover {
  transform: translateY(-5px);
}

.fundamenty-item h3 {
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.fundamenty-item p {
  color: #64748b;
  line-height: 1.7;
}

/* Uslugi Section */
.uslugi {
  padding: 80px 0;
  background: #fff;
}

.uslugi h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.uslugi-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.uslugi-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.uslugi-text {
  flex: 1;
}

.uslugi-text p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}

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

.uslugi-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Jak Pracujemy Section */
.jak-pracujemy {
  padding: 80px 0;
  background: #f8fafc;
}

.jak-pracujemy h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.proces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.proces-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.proces-item:hover {
  transform: translateY(-5px);
}

.proces-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.proces-item h3 {
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.proces-item p {
  color: #64748b;
  line-height: 1.7;
}

/* Kariera Section */
.kariera {
  padding: 80px 0;
  background: #fff;
}

.kariera h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.kariera-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.kariera-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.kariera-item.reverse {
  flex-direction: row-reverse;
}

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

.kariera-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kariera-text {
  flex: 1;
}

.kariera-text h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.kariera-text p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Wydarzenia Section */
.wydarzenia {
  padding: 80px 0;
  background: #f8fafc;
}

.wydarzenia h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.wydarzenia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.wydarzenie-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wydarzenie-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.wydarzenie-image {
  width: 100%;
  overflow: hidden;
}

.wydarzenie-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wydarzenie-item:hover .wydarzenie-image img {
  transform: scale(1.05);
}

.wydarzenie-content {
  padding: 1.5rem;
}

.wydarzenie-date {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.wydarzenie-content h3 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.wydarzenie-content p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item h3 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #64748b;
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

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

.submit-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
      padding: 0 15px;
  }

  /* Navigation */
  .nav-menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100vh;
      background: rgba(15, 23, 42, 0.98);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: left 0.3s ease;
      z-index: 1001;
  }

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

  .nav-menu li {
      margin: 1rem 0;
  }

  .nav-menu li a {
      font-size: 1.2rem;
  }

  .hamburger {
      display: flex;
      z-index: 1002;
  }

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

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

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

  /* Hero Section */
  .hero {
      padding: 100px 0 60px;
  }

  .hero-content {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
  }

  .hero-text h1 {
      font-size: 2.2rem;
  }

  .hero-text p {
      font-size: 1rem;
  }

  /* Sections */
  .fundamenty,
  .uslugi,
  .jak-pracujemy,
  .kariera,
  .wydarzenia,
  .contact {
      padding: 60px 0;
  }

  .fundamenty h2,
  .uslugi h2,
  .jak-pracujemy h2,
  .kariera h2,
  .wydarzenia h2,
  .contact h2 {
      font-size: 2rem;
  }

  .fundamenty-grid,
  .proces-grid,
  .wydarzenia-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

  .fundamenty-item,
  .proces-item {
      padding: 1.5rem;
  }

  /* Kariera */
  .kariera-item,
  .kariera-item.reverse {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
  }

  .kariera-text p {
      text-align: left;
  }

  /* Wydarzenia */

  .wydarzenie-content {
      padding: 1.2rem;
  }

  /* Uslugi */
  .uslugi-content {
      flex-direction: column;
      gap: 2rem;
  }

  .uslugi-intro {
      font-size: 1rem;
  }

  /* Contact */
  .contact-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  /* Footer */
  .footer-content {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
  }

  .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
  }

  .footer-links {
      justify-content: center;
      gap: 1rem;
  }

  /* Cookie Banner */
  .cookie-buttons {
      flex-direction: column;
  }

  .btn-accept,
  .btn-reject {
      width: 100%;
      text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 1.8rem;
  }

  .fundamenty h2,
  .uslugi h2,
  .jak-pracujemy h2,
  .contact h2 {
      font-size: 1.8rem;
  }

  .fundamenty-grid,
  .proces-grid {
      grid-template-columns: 1fr;
  }

  .cta-button,
  .submit-btn {
      padding: 12px 24px;
      font-size: 0.9rem;
  }

  .footer-links {
      flex-direction: column;
      gap: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

.legal {
  margin: 130px auto 60px;
  min-height: 55vh;
}

.legal h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.legal p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.legal ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.legal ul li {
  font-size: 16px;
  line-height: 1.5;
}

.legal__btn {
  margin: 30px auto 0;
}

.legal__btn a {
  display: inline-block;
}