* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --primary-orange: #ea580c;
    --primary-yellow: #d97706;
    --white: #ffffff;
    --light-bg: #fafafa;
    --lighter-bg: #f8fafc;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border-light: #e5e7eb;
    --border-lighter: #f3f4f6;
    --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-fire: linear-gradient(135deg, #dc2626 0%, #ea580c 35%, #d97706 70%, #f59e0b 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-fire);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #c2410c 100%);
}

a {
  color: var(--primary-orange, #FF7300); /* Использует оранжевый акцент, либо fallback */
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--light-bg, #FF2E28);     /* Цвет при наведении */             /* По желанию можно оставить подчёркивание на hover */
}

a:active {
  color: var(--primary-red, #FF2E28);
}




main {
   margin: 1rem .2rem;
}
main p {
    margin-bottom: 1rem;
}
main h1, h2, h3 {
    margin-bottom: 1rem;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8px;
}

.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #shipping_postcode_field,
.woocommerce-checkout #shipping_state_field {
    display: none !important;
}
.ai-first-message {
    background: var(--gradient-fire);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1rem;
    font-weight: 700;
}
.mwai-messages-theme .mwai-conversation .mwai-reply {
    text-align: left !important;
}

/* Стилизация списка последних записей в сайдбаре */
.wp-block-latest-posts__list {
    background: var(--lighter-bg, #fff7f1);
    border-radius: var(--border-radius-xl, 16px);
    box-shadow: var(--shadow-soft, 0 1px 8px rgba(255,115,0,0.06));
    padding: 24px 20px 18px 20px;
    margin: 0 0 24px 0;
    list-style: none;
}

.wp-block-latest-posts__list li {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--divider-light, #ffe3c8);
    transition: background 0.15s;
}

.wp-block-latest-posts__list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wp-block-latest-posts__list a {
    color: var(--primary-orange, #ff7300);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px dashed var(--primary-orange, #ff7300);
    padding-bottom: 2px;
}

.wp-block-latest-posts__list a:hover,
.wp-block-latest-posts__list a:focus {
    color: var(--primary-red, #ff2e28);
    border-bottom: 2px solid var(--primary-red, #ff2e28);

}

/* Если есть даты публикаций */
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.95em;
    color: var(--text-light, #a77a54);
    margin-top: 4px;
    font-weight: 400;
}

/* Modern Header */
.header {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-medium);
    border-bottom-color: var(--border-lighter);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--primary-red);
    background: var(--light-bg);
}

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

.consultation-btn {
    background: var(--gradient-fire);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consultation-btn:hover {
    transform: none;
    box-shadow: var(--shadow-medium);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.mobile-menu-toggle:hover {
    background: var(--light-bg);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    overflow: hidden;
    background: var(--white);
    padding-top: 80px; /* Space for fixed header */
}

.hero::before {
    /* Removed custom gradient, mockup is very clean white */
    content: none; /* Remove entirely or set to transparent */
}

.hero-banner {
    position: absolute; /* Changed to absolute to cover the entire hero area */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content */
    pointer-events: none; /* Allows clicks to pass through to elements below */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05; /* Very subtle background */
    /* mix-blend-mode: overlay; /* Keep if subtle texture is desired */
}

/* New: Blurred background elements */
.hero-element-bg {
    position: absolute;
    z-index: 1; /* Behind main content */
    filter: blur(8px);
    opacity: 0.2;
    pointer-events: none;
    transform-origin: center center; /* For animations */
    animation: heroFloat 8s ease-in-out infinite alternate; /* Re-use a generic float */
}

.hero-element-bg-1 { /* Top left */
    top: 10%;
    left: 5%;
    width: 100px;
    transform: rotate(15deg);
    animation-delay: 0s;
}
.hero-element-bg-2 { /* Top right */
    top: 15%;
    right: 8%;
    width: 120px;
    transform: rotate(-25deg);
    animation-delay: 1.5s;
}
.hero-element-bg-3 { /* Bottom left */
    bottom: 20%;
    left: 12%;
    width: 90px;
    transform: rotate(-5deg);
    animation-delay: 3s;
}
.hero-element-bg-4 { /* Bottom right */
    bottom: 10%;
    right: 5%;
    width: 110px;
    transform: rotate(30deg);
    animation-delay: 4.5s;
}
.hero-element-bg-5 { /* Center-ish */
    top: 50%;
    left: 50%;
    width: 100px;
    transform: translate(-50%, -50%) rotate(0deg);
    animation-delay: 6s;
}

@keyframes heroFloat {
    0% { transform: translateY(0px) rotate(var(--initial-rotation, 0deg)); }
    100% { transform: translateY(-15px) rotate(calc(var(--initial-rotation, 0deg) + 5deg)); }
}
/* Set custom properties for initial rotation */
.hero-element-bg-1 { --initial-rotation: 15deg; }
.hero-element-bg-2 { --initial-rotation: -25deg; }
.hero-element-bg-3 { --initial-rotation: -5deg; }
.hero-element-bg-4 { --initial-rotation: 30deg; }
.hero-element-bg-5 { --initial-rotation: 0deg; }

/* NEW: Main hero tubes (moved to hero-banner) */
.hero-tube-main {
    position: absolute; /* Positioned relative to .hero-banner */
    z-index: 4; /* Below title, above badges/lines, but on top of blurred elements */
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    transition: var(--transition-smooth); /* For hover effects if any */
    pointer-events: auto; /* Allow interaction for these main tubes */
}

.hero-tube-main-red { /* Left tube */
    width: 180px;
    top: 25%;
    left: 10%;
    transform: rotate(-25deg);
}

.hero-tube-main-orange { /* Middle stacked tubes */
    width: 220px;
    top: 15%;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
}

.hero-tube-main-yellow { /* Right tube */
    width: 150px;
    top: 30%;
    right: 15%;
    transform: rotate(35deg);
}

.hero-container {
    position: relative; /* Essential for absolute positioning of children */
    width: 100%;
    height: 100%;
    display: flex; /* Helps center hero-content if it's smaller than container */
    justify-content: center;
    align-items: center;
    z-index: 2; /* Above hero-banner */
}

.hero-content {
    position: relative; /* This is the positioning context for title, badges, and SVG */
    width: 100%;
    max-width: 1200px; /* Max width for the core content area */
    height: 600px; /* Define a height for the content area to position elements */
    display: flex; /* For centering the PRF title */
    justify-content: center;
    align-items: center;
    z-index: 3; /* Above hero-container */
    /* Add padding if needed to prevent elements from going to the very edge */
    padding: 20px;
}

/* New styles for the PRF logo image */
.hero-title-image {
    position: absolute;
    width: 700px; /* Default width for desktop */
    max-width: 90%; /* Ensure responsiveness */
    height: auto;
    z-index: 5; /* Ensure it's on top */
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering trick */
    transition: var(--transition-smooth);
    object-fit: contain;
}

/* Badges - Now positioned absolutely relative to .hero-content */
.hero-content .badge {
    position: absolute;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 4; /* Below tubes, above SVG lines */
}

.hero-content .badge:hover {
    box-shadow: var(--shadow-large);
}

/* Specific badge positions from mockup */
#badge-healing { /* Left badge: Заживление без осложнений */
    bottom: 10%;
    left: 5%;
    border-color: var(--primary-red);
}

#badge-standard { /* Right top badge: Золотой стандарт регенеративной медицины */
    top: 5%;
    right: 8%;
    border-color: var(--primary-orange);
}

#badge-natural { /* Right bottom badge: Естественное омоложение без химии */
    bottom: 5%;
    right: 20%;
    border-color: var(--primary-yellow);
}

/* SVG for connections */
.hero-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Below tubes and badges */
    pointer-events: none; /* Allows clicks to pass through */
    overflow: visible; /* Ensure paths are not clipped */
}

/* Remove old hero-element styles entirely as they are no longer used for main tubes */
/* .hero-element {
    display: none !important;
} */
/* Ensure old keyframe animations are removed for hero-element classes */
/* @keyframes heroFloat1 { opacity: 0; display: none; }
@keyframes heroFloat2 { opacity: 0; display: none; }
@keyframes heroFloat3 { opacity: 0; display: none; } */

/* Technology Section - Modern Redesign */
.technology {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.technology .container {
    position: relative;
    z-index: 2;
}

.technology .section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient-fire);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.technology .section-title::after {
    display: none;
}

.tech-hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-lighter);
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fire);
}

