/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --navy: #1d1817;
  --orange: #c8a64a;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --white: #ffffff;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --section-padding: 80px 0;
  --section-padding-small: 50px 0;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ============================================
   LAYOUT UTILITIES
============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-padding {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.text-orange {
  color: var(--orange);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background: rgba(200, 166, 74, 0.9);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: rgba(200, 166, 74, 1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   NAVIGATION - FIXED DESKTOP VERSION
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(29, 24, 23, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow);
}

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

.nav-brand a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:focus {
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 3px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

.nav-cta {
  display: flex;
  justify-content: flex-end;
}

.nav-cta .btn {
  margin: 3px;
}

.nav-mobile-btn {
  display: none;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0.45) 100%),
    url('images/tlo.webp') center center/cover no-repeat;
  z-index: -1;
}

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

.hero-content {
  margin-top: 80px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-features {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--white);
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--white);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   SHARED CARD & ICON STYLES
============================================ */
.service-card, .feature-card, .testimonial-card, .benefit-item {
  transition: var(--transition);
}

.service-card:hover, .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-icon, .benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.service-icon {
  border-radius: 50%;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
  background: var(--white);
  position: relative;
  z-index: 10;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-content h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.benefit-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-images {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 350px;
  height: 400px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 500;
  border: 2px dashed var(--border-color);
}

.team-image {
  width: 100%;
  max-width: 350px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* ============================================
   SERVICES SECTION
============================================ */
.services {
  background: var(--light-gray);
  position: relative;
  z-index: 10;
  padding: var(--section-padding-small);
}

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

.service-card {
  background: var(--white);
  padding: 1.8rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   PORTFOLIO SECTION
============================================ */
.portfolio {
  background: var(--white);
  position: relative;
  z-index: 10;
}

.portfolio-carousel-container {
  position: relative;
  margin: 3rem 0;
}

.portfolio-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  transition: transform 0.6s ease;
  width: 200%; /* 2x szerokość dla 12 kafelków */
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--orange);
}

.carousel-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-prev {
  left: -100px;
}

.carousel-next {
  right: -80px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-image .image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 500;
  border: none;
  border-radius: 0;
}

.portfolio-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 24, 23, 0.9);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.portfolio-overlay p {
  margin: 0 0 1rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-btn:hover {
  background: rgba(200, 166, 74, 1);
  transform: translateY(-2px);
}

.portfolio-btn i {
  font-size: 1rem;
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   PORTFOLIO MODAL
============================================ */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portfolio-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(30px);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  font-size: 1.2rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 50%;
  transition: var(--transition);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.main-image-container {
  position: relative;
  background: var(--light-gray);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  border: 2px dashed var(--border-color);
}

.image-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  pointer-events: none;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.image-counter {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.image-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dots-container {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.dot.active {
  background: var(--orange);
  transform: scale(1.4);
  box-shadow: 0 0 0 2px rgba(200, 166, 74, 0.3);
}

.modal-info {
  padding: 1.5rem 2rem;
  text-align: center;
  background: var(--white);
}

.modal-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.modal-info p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
  background: var(--light-gray);
  position: relative;
  z-index: 10;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.stars i {
  color: #c8a64a;
  font-size: 1.2rem;
}

.stars span {
  margin-left: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: var(--navy);
  font-size: 1rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.google-reviews {
  text-align: center;
  margin-top: 3rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.google-badge i {
  font-size: 2rem;
  color: #4285f4;
}

.google-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.3rem;
}

.google-stars i {
  color: #c8a64a;
  font-size: 1rem;
}

.google-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
  background: var(--white);
  position: relative;
  z-index: 10;
}

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

.contact-info h3, .contact-form h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-of-type {
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  margin: 0;
  line-height: 1.5;
}

.contact-details a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--orange);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.checkbox-label input[type="checkbox"].error + .checkmark {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-group input.success,
.form-group textarea.success {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--orange);
  border-color: var(--orange);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  color: var(--white);
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.file-upload-group {
  margin-bottom: 1.5rem;
}

.file-upload-info {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
  font-size: 1rem;
}

.file-upload-label:hover {
  border-color: var(--orange);
  background: rgba(200, 166, 74, 0.05);
}

.file-upload-label i {
  color: var(--orange);
  font-size: 1.1rem;
}

.file-upload-label input[type="file"] {
  display: none;
}

.file-list {
  margin-top: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  background: var(--light-gray);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-item-info i {
  color: var(--orange);
}

.file-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition);
}

.file-remove:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.data-info-expandable {
  font-size: 0.9rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 0;
  overflow: hidden;
}

.data-info-header {
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  transition: var(--transition);
  user-select: none;
}

.data-info-header:hover {
  background: rgba(0, 0, 0, 0.05);
}

.expand-icon {
  font-size: 0.8rem;
  color: var(--orange);
  transition: transform 0.3s ease;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

.data-info-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 0.75rem;
  color: var(--text-light);
}

.data-info-content.expanded {
  max-height: 200px;
  padding: 0 0.75rem 0.75rem 0.75rem;
}

.data-info-content p {
  margin: 0.5rem 0;
  line-height: 1.4;
  font-size: 0.9rem;
}

.data-info-content p:first-child {
  margin-top: 0;
}

.data-info-content p:last-child {
  margin-bottom: 0;
}

.data-info-content a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.data-info-content a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.map-container-left {
  margin-top: 0;
  height: 220px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container-left iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-container {
  margin-top: 4rem;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 2px dashed var(--border-color);
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--orange);
}

/* ============================================
   FOOTER - POPRAWIONA WERSJA
============================================ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 0 0.5rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.8fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section ul li {
  margin-bottom: 0;
  line-height: 1.4;
  width: 100%;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  display: block;
  word-break: break-word;
}

.footer-section ul li a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-links a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--orange);
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-content p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--orange);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 2rem auto 0;
  }
}

/* Specjalne media queries dla problematycznych rozdzielczości */
@media (max-width: 1200px) and (min-width: 1025px) {
  .footer-content {
    grid-template-columns: 1.8fr 1fr 1.5fr;
    gap: 1.5rem;
  }
  
  .footer-section ul li a {
    font-size: 0.85rem;
  }
  
  .footer-links {
    gap: 0.8rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
}

/* CONTACT SECTION - wyśrodkowanie do 1025px */
@media (max-width: 1025px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-info h3 {
    text-align: center;
  }
  
  .contact-info > p {
    text-align: center;
    padding: 0 10px;
  }
  
  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details h4 {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .contact-details p {
    text-align: center;
    margin: 0;
  }
  
  .contact-details address {
    text-align: center;
    font-style: normal;
  }
  
  .map-container-left {
    height: 180px;
    margin-top: 1.5rem;
  }
}

/* FOOTER - wyśrodkowanie do 801px */
@media (max-width: 801px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-bottom-content p {
    text-align: center;
    margin: 0;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
  
  /* FOOTER CONTACT - wyśrodkowanie */
  .footer-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contact p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 0.6rem;
  }
  
  .footer-section:last-child {
    text-align: center;
  }
  
  .footer-section:last-child h4 {
    text-align: center;
  }

  /* Wyśrodkowanie ikony Facebooka na mobile */
  .social-links {
    justify-content: center;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text {
    text-align: center;
    padding: 0 10px;
  }
  
  .about-description {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .about-images {
    order: -1;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .benefit-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .benefit-content {
    text-align: center;
  }
  
  .benefit-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }
  
  .benefit-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* MOBILE NAVIGATION - TYLKO NA TABLECIE I MNIEJSZYCH */
  .nav-cta {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 69px;
    left: -100%;
    width: 100%;
    height: auto;
    min-height: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: initial;
    gap: 0;
    padding: 1rem 0 1.5rem 0;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .nav-menu.active .nav-list li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .nav-link {
    display: block;
    padding: 1rem;
    width: 100%;
  }
  
  .nav-mobile-btn {
    display: block;
    margin-top: 2rem;
    padding: 14px 28px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .nav-menu.active .nav-mobile-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Portfolio carousel responsive - tablet */
  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr); /* 4 rzędy dla 3 widocznych */
    width: 400%; /* 4x szerokość dla 3 widocznych z 12 */
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
    --section-padding-small: 35px 0;
  }
  
  .navbar {
    padding: 12px 0;
  }
  
  .nav-menu {
    top: 64px;
  }
  
  .nav-brand a {
    font-size: 1.6rem;
  }
  
  /* Portfolio carousel responsive - mobile */
  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr); /* 6 rzędów dla 2 widocznych */
    width: 600%; /* 6x szerokość dla 2 widocznych z 12 */
  }
  
  /* Responsive carousel buttons */
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-prev {
    left: -80px;
  }
  
  .carousel-next {
    right: -60px;
  }
  
  .about, .services {
    padding: 35px 0;
  }
  
  .about .section-title, .services .section-title {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
  }
  
  .about-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    padding: 0 5px;
  }
  
  .benefits-grid {
    margin-top: 1rem;
    gap: 0.8rem;
  }
  
  .benefit-item {
    padding: 0.8rem;
    gap: 0.6rem;
  }
  
  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .benefit-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }
  
  .benefit-content p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
  }
  
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 80px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-content {
    margin-top: 0;
    margin-bottom: auto;
    padding-top: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-features {
    margin-top: auto;
    padding-bottom: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .feature-card {
    padding: 1.2rem 1rem;
    margin-bottom: 0;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .service-card {
    padding: 1.2rem 1rem;
  }
  
  .service-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile portfolio - disable carousel, show simple grid */
  .portfolio-carousel-wrapper {
    overflow: visible !important;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
  }
  
  .carousel-nav-btn {
    display: none !important;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-arrow {
    width: 25px;
    height: 25px;
  }
  
  /* Portfolio Modal Mobile */
  .portfolio-modal {
    padding: 10px;
  }
  
  .modal-content {
    max-height: 95vh;
    max-width: 95vw;
  }
  
  .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .main-image-container {
    aspect-ratio: 4/3;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .image-nav {
    padding: 0 0.75rem;
  }
  
  .image-counter {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .image-dots {
    bottom: 1rem;
  }
  
  .dots-container {
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .modal-info {
    padding: 1rem 1.5rem;
  }
  
  .modal-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .modal-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .file-upload-label {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .file-item {
    padding: 0.4rem;
    font-size: 0.8rem;
  }
  
  .data-info-expandable {
    font-size: 0.85rem;
  }
  
  .data-info-header {
    padding: 0.6rem;
  }
  
  .data-info-content.expanded {
    padding: 0 0.6rem 0.6rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 70px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-content {
    margin-top: 0;
    margin-bottom: auto;
    padding-top: 1rem;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .nav-menu {
    top: 55px;
  }
  
  .nav-brand a {
    font-size: 1.4rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-width: 120px;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0 5px;
  }
  
  .features-grid {
    gap: 0.8rem;
    margin-top: 0.5rem;
  }
  
  .feature-card {
    padding: 1rem 0.8rem;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .services {
    padding: 25px 0;
  }
  
  .services .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  
  .services-grid {
    gap: 0.6rem;
    margin-top: 0.8rem;
  }
  
  .service-card {
    padding: 1rem 0.8rem;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .service-card p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .about {
    padding: 30px 0;
  }
  
  .about .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  
  .about-description {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    padding: 0 3px;
  }
  
  .benefits-grid {
    gap: 0.6rem;
    margin-top: 0.8rem;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    padding: 0.6rem;
  }
  
  .benefit-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .benefit-content h4 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }
  
  .benefit-content p {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}

/* ============================================
   OVERFLOW PREVENTION & OPTIMIZATIONS
============================================ */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

section {
  overflow-x: hidden;
}

.hero-buttons {
  max-width: 100%;
  overflow-x: auto;
}

/* ============================================
   ANIMATIONS & INTERACTIONS
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}


.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-placeholder {
  background: linear-gradient(90deg, var(--light-gray) 25%, #e9ecef 50%, var(--light-gray) 75%);
  background-size: 200% 100%;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

a, button, .btn, .card, input, textarea, select {
  transition: var(--transition);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media print {
  .navbar,
  .hero-features,
  .scroll-indicator,
  .cta-section,
  .footer {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
  background: var(--light-gray);
  position: relative;
  z-index: 10;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.stars i {
  color: #c8a64a;
  font-size: 1.2rem;
}

.stars span {
  margin-left: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  overflow: hidden;
  position: relative;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: var(--navy);
  font-size: 1rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.google-badge i {
  font-size: 2rem;
  color: #4285f4;
}

.google-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.3rem;
}

.google-stars i {
  color: #c8a64a;
  font-size: 1rem;
}

.google-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Google Reviews Loading Animation */
.testimonials-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.testimonials-loading i {
  font-size: 2rem;
  color: var(--orange);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Google Reviews Enhanced Styling */
.testimonial-card .author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.testimonial-card .author-info .google-icon {
  color: #4285f4;
  font-size: 0.8rem;
  margin-right: 0.2rem;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .google-badge {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
  }
  
  .google-badge i {
    font-size: 1.5rem;
  }
}

/* Google Footer - Combined Attribution & Badge */
.google-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
  background: rgba(248, 249, 250, 0.5);
  gap: 2rem;
}

.google-attribution-left {
  flex: 1;
}

.google-attribution-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.google-attribution-info i {
  font-size: 1rem;
  color: #4285f4;
}

.google-attribution-info span:first-of-type {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}

.google-attribution-info .powered-by {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  margin-left: 0.5rem;
}

.google-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.google-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.8rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-action-link:hover {
  background: #4285f4;
  color: white;
  border-color: #4285f4;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.google-action-link i {
  font-size: 0.7rem;
}

.google-badge-right {
  flex-shrink: 0;
}

.google-badge-right .google-badge {
  margin: 0;
  padding: 1rem 1.5rem;
}

/* Responsive Google Footer */
@media (max-width: 768px) {
  .google-footer {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 1.5rem 0 0.5rem 0;
    text-align: center;
  }
  
  .google-attribution-left {
    width: 100%;
  }
  
  .google-attribution-info {
    justify-content: center;
    margin-bottom: 0.8rem;
  }
  
  .google-actions {
    justify-content: center;
    gap: 0.5rem;
  }
  
  .google-action-link {
    min-width: 140px;
    justify-content: center;
  }
  
  .google-badge-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}