:root {
    --primary-color: #24b798;
    --secondary-color: #115446;
    --light-gray: #f2f2f2;
    --light-green: #35ba9a26;
  }
  
  body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    line-height: 1.4;
    color: #333;
  }
  
  /* Custom Colors */
  .text-primary {
    color: var(--primary-color) !important;
  }
  .bg-primary {
    background-color: var(--primary-color) !important;
  }
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
  }
  .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  .bg-light-gray {
    background-color: var(--light-gray) !important;
  }
  
  /* Navigation */
  .navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
  }
  
  .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color) !important;
  }
  
  /* Language Dropdown */
  .dropdown-toggle::after {
    display: none;
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .dropdown-item {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
  }
  
  .dropdown-item:hover {
    background-color: var(--light-gray);
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
  }

  .hero-section p {
    font-size: 1.2rem;
  }
  
  .hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-green) 0%, transparent 100%);
    z-index: -1;
  }
  
  .fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Phone Mockup */
  .phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
  }
  
  .phone-frame {
    width: 300px;
    height: 550px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  .phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    background: var(--light-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
  }
  
  .app-controls {
    padding: 20px;
    background: white;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  /* Feature Cards */
  .feature-card {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: none;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  
  .feature-icon {
    background: none !important;
    color: var(--primary-color) !important;
    font-size: 2.6rem;          
    box-shadow: none !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-bottom: 1rem;
  }

  .what-does {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .how-it-works-preview {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
  }
  
  /* Steps */
  .steps {
    margin: 2rem 0;
  }
  
  .step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  
  .step-content h6 {
    margin-bottom: 0.5rem;
  }
  
  /* Process Flow */
  .process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .process-step {
    text-align: center;
  }
  
  .process-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
  }
  
  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
  }
  
  /* Footer */
footer {
    background-color: #343a40 !important;
  }
  
  footer .text-white {
    color: #ffffff !important;
  }
  
  footer .text-muted {
    color: #adb5bd !important;
  }
  
  footer h5,
  footer h6,
  footer p,
  footer a,
  footer li {
    color: #ffffff !important;
  }
  
  footer a:hover {
    color: var(--primary-color) !important;
  }
  
  .social-links a {
    color: #adb5bd !important;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: var(--primary-color) !important;
  }
  
  footer hr {
    border-color: #495057 !important;
  }
  
  footer .text-muted.small {
    color: #6c757d !important;
  }
  
  /* How It Works Page Styles */
  .step-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .how-it-works-steps .bg-white {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(2px); 
  }
  
  .timeline {
    position: relative;
    padding-left: 2rem;
  }

  .timeline-content {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(2px); 
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-green);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
  }
  
  .feature-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .illustration-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
  }
  
  .feature-icon-small {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
  }
  
  /* About Page Styles */
  .about-hero, .about-mission, .about-plans, .about-company, .how-it-works-steps, .contact-company-info {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
  }
  
  .about-what-is, .illustration-card, .contact-option {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
  }

  .about-mission .mission-card, .about-plans .future-card {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(2px);
  }

  .feature-list {
    margin: 2rem 0;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
  }
  
  .app-screens {
    display: flex;
    gap: 2rem;
  }
  
  .screen-item {
    text-align: center;
  }
  
  .screen-icon {
    width: 80px;
    height: 120px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  
  .mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
  }
  
  .tech-card {
    padding: 1.5rem;
  }
  
  .tech-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
  }
  
  .company-features {
    margin: 2rem 0;
  }
  
  .company-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .company-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  .company-logo {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
  }
  
  .author-card {
    background: var(--primary-color);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .author-avatar {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
  }
  
  .students-section {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .student-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .student-card:hover {
    transform: translateY(-5px);
  }
  
  .student-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
  }
  
  .future-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .future-card:hover {
    transform: translateY(-10px);
  }
  
  .future-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
  }
  
  /* Contact Page Styles */
  .contact-option {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .contact-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  
  .contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
  }
  
  .contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .contact-details {
    margin: 2rem 0;
  }
  
  .contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .map-placeholder {
    background: var(--light-green);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .map-content {
    max-width: 300px;
  }
  
  /* Form Styles */
  .form-control:focus,
  .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(36, 183, 152, 0.25);
  }
  
  .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(36, 183, 152, 0.25);
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
  }
  
  /* Focus styles for accessibility */
  button:focus,
  .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
  
  /* Animations */
  .fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  /* Language flags */
  .dropdown-item img {
    width: 20px;
    height: auto;
  }
  
  /* WIJĄCA SIĘ TRASA GPS PRZEZ CAŁĄ STRONĘ */
  .route-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  
  .winding-route-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    animation: drawWindingRoute 45s ease-in-out infinite;
  }
  
  .winding-route-path path {
    animation: dashWindingAnimation 45s linear infinite;
    filter: drop-shadow(0 0 3px rgba(36, 183, 152, 0.3));
  }
  
  @keyframes drawWindingRoute {
    0% {
      opacity: 0;
    }
    15% {
      opacity: 0.25;
    }
    85% {
      opacity: 0.25;
    }
    100% {
      opacity: 0;
    }
  }
  
  @keyframes dashWindingAnimation {
    0% {
      stroke-dashoffset: 200;
    }
    100% {
      stroke-dashoffset: 0;
    }
  }
  
  /* Route dots wzdłuż wijącej się trasy */
  .route-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: pulseWindingWaypoint 5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(36, 183, 152, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
  }
  
  /* Pozycje punktów wzdłuż wijącej się trasy */
  .route-dot.dot-1 {
    top: 8%;
    left: 8%;
    animation-delay: 3s;
  }
  
  .route-dot.dot-2 {
    top: 19%;
    left: 23%;
    animation-delay: 8s;
  }
  
  .route-dot.dot-3 {
    top: 15%;
    left: 38%;
    animation-delay: 13s;
  }
  
  .route-dot.dot-4 {
    top: 30%;
    left: 52%;
    animation-delay: 18s;
  }
  
  .route-dot.dot-5 {
    top: 38%;
    left: 39%;
    animation-delay: 23s;
  }
  
  .route-dot.dot-6 {
    top: 48%;
    left: 26%;
    animation-delay: 28s;
  }
  
  .route-dot.dot-7 {
    top: 54%;
    left: 54%;
    animation-delay: 33s;
  }
  
  .route-dot.dot-8 {
    top: 78%;
    left: 67%;
    animation-delay: 38s;
  }
  
  .route-dot.dot-9 {
    top: 89%;
    left: 60%;
    animation-delay: 43s;
  }
  
  .route-dot.dot-10 {
    top: 97%;
    left: 92%;
    animation-delay: 48s;
  }  
  
  @keyframes pulseWindingWaypoint {
    0%,
    100% {
      opacity: 0;
      transform: scale(0.3);
    }
    50% {
      opacity: 0.9;
      transform: scale(1.8);
    }
  }
  
  /* Different route variations for different pages */
  .page-how-it-works .winding-route-path path {
    stroke: #2ecc71;
  }
  
  .page-about .winding-route-path path {
    stroke: #3498db;
  }
  
  .page-contact .winding-route-path path {
    stroke: #e74c3c;
  }
  
  /* Reduce motion for accessibility */
  @media (prefers-reduced-motion: reduce) {
    .winding-route-path,
    .route-dot {
      animation: none;
      opacity: 0.08;
    }
  }
  
  .badge-frontend {
    background: #ffe066;
    color: #333;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.92rem;
    padding: 0.38em 0.95em;
}
.badge-backend {
    background: #d0ebff;
    color: #1c3c68;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.92rem;
    padding: 0.38em 0.95em;
}
.badge-android {
    background: #b9fbc0;
    color: #22543d;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.92rem;
    padding: 0.38em 0.95em;
}
.badge-grafik {
    background: #e9d8fd;
    color: #5f259f;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.92rem;
    padding: 0.38em 0.95em;
}
.badge i {
    margin-right: 4px;
    font-size: 0.95em;
}