.tech-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.tech-benefits-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tech-tag {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-fire);
    transition: left 0.3s ease;
    z-index: 1;
}

.tech-tag span {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-size: .6rem;
}

.tech-tag:hover {
    transform: scale(1.05);
    border-color: var(--primary-red);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.2);
}

.tech-tag:hover::before {
    left: 0;
}

.tech-tag:hover span {
    color: white;
}

.tech-tag.red {
    border-color: var(--primary-red);
}

.tech-tag.orange {
    border-color: var(--primary-orange);
}

.tech-tag.yellow {
    border-color: var(--primary-yellow);
}

.tech-specialization {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.tech-spec-card {
    background: white;
    border-radius: var(--border-radius-2xl);
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-lighter);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.tech-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-fire);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.tech-spec-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

.tech-spec-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-spec-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    font-weight: 600;
}

.tech-spec-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tech-benefit-tag {
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.tech-benefit-tag:hover {
    transform: scale(1.05);
}

.tech-spec-card.dentistry .tech-benefit-tag:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.tech-spec-card.cosmetology .tech-benefit-tag:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.tech-spec-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
}

.tech-spec-cta {
    background: var(--gradient-fire);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.tech-spec-cta:hover {
    transform: none;
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

/* New What is PRF Section */
.what-is-prf {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Space from previous section */
}

.what-is-prf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(220, 38, 38, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(234, 88, 12, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.what-is-prf .container {
    position: relative;
    z-index: 2;
}

.what-is-prf .section-title {
    margin-bottom: 80px;
    font-size: 3rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    background: var(--gradient-fire);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

.what-is-prf .section-title::after {
    display: none;
}

.what-is-prf-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Visual column, then info column */
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    padding: 50px;
}

.prf-main-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1; /* Make it square */
    min-height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: var(--border-radius-2xl);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--primary-red);
    overflow: hidden;
    animation: pulseBorder 3s infinite ease-in-out;
    transform: scale(0.95);
    transition: transform 0.5s var(--transition-bounce);
}

.prf-main-visual:hover {
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@keyframes pulseBorder {
    0%, 100% { border-color: var(--primary-red); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    50% { border-color: var(--primary-orange); box-shadow: 0 0 0 15px rgba(234, 88, 12, 0.2); }
}

.main-logo {
    width: 90%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    transition: var(--transition-bounce);
    animation: rotateLogo 20s linear infinite;
    position: relative;
    z-index: 10;
}

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

.main-logo:hover {
    transform: scale(1.08) rotate(5deg);
    animation-play-state: paused;
}

.visual-text-overlay {
    position: absolute;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 28px;
    border-radius: 50px;
    font-weight: 800;
    color: var(--primary-red);
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-red);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: fadeInUpWithScale 1s forwards 1s;
    z-index: 11;
}

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

.visual-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.3) 0%, rgba(234, 88, 12, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: glowPulse 4s infinite alternate;
    z-index: 5;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.prf-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prf-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    background: var(--lighter-bg);
    padding: 25px 30px;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-lighter);
    box-shadow: var(--shadow-soft);
}

.prf-description-top {
    border-left: 5px solid var(--primary-red);
}

.prf-description-bottom {
    border-left: 5px solid var(--primary-orange);
}

.prf-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: var(--transition-bounce);
    flex-direction: row;
    text-align: left;
}

