.elementor-14 .elementor-element.elementor-element-c11d870{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-14 .elementor-element.elementor-element-45958ce{width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-45958ce *//* Tartak CSS - Rich Content Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Placeholder image styles */
.icon-img {
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.service-icon .icon-img {
    width: 28px;
    height: 28px;
}

.why-icon .icon-img {
    width: 56px;
    height: 56px;
}

.contact-icon .icon-img {
    width: 28px;
    height: 28px;
}

.product-icon .icon-img {
    width: 48px;
    height: 48px;
}

.gallery-icon .icon-img {
    width: 48px;
    height: 48px;
}

.hero-badge .icon-img {
    width: 16px;
    height: 16px;
}

.about-visual-box .icon-img {
    width: 64px;
    height: 64px;
}

.eu-logo-img, .pl-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.eu-funding-note .icon-img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 360px) {
    .nav {
        margin: 5px;
        width: calc(100% - 10px);
        padding: 2px;
    }

    .nav a {
        font-size: 8px;
        padding: 3px 6px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    
    .section-header h2 {
        font-size: clamp(1rem, 6vw, 1.3rem);
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 12px;
        max-width: 250px;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .eu-funding-section {
        margin-top: 40px;
    }
    
    .eu-funding-card {
        padding: 20px 15px;
    }
    
    .eu-funding-header h4 {
        font-size: 1.1rem;
    }
    
    .eu-funding-content h5 {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .eu-funding-details p {
        font-size: 12px;
        margin: 5px 0;
    }
    
    .eu-funding-note {
        padding: 8px;
        gap: 6px;
    }
    
    .eu-funding-note span {
        font-size: 11px;
    }
    
    .eu-logo-img, .pl-logo-img {
        width: 20px;
        height: 20px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c1810;
    background: #fafafa;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 8px;
    margin-top: 30px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 110, 99, 0.2);
    transition: all 0.3s ease;
    max-width: calc(100vw - 40px);
    width: auto;
}

.nav:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.nav a {
    color: #8d6e63;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
}

.nav a:hover, 
.nav a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #8d6e63 0%, #a1887f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 110, 99, 0.4);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
  background: none !important;
}

.hero-section::before {
  content: none !important;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem) !important; 
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
}

.hero-button {
  background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
  color: #ffffff;
  padding: 20px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 12px 40px rgba(255, 143, 0, 0.4);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 143, 0, 0.6);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #2c1810;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
    font-weight: 400;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="transparent"/><circle cx="20" cy="20" r="1" fill="%23e0e0e0" opacity="0.3"/><circle cx="80" cy="80" r="1" fill="%23e0e0e0" opacity="0.3"/></svg>') repeat;
    background-size: 120px 120px;
    animation: subtleMove 30s linear infinite;
    opacity: 0.4;
}

@keyframes subtleMove {
    0% { background-position: 0 0; }
    100% { background-position: 120px 120px; }
}

.about-section .section-header h2 {
    color: #2c1810;
}

.about-section .section-header p {
    color: #6b7280;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.about-content {
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.about-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-visual-box {
    background: linear-gradient(135deg, #2c1810 0%, #5d4037 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(44, 24, 16, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-visual-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><rect width="60" height="60" fill="transparent"/><path d="M15 15L45 45M45 15L15 45" stroke="%23795548" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    animation: rotatePattern 20s linear infinite;
}

@keyframes rotatePattern {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.about-visual-box > * {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 143, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ff8f00;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: #2c1810;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* EU Funding Section */
.eu-funding-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.eu-funding-card {
    background: linear-gradient(135deg, #003d82 0%, #004494 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 61, 130, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.eu-funding-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.eu-funding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.eu-funding-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.eu-logos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eu-logo-img, .pl-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    backdrop-filter: blur(10px);
}

.eu-funding-content h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.eu-funding-details {
    margin-bottom: 25px;
}

.eu-funding-details p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.eu-funding-details strong {
    color: #ffffff;
    font-weight: 600;
}

.eu-funding-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.eu-funding-note .icon-img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.eu-funding-note span {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Us Section */
.why-section {
    background: linear-gradient(135deg, #2c1810 0%, #5d4037 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-section * {
    color: inherit;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 143, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 111, 0, 0.08) 0%, transparent 40%);
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.why-section .section-header h2 {
    color: #ffffff;
}

.why-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.why-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-item:hover::before {
    left: 100%;
}

.why-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 143, 0, 0.15);
    border-color: rgba(255, 143, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon {
    margin-bottom: 24px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.why-item:hover .why-icon {
    transform: scale(1.2) rotate(10deg);
}

.why-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.why-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 15px;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect width="80" height="80" fill="transparent"/><circle cx="40" cy="40" r="1" fill="%23e0e0e0" opacity="0.2"/></svg>') repeat;
    background-size: 80px 80px;
    animation: subtleMove 25s linear infinite;
    opacity: 0.5;
}

.services-section .section-header h2 {
    color: #2c1810;
}

.services-section .section-header p {
    color: #6b7280;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 143, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 143, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 143, 0, 0.15);
}

.service-icon {
    width: 280px;
    height: 220px;
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 143, 0, 0.4);
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #ffffff;
}

.process-section * {
    color: inherit;
}

.process-section .section-header h2 {
    color: #ffffff;
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #ff8f00;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Products Section */
.products-section {
    background: #f7f5f1;
}

.products-categories {
    margin-bottom: 60px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #5d4037;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button.active,
.tab-button:hover {
    background: #ff8f00;
    color: white;
    border-color: #ff8f00;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ff8f00;
    box-shadow: 0 15px 40px rgba(255, 143, 0, 0.2);
}

.product-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 280px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-description {
    color: #5d4037;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-specs {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    color: #5d4037;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #5d4037 0%, #4e342e 100%);
    color: #f5f5dc;
}

.gallery-section * {
    color: inherit;
}

.gallery-section .section-header h2 {
    color: #f5f5dc;
}

.gallery-section .section-header p {
    color: rgba(245, 245, 220, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: rgba(245, 245, 220, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(245, 245, 220, 0.2);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #ff8f00;
    background: rgba(255, 143, 0, 0.1);
}

.gallery-item:hover .gallery-icon img {
    transform: scale(1.1);
}

.gallery-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-icon img {
    transition: transform 0.3s ease;
}

.gallery-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-transform: uppercase;
}

/* Testimonials Section */
.testimonials-section {
    background: #f7f5f1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: #ff8f00;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    padding-top: 20px;
    color: #5d4037;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: #3e2723;
}

.testimonial-company {
    color: #ff8f00;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #2c1810 0%, #1a1a1a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-section * {
    color: inherit;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 143, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 111, 0, 0.06) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.contact-section .section-header h2 {
    color: #ffffff;
}

.contact-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 143, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 143, 0, 0.4);
    background: rgba(255, 143, 0, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 143, 0, 0.5);
}

.contact-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 3px 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Contact Form in Contact Section */
.contact-form-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
    height: 100%;
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
}

.contact-form-header p {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.6;
    font-size: 15px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form .form-group {
    position: relative;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    min-height: 44px;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #ff8f00;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.2);
    transform: translateY(-1px);
}

.contact-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
    color: #ffffff;
}

.contact-form select.form-control:invalid {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form select.form-control option {
    background-color: #2c1810 !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border: none;
    font-size: 14px;
    line-height: 1.4;
}

.contact-form select.form-control option:hover,
.contact-form select.form-control option:checked,
.contact-form select.form-control option:focus {
    background-color: #ff8f00 !important;
    color: #ffffff !important;
}

.contact-form select.form-control option[value=""] {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 10px 0;
}

.contact-form .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff8f00;
    cursor: pointer;
}

.contact-form .checkbox-group label {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.contact-form .checkbox-group a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.contact-form .checkbox-group a:hover {
    text-decoration: underline;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 143, 0, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
}

.contact-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-form .submit-btn:hover::before {
    left: 100%;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 143, 0, 0.5);
}

.contact-form .submit-btn:active {
    transform: translateY(0) scale(0.98);
}

.contact-form .form-note {
    background: rgba(255, 143, 0, 0.1);
    border: 1px solid rgba(255, 143, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.contact-form .form-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.4;
}

.contact-form .form-note strong {
    color: #ffc107;
    font-weight: 700;
}

.contact-form .form-note a {
    color: #ffc107;
    text-decoration: none;
}

.contact-form .form-note a:hover {
    text-decoration: underline;
}

/* Form Success/Error Messages - NAPRAWKA */
.contact-form .form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    font-size: 13px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-form .form-message.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    pointer-events: auto;
}

.contact-form .form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.contact-form .form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Simple Map Section */
.simple-map-section {
    background: #f5f5f5;
    padding: 60px 0;
    position: relative;
}

.simple-map-wrapper {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.simple-map-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#simple-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.simple-map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simple-map-control-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 143, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-map-control-btn:hover {
    background: #ff8f00;
    border-color: #ff8f00;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

.simple-map-control-btn svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    position: relative;
}

.footer * {
    color: inherit;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 143, 0, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.7;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-section a:hover {
    color: #ff8f00;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }
    
    .nav a {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 15px;
        max-width: 500px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 25px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    #simple-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: static;
        transform: none;
        margin: 10px;
        width: calc(100% - 20px);
        padding: 4px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }

    .nav a {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero-section {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
        margin-bottom: 18px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-button {
        padding: 14px 30px;
        font-size: 14px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .section-header p {
        font-size: 14px;
        max-width: 400px;
        line-height: 1.5;
    }

    .container {
        padding: 0 15px;
    }
    
    .about-content {
        padding: 25px 20px;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .about-visual-box {
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .eu-funding-card {
        padding: 30px 25px;
    }
    
    .eu-funding-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .eu-funding-header h4 {
        font-size: 1.3rem;
    }
    
    .eu-funding-content h5 {
        font-size: 1.1rem;
    }
    
    .eu-funding-details p {
        font-size: 14px;
    }
    
    .eu-funding-note {
        padding: 12px;
    }
    
    .eu-funding-note span {
        font-size: 13px;
    }
    
    .why-item {
        padding: 25px 20px;
    }
    
    .why-item h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-form-header h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .contact-form-header p {
        font-size: 14px;
    }
    
    .contact-form .form-control {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .contact-form .submit-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    #simple-map {
        height: 300px;
    }
    
    .simple-map-controls {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .nav {
        margin: 8px;
        width: calc(100% - 16px);
        padding: 3px;
    }

    .nav a {
        font-size: 9px;
        padding: 4px 8px;
        letter-spacing: 0.2px;
    }

    .hero-section {
        padding: 40px 10px;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-button {
        padding: 12px 25px;
        font-size: 13px;
    }

    .container {
        padding: 0 8px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .section-header p {
        font-size: 13px;
        max-width: 300px;
        line-height: 1.4;
    }
    
    .about-content {
        padding: 20px 15px;
    }
    
    .about-content h3 {
        font-size: 1.3rem;
        margin-bottom: 14px;
        line-height: 1.3;
    }
    
    .about-content p {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.6;
    }
    
    .about-visual-box {
        padding: 25px 15px;
        min-height: 220px;
    }
    
    .eu-funding-card {
        padding: 25px 20px;
    }
    
    .eu-funding-header h4 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .eu-funding-content h5 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .eu-funding-details p {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .eu-funding-note {
        padding: 10px;
        gap: 8px;
    }
    
    .eu-funding-note span {
        font-size: 12px;
    }
    
    .eu-logos {
        gap: 8px;
    }
    
    .eu-logo-img, .pl-logo-img {
        width: 24px;
        height: 24px;
    }
    
    .stat-item {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .why-item {
        padding: 20px 15px;
    }
    
    .why-item h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .why-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .contact-form-header h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .contact-form-header p {
        font-size: 13px;
    }
    
    .contact-form .form-control {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .contact-form .submit-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .contact-form .checkbox-group {
        gap: 6px;
    }
    
    .contact-form .checkbox-group label {
        font-size: 11px;
    }
    
    .contact-form .form-note p {
        font-size: 11px;
    }
    
    #simple-map {
        height: 250px;
    }
    
    .simple-map-controls {
        top: 10px;
        right: 10px;
    }
    
    .simple-map-control-btn {
        padding: 8px;
    }
    
    .simple-map-control-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Global improvements */
::selection {
    background: rgba(255, 143, 0, 0.2);
    color: #2c1810;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6f00 0%, #ff5722 100%);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 143, 0, 0.5);
}

/* Loading state */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

/* Better text rendering */
h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Improved hover effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 143, 0, 0.3);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Better focus states */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #ff8f00;
    outline-offset: 2px;
}

/* Improved transitions */
a, button, .card, .item {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}/* End custom CSS */