a {
    text-decoration: none;
    color: inherit;
}

.img-full-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

/* ------------------- RESPONSYWNOŚĆ START ------------------- */

/* Duże ekrany (max-width: 1400px) */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Hero – szerokość 1200px i mniej: hero-section dalej w dwóch kolumnach, ale z mniejszymi odstępami */
@media (max-width: 1200px) {
  .hero-section {
    min-height: unset;
  }
  .hero-section .container {
    max-width: 100%;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero-content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-section .display-4 {
    font-size: 2.1rem;
  }
  .hero-section .lead {
    font-size: 1.1rem;
  }
  .hero-section .row.text-center {
    gap: 0.7rem;
    justify-content: center;
  }
  .hero-section .row.text-center .col-4 {
    min-width: 220px;  /* Możesz dostosować – ważne by nie było <210px */
    flex: 1 1 0;
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    max-width: 320px;  /* Opcjonalnie – żeby nie były za szerokie */
  }
  .hero-section .row.text-center h3 {
    font-size: 1.16rem;
  }
}

/* Hero – od 992px do 1199px: 2 kolumny, lekko zmniejszone elementy, trochę większy padding */
@media (max-width: 1100px) {
  .phone-mockup {
    height: 500px;
  }
  .phone-frame {
    width: 270px;
    height: 500px;
    padding: 20px;
  }
}

/* TABLET pionowy: od 991px w dół – jedna kolumna, telefon pod tekstem, większe marginesy, text center */
@media (max-width: 991px) {
  .nav-item button {
    margin-bottom: 5px;
  }
  .hero-section {
    flex-direction: column;
    align-items: stretch;
    padding-top: 6.6rem;
    padding-bottom: 0.6rem;
    text-align: center;
  }
  .hero-section .container {
    max-width: 98vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-section .row {
    flex-direction: column;
    align-items: center !important;
    margin-left: 0;
    margin-right: 0;
    gap: 0;
  }
  .hero-section .col-lg-6 {
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 1.2rem;
  }
  .hero-content {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    margin-bottom: 1.8rem;
  }
  .phone-mockup {
    height: 550px;
    margin: 0 auto 1.7rem auto;
  }
  .phone-frame {
    width: 270px;
    height: 550px;
    padding: 20px;
  }
  .hero-section .row.text-center {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
  }
  .hero-section .row.text-center .col-4 {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-section .display-4 {
    font-size: 1.5rem;
  }
  .how-it-works-btn,
  .steps + .btn {
    margin-bottom: 2.5rem;
  }
  .how-it-works-img {
    max-height: 600px;  /* np. 220px, 250px, 300px — testuj wg wyglądu */
    height: auto;
    width: auto;
    margin: 0 auto;
  }
  .reverse-on-mobile {
    flex-direction: row-reverse;
    gap: 22px;
  }
}


/* Tablet i mniejsze - panel pod przyciskami w jednej kolumnie (naprawa nachodzenia) */
@media (max-width: 800px) {
  .hero-section {
    padding-top: 6.6rem;
    padding-bottom: 0.5rem;
  }
  .hero-section .display-4 {
    font-size: 1.25rem;
  }
  .hero-section .lead {
    font-size: 1.05rem;
  }
  .phone-mockup {
    height: 500px;
  }
  .phone-frame {
    width: 270px;
    height: 500px;
    padding: 20px;
  }
  .hero-section .row.text-center {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Smartfony max-width: 600px */
@media (max-width: 600px) {
  .hero-section {
    min-height: unset;
    padding-top: 1.2rem;
    padding-bottom: 0.4rem;
  }
  .hero-section .container {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-section .display-4 {
    font-size: 1.01rem;
    margin-bottom: 0.8rem;
  }
  .phone-mockup {
    height: 460px;
    margin-bottom: 1rem;
  }
  .phone-frame {
    width: 240px;
    height: 460px;
    padding: 16px;
  }
  .hero-section .row.text-center .col-4 {
    width: 100%;
    max-width: 99vw;
    text-align: center;
  }
}

/* Panel „How it works” – kafelki ikona/tekst/obrazek – na mobile kolumna */
@media (max-width: 600px) {
  .d-flex.align-items-center.bg-white.rounded-4.shadow.p-4 {
    flex-direction: column !important;
    max-width: 96vw !important;
    width: 100% !important;
    padding: 1.2rem !important;
    gap: 1.1rem;
  }
  .d-flex.align-items-center.bg-white.rounded-4.shadow.p-4 .me-4 {
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
    min-width: unset !important;
  }
  .d-flex.align-items-center.bg-white.rounded-4.shadow.p-4 img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }
  .reverse-on-mobile {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .reverse-on-mobile .text-center {
    order: 1;
    width: 100%;
  }
  .reverse-on-mobile img {
    order: 2;
    width: 100%;
    margin: 0 auto;
  }
}

/* Pozostałe sekcje, np. footer, steps, feature-card, CTA */
@media (max-width: 1100px) {
  .feature-card,
  .mission-card,
  .future-card,
  .contact-option {
    padding: 1rem;
  }
  .steps,
  .feature-list,
  .company-features {
    margin: 1.2rem 0;
  }
  .student-card {
    padding: 1rem;
  }
  .author-card {
    padding: 1.4rem;
  }
}

/* Dla szerokości max 768px - stopka w jednej kolumnie */
@media (max-width: 768px) {
  .hero-section {
    min-height: unset;
    padding-top: 6.6rem;
    padding-bottom: 0.4rem;
  }
  .footer .row.g-4 > div {
    margin-bottom: 1.5rem;
  }
  .footer .container {
    padding: 0 0.7rem;
  }
}

/* Dla szerokości max 400px */
@media (max-width: 400px) {
  .hero-section .display-4 {
    font-size: 0.85rem;
  }
}

/* ------------------- RESPONSYWNOŚĆ KONIEC ------------------- */