.feature-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
    background: var(--lighter-bg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: var(--transition-smooth);
    background: var(--primary-red);
    padding: 10px;
    border-radius: 12px;
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255,255,255,0.2));
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary-orange);
}

.feature-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}
@media (max-width: 768px) {
.hero-banner {
    padding: 70px 0;
    }
}
/* Services Section */
.services {
    padding: 50px 0;
    background: var(--light-bg);
}
@media (max-width: 768px) {
    .services {
       padding: 20px 0; 
    }
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 60px;
    align-items: center;
}

.service-item {
    text-align: center;
    padding: 40px 40px;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.service-item:hover {
    box-shadow: var(--shadow-large);
}

.service-item h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.btn-red {
    background: var(--primary-red);
}

.btn-red:hover {
    background: #b91c1c;
    transform: none;
}

.btn-orange {
    background: var(--primary-orange);
}

.btn-orange:hover {
    background: #c2410c;
    transform: none;
}

.service-divider {
    width: 2px;
    height: 200px;
    background: var(--gradient-fire);
    margin: 0 auto;
    border-radius: 1px;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-fire);
    border-radius: 2px;
}

.section-subtitle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle-icon {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* NEW Advantages Section Styling */
.advantages-section {
    position: relative;
    overflow: hidden;
}



.advantages-section .container {
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.advantage-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-medium);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-fire);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.advantage-item:hover {
    box-shadow: var(--shadow-large);
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--lighter-bg);
    border-radius: 50%;
    border: 2px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.advantage-item:hover .advantage-icon-wrapper {
    border-color: transparent;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: var(--transition-smooth);
}


.advantage-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.advantage-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* For Business Block */
.for-business-block {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--border-radius-2xl);
    border: 1px solid var(--border-lighter);
    margin: 0 auto;
    transition: var(--transition-smooth);
}


.for-business-block .section-title {
    font-size: 3rem;
    margin-bottom: 30px;
    background: var(--gradient-fire);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none; /* Remove section-title filter */
}

.for-business-block .section-title::after {
    display: none;
}

.for-business-block .tech-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.for-business-block .tech-benefits-tags {
    margin-bottom: 40px;
    gap: 12px;
}

.for-business-block .tech-tag {
    font-size: 13px;
    padding: 10px 20px;
    border-width: 1px;
}

.tech-cta-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* SEO Section */
.seo-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(234, 88, 12, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.seo-section .container {
    position: relative;
    z-index: 2;
}

.seo-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.seo-section .section-title::after {
    background: var(--gradient-fire);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    text-align: left;
    padding: 40px;
}

.seo-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

.seo-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seo-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition-bounce);
}

.seo-image img:hover {
    transform: scale(1.08) rotate(5deg);
}

/* Products Section specific styles */
.product-item {
    position: relative; /* Needed for absolute positioning of labels */
    overflow: hidden; /* To keep labels within bounds */
}

.product-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    z-index: 10;
}

.product-label {
    background: var(--primary-red);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
}

.product-label.new {
    background: var(--primary-orange);
}

.product-label.sale {
    background: var(--primary-yellow);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.product-price .old-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product-item img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-item:hover img {
    transform: scale(1.02);
}

.product-description {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 16px; /* Reduced margin to accommodate price */
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

}
.product-description a {
    color: #111;
}
.product-description a::hover {
    color: #999;
}
/* History Section */
.history-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}


.history-section .container {
    position: relative;
    z-index: 2;
}

.history-section .section-title {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
    margin-bottom: 80px;
}

.history-section .section-title::after {
    background: var(--gradient-fire);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 280px;
    left: 50%;
    margin-left: -2px; /* Centers a 4px wide border on the 50% mark */
    border-left: 4px dashed var(--primary-red); /* Changed to dashed line */
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    background: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item.animated-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--gradient-fire);
    border-radius: 50%;
    border: 4px solid var(--white);
    z-index: 1;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
    /* Adjusted for precise alignment on 50% mark */
    left: calc(100% - 12px); /* Position from the item's right edge */
    right: auto; /* Reset right property */
    top: 30px;
    transform: none; /* Remove translateX to allow direct left positioning */
}

.timeline-item:nth-child(even) .timeline-dot {
    /* Adjusted for precise alignment on 50% mark */
    left: -12px; /* Position from the item's left edge */
    top: 30px;
    transform: none; /* Remove translateX to allow direct left positioning */
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.2);
}

.timeline-date {
    background: var(--white);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid var(--primary-red);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-date {
    background: var(--primary-red);
    color: white;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-large);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 50px 0;

}

.products-grid-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1400px;
}

.product-item {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.product-item:hover {
    box-shadow: var(--shadow-large);
}

.product-image-container {
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.product-item img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.product-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 16px; /* Reduced margin to accommodate price */
    min-height: 100px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
}


.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section .section-title {
    margin-bottom: 60px;
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.faq-section .section-title::after {
    background: var(--gradient-fire);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-large);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    position: relative;
}

.faq-question:hover {
    background: var(--lighter-bg);
}

.faq-question h3 {
    margin: 0;
    flex-grow: 1;
    padding-right: 20px;
    font-family: 'Manrope', sans-serif;
}

.faq-icon {
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    min-width: 25px;
    text-align: center;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg); /* Change '+' to 'x' */
}

.faq-answer {
    padding: 0 30px;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer.active {
    max-height: 600px; /* Adjust as needed for content height */
    padding: 20px 30px 25px; /* Adjust bottom padding */
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #e5e7eb;
    padding: 80px 0 40px;
    font-size: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative; /* Added for ::after */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-fire);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-section ul li:hover {
    transform: translateX(8px);
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: white;
}

.footer-logo .logo-footer {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.footer-logo .logo-footer:hover {
    transform: scale(1.05);
}

.footer-logo .footer-tagline {
    color: #d1d5db;
    line-height: 1.6;
    font-style: italic;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #374151;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #374151;
    color: #d1d5db;
    font-size: 1rem;
}

/* Mobile Styles */
.desktop-consultation-btn {
    display: block;
}

.mobile-consultation-btn {
    display: none; /* Hidden on desktop */
}

.mobile-contact-info {
    display: none; /* Hidden on desktop */
}

@media (max-width: 992px) {
    .header-content {
        height: 70px; /* Slightly smaller header on mobile/tablet */
    }

    .logo img {
        height: 35px; /* Adjust logo size */
    }

    .desktop-consultation-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001; /* Ensure toggle is above overlay */
    }

    .nav {
        position: fixed;
        top: 70px; /* Match header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px); /* Fill remaining viewport */
        background: rgba(255, 255, 255, 0.98); /* Semi-transparent background */
        backdrop-filter: blur(15px); /* Blur effect */
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Align content to top */
        padding: 30px 24px; /* Reduced padding for tablets */
        overflow-y: auto; /* Enable scrolling for long content */
        transform: translateX(100%); /* Start off-screen to the right */
        opacity: 0; /* Also fade out */
        pointer-events: none; /* Prevent interaction when hidden */
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease-out;
        box-shadow: var(--shadow-large);
        border-top: 1px solid var(--border-light);
    }

    .nav.active {
        transform: translateX(0%); /* Slide in */
        opacity: 1; /* Fade in */
        pointer-events: auto; /* Enable interaction */
    }

    .nav-list {
        flex-direction: column;
        gap: 20px; /* Smaller gap for mobile */
        width: 100%; /* Take full width */
        margin-bottom: 30px; /* Space before contact info */
    }

    .nav-list li {
        width: 100%; /* Make list items take full width */
        text-align: center;
    }

    .nav-link {
        padding: 15px 0; /* Larger touch area */
        font-size: 1.2rem; /* Larger font size */
        border-radius: 0; /* Remove rounded corners */
        border-bottom: 1px solid var(--border-lighter); /* Add subtle divider */
        /* Ensure no hover underline animation on mobile */
        background: none;
        color: var(--text-dark);
    }
    .nav-link::after {
        display: none; /* Remove underline animation for mobile */
    }
    .nav-link:hover {
        background: var(--light-bg);
        color: var(--primary-red);
    }

    .mobile-contact-info {
        display: flex; /* Make them flex containers for better layout */
        flex-direction: column;
        width: 100%;
        max-width: 300px; /* Limit width */
        margin: 0 auto 20px auto; /* Center and add margin */
        text-align: center;
        background: var(--lighter-bg);
        padding: 20px;
        border-radius: var(--border-radius-xl);
        box-shadow: var(--shadow-soft);
        border: 1px solid var(--border-light);
    }

    .mobile-contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--text-dark);
        font-weight: 700;
    }

    .mobile-contact-info p {
        font-size: 1rem;
        color: var(--text-light);
        margin-bottom: 10px;
    }

    .mobile-contact-info a {
        color: var(--primary-red);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition-smooth);
    }

    .mobile-contact-info a:hover {
        color: var(--primary-orange);
    }

    .mobile-social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .mobile-social-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-red);
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bold;
        transition: var(--transition-smooth);
    }

    .mobile-social-icon:hover {
        background: var(--primary-orange);
        transform: none;
    }

    .mobile-consultation-btn {
        display: block; /* Make sure it's block to take full width */
        font-size: 14px; /* Slightly larger for mobile */
        padding: 15px 25px;
        margin-top: 20px;
        width: 100%;
        max-width: 320px; /* Limit width */
        margin-left: auto;
        margin-right: auto;
    }

    /* Staggered animation for menu items */
    .nav.active .nav-list li,
    .nav.active .mobile-contact-info,
    .nav.active .mobile-consultation-btn {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInSlideUp 0.5s ease-out forwards;
    }

    .nav.active .nav-list li:nth-child(1) { animation-delay: 0.1s; }
    .nav.active .nav-list li:nth-child(2) { animation-delay: 0.15s; }
    .nav.active .nav-list li:nth-child(3) { animation-delay: 0.2s; }
    .nav.active .nav-list li:nth-child(4) { animation-delay: 0.25s; }
    .nav.active .nav-list li:nth-child(5) { animation-delay: 0.3s; }
    /* Ensure the delays are sequential for all mobile menu elements */
    .nav.active .mobile-contact-info { animation-delay: 0.4s; }
    .nav.active .mobile-consultation-btn { animation-delay: 0.5s; }

    /* Hero Section */
    .hero-title-image {
        width: 500px; /* Adjust for tablet */
    }

    .hero-content {
        height: 500px; /* Adjust height for tablet */
    }

    /* Main tubes */
    .hero-tube-main-red {
        width: 140px;
        top: 20%;
        left: 5%;
    }
    .hero-tube-main-orange {
        width: 180px;
        top: 10%;
        left: 50%;
    }
    .hero-tube-main-yellow {
        width: 120px;
        top: 25%;
        right: 8%;
    }

    .hero-content .badge {
        font-size: 13px;
        padding: 12px 20px;
    }

    #badge-healing {
        bottom: 8%;
        left: 3%;
    }
    #badge-standard {
        top: 3%;
        right: 5%;
    }
    #badge-natural {
        bottom: 3%;
        right: 15%;
    }

    /* Adjust blurred background elements */
    .hero-element-bg {
        filter: blur(6px);
        opacity: 0.15;
    }
    .hero-element-bg-1 { width: 80px; }
    .hero-element-bg-2 { width: 100px; }
    .hero-element-bg-3 { width: 70px; }
    .hero-element-bg-4 { width: 90px; }
    .hero-element-bg-5 { width: 80px; }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr; /* Stack services vertically */
        gap: 40px;
    }

    .service-divider {
        width: 80%; /* Make divider horizontal */
        height: 2px;
        margin: 0 auto;
    }

    /* Technology Section */
    .technology .section-title {
        font-size: 1.8rem; /* Scale down section titles */
        line-height: 2.2rem;
    }

    .tech-hero-subtitle {
        font-size: 1.3rem; /* Scale down subtitle */
        margin-bottom: 30px;
    }

    .tech-hero {
        padding: 40px 30px; /* Adjust padding */
    }

    .tech-specialization {
        grid-template-columns: 1fr; /* Stack specialization cards */
        gap: 30px;
    }

    .tech-spec-card {
        padding: 40px 30px; /* Adjust padding */
    }

    .tech-spec-title {
        font-size: 1.8rem;
    }

    .tech-spec-subtitle {
        font-size: 1.1rem;
    }

    /* What is PRF Section */
    .what-is-prf .section-title {
        font-size: 3rem;
        margin-bottom: 60px;
    }
    .what-is-prf-grid {
        grid-template-columns: 1fr; /* Stack on tablets */
        gap: 40px;
        padding: 40px;
    }
    .prf-main-visual {
        min-height: 350px;
        max-width: 500px; /* Constrain visual width */
        margin: 0 auto; /* Center it */
        padding: 25px;
    }
    .main-logo {
        width: 80%;
    }
    .visual-text-overlay {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    .visual-glow {
        filter: blur(30px);
    }
    .prf-info-section {
        gap: 25px;
    }
    .prf-description {
        font-size: 1.1rem;
        padding: 20px 25px;
    }
    .prf-features-list {
        grid-template-columns: 1fr; /* Stack features on tablets */
        gap: 15px;
    }
    .feature-item {
        padding: 18px;
        gap: 12px;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        padding: 8px;
    }
    .feature-item p {
        font-size: 0.95rem;
    }

    /* Advantages Section */
    .section-subtitle-container {
        flex-direction: column; /* Stack icon and title */
        gap: 15px;
    }

    .section-subtitle {
        font-size: 2rem; /* Scale down */
        text-align: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr; /* Two columns */
        gap: 20px;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    .advantage-item h4 {
        font-size: 1.3rem;
    }
    
    .advantage-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .advantage-icon {
        width: 45px;
        height: 45px;
    }

    /* For Business Block (Tech CTA) */
    .for-business-block {
        padding: 20px 20px;
    }
    .for-business-block .section-title {
        font-size: 2.5rem;
    }
    .for-business-block .tech-hero-subtitle {
        font-size: 1.2rem;
    }
    .tech-cta-description {
        font-size: 1rem;
    }

    /* SEO Section */
    .seo-section .section-title {
        font-size: 2.8rem;
    }

    .seo-content-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 30px;
        padding: 40px;
    }

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

    /* History Section */
    .timeline::after {
        left: 20px; /* Move timeline line to the left */
        margin-left: 0;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%; /* Full width */
        padding-left: 30px; /* Indent content for the line */
        padding-right: 0; /* Remove right padding */
        text-align: left; /* Align all text left */
        left: 0; /* Ensure items start from left */
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-dot {
        left: -15px;/* Align dot to the new line position */
        top: 30px;
        transform: none; /* Remove any previous transforms */
    }

    /* Products Section */
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
        gap: 20px;
    }

    .product-image-container {
        height: 280px; /* Adjust image height */
        margin-bottom: 20px;
    }
    
    .product-item {
        padding: 30px 20px;
    }

    .product-description {
        min-height: 70px; /* Slightly less min-height */
    }

    .product-price {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    /* FAQ Section */
    .faq-section .section-title {
        font-size: 1.8rem;
    }
    .faq-question {
        font-size: 1.15rem;
        padding: 20px 25px;
    }
    .faq-icon {
        font-size: 1.8rem;
    }
    .faq-answer.active {
        padding: 15px 25px 20px;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
        gap: 30px;
    }

    .footer-section h3 {
        margin-bottom: 18px;
    }

    .footer-section h3::after {
        width: 30px; /* Smaller underline */
    }
}

@media (min-width: 992px) {
    /* What is PRF desktop specific adjustments for features list */
    .prf-features-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title-image {
        width: 400px; /* Adjust for phone */
    }

    .hero-content {
        height: 400px; /* Adjust height for phone */
        padding: 15px;
    }

    /* Main tubes */
    .hero-tube-main-red {
        width: 100px;
        top: 20%;
        left: 0%; /* More to edge */
    }
    .hero-tube-main-orange {
        width: 140px;
        top: 10%;
        left: 50%;
    }
    .hero-tube-main-yellow {
        width: 90px;
        top: 25%;
        right: 0%; /* More to edge */
    }

    .hero-content .badge {
        font-size: 12px;
        padding: 10px 15px;
    }

    #badge-healing {
        bottom: 5%;
        left: 0%;
    }
    #badge-standard {
        top: 0%;
        right: 0%;
    }
    #badge-natural {
        bottom: 0%;
        right: 10%;
    }

    /* Adjust blurred background elements */
    .hero-element-bg {
        filter: blur(4px);
        opacity: 0.1;
    }
    .hero-element-bg-1 { width: 60px; }
    .hero-element-bg-2 { width: 80px; }
    .hero-element-bg-3 { width: 50px; }
    .hero-element-bg-4 { width: 70px; }
    .hero-element-bg-5 { width: 60px; }

    /* Services Section */
    .services-grid {
        gap: 30px;
    }
    .service-item {
        padding: 20px 20px;
    }
    .service-item h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .service-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .section-title,
    .history-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .section-title::after,
    .history-section .section-title::after {
        width: 50px;
        bottom: -12px;
    }

    .tech-hero {
        padding: 30px 20px;
    }
    .tech-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .tech-tag {
        font-size: 12px;
        padding: 10px 18px;
    }
    .tech-specialization {
        gap: 20px;
    }
    .tech-spec-card {
        padding: 25px 15px;
    }
    .tech-spec-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .tech-spec-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .tech-spec-benefits {
        gap: 8px;
        margin-bottom: 20px;
    }
    .tech-spec-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .tech-spec-cta {
        padding: 12px 24px;
        font-size: 12px;
    }

    .what-is-prf .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .what-is-prf-grid {
        padding: 20px;
        gap: 30px;
    }
    .prf-main-visual {
        min-height: 280px;
        padding: 15px;
    }
    .main-logo {
        width: 70%;
    }
    .visual-text-overlay {
        font-size: 0.8rem;
        padding: 10px 15px;
        bottom: 20px;
    }
    .visual-glow {
        filter: blur(25px);
    }
    .prf-info-section {
        gap: 20px;
    }
    .prf-description {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .feature-item {
        padding: 15px;
        gap: 10px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 6px;
    }
    .feature-item p {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
    .subtitle-icon {
        height: 35px;
    }

    /* For Business Block (Tech CTA) */
    .for-business-block .section-title {
        font-size: 2rem;
    }
    .for-business-block .tech-hero-subtitle {
        font-size: 1rem;
    }

    /* SEO Section */
    .seo-section .section-title {
        font-size: 2rem;
    }
    .seo-content-grid {
        padding: 10px;
    }
    .seo-text p {
        font-size: 0.9rem;
    }

    .timeline-item {
        padding-left: 50px;
    }
    .timeline::after {
        left: 15px;
    }
    .timeline-dot {
        left: 5px;
    }
    .timeline-content {
        padding: 20px;
    }
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    .timeline-content p {
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: 1fr; /* Single column for phones */
        gap: 15px;
    }
    .product-item {
        padding: 20px 15px;
    }
    .product-image-container {
        height: 280px;
    }
    .product-description {
        min-height: 50px; /* Slightly less min-height */
    }
    .product-price {
        font-size: 1rem;
    }
    .product-price .old-price {
        font-size: 0.8rem;
    }
    .service-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* FAQ Section */
    .faq-section .section-title {
        font-size: 2rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
    .faq-icon {
        font-size: 1.5rem;
    }
    .faq-answer.active {
        padding: 12px 20px 18px;
    }
    .faq-answer p {
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Stack footer sections */
        text-align: center;
        gap: 25px;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-section ul li:hover {
        transform: none; /* Remove translateX on hover for mobile */
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }
}


/* Loading and interaction states */
body:not(.loaded) * {
    animation-play-state: paused !important;
}

body.menu-open {
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}