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

:root {
    --primary-red: #da1d23;
    --white-bg: #FFFFFF;
    --light-section-bg: #F5F7FA;
    --main-text: #1F2937;
    --secondary-text: #6B7280;
    --dark-red: #b01619;
    --light-red: #ff4d52;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--main-text);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.header {
    background: var(--white-bg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-top {
    background: var(--light-section-bg);
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-text);
    font-size: 14px;
}

.header-info-item i {
    color: var(--primary-red);
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.header-main {
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.nav {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav a {
    color: var(--main-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--main-text);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    display: block;
}

.mobile-logo img {
    display: block;
    height: auto;
}

.mobile-menu-close {
    background: var(--light-section-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

.mobile-menu-contacts {
    padding: 20px;
    background: var(--light-section-bg);
}

.mobile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-contact-item:last-child {
    border-bottom: none;
}

.mobile-contact-item i {
    color: var(--primary-red);
    font-size: 18px;
    margin-top: 2px;
}

.mobile-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-contact-item a,
.mobile-contact-item span {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
}

.mobile-contact-item a:hover {
    color: var(--primary-red);
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--main-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--light-section-bg);
    color: var(--primary-red);
    transform: translateX(10px);
}

.mobile-menu-social {
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu-social a {
    width: 45px;
    height: 45px;
    background: var(--light-section-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    margin-top: 120px;
    background-image: url('../img/nebulizers-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--main-text);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f0f8ff21;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text-content {
    max-width: 700px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--main-text);
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
    animation: bounceIn 0.8s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 8px 25px rgba(218, 29, 35, 0.15);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
    color: var(--primary-red);
}

.stat-label {
    font-size: 15px;
    color: var(--secondary-text);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-red);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary-outline:hover {
    background: white;
    color: var(--primary-red);
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-light {
    background: var(--light-section-bg);
}

.section-white {
    background: var(--white-bg);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(218, 29, 35, 0.1);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--main-text);
}

.section-description {
    font-size: 18px;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

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

.about-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--main-text);
}

.about-content p {
    color: var(--secondary-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-list li:hover .feature-icon {
    transform: rotate(360deg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--light-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(218, 29, 35, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin-bottom: 25px;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--main-text);
}

.service-card p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(218, 29, 35, 0.15);
}

.product-featured {
    border: 3px solid var(--primary-red);
}

.product-image {
    height: 250px;
    background: var(--light-section-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: bounceIn 0.5s ease;
}

.product-badge.featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation: shine 2s ease-in-out infinite;
}

@keyframes bounceIn {
    from {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

@keyframes shine {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

.product-content {
    padding: 25px;
}

.product-category {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--main-text);
}

.product-content p {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-text);
    font-size: 14px;
}

.product-features li i {
    color: var(--primary-red);
    animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Why SSSAFE Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 29, 35, 0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin: 0 auto 20px;
    transition: transform 0.5s ease;
}

.why-card:hover .why-icon {
    transform: rotateY(360deg);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-text);
}

.why-card p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Quality Section */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quality-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 29, 35, 0.1);
}

.quality-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    margin: 0 auto 20px;
    transition: transform 0.5s ease;
}

.quality-item:hover .quality-icon {
    transform: rotate(360deg);
}

.quality-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-text);
}

.quality-item p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(218, 29, 35, 0.15);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: rotate(360deg);
}

.contact-card-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--main-text);
}

.contact-card-content p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.contact-card-content a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--dark-red);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--main-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(218, 29, 35, 0.1);
}

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

/* Footer */
.footer {
    background: var(--main-text);
    color: white;
    padding: 60px 20px 30px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-section-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

/* Product Slider Styles */
.slider-nav-btn {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-nav-btn:hover {
    background: var(--primary-red) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.slider-nav-btn:hover i {
    color: white !important;
}

.slider-thumb {
    transition: all 0.3s ease;
}

.slider-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(218, 29, 35, 0.3);
}

#mainSliderImage {
    transition: opacity 0.3s ease;
}

/* Product Slider Styles */
.slider-main-image img {
    transition: opacity 0.3s ease;
}

.slider-nav-btn:hover {
    background: white !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-thumb {
    transition: all 0.3s ease;
}

.slider-thumb:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Fixed Social Bar */
.social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-bar a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
}

.social-bar a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateX(-5px);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(218, 29, 35, 0.3);
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(218, 29, 35, 0.4);
}

.scroll-top.active {
    display: flex;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        margin-top: 120px;
        padding: 50px 20px;
        transform: none !important;
        margin-bottom: 0;
        min-height: 600px;
        background-size: cover;
        background-position: center;
    }

    .hero::before {
        background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 60%, transparent 100%);
    }

    .hero-text-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 10px 20px;
        margin-bottom: 25px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Четкое разделение секций */
    #about {
        position: relative;
        z-index: 10;
        background: var(--white-bg);
        margin-top: 0 !important;
        padding-top: 60px !important;
    }

    .section-header {
        position: relative;
        z-index: 10;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    section {
        padding: 60px 20px;
    }

    .header-top-content {
        display: none;
    }

    .social-bar {
        right: 10px;
    }

    .service-icon,
    .why-icon,
    .quality-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    /* Modal адаптация */
    .modal-content {
        padding: 25px;
        max-height: 85vh;
    }

    .modal-content > div {
        display: block !important;
    }

    .modal-content > div > div {
        margin-bottom: 30px;
    }

    .modal-content > div > div:last-child {
        margin-bottom: 0;
    }

    /* Технические характеристики на всю ширину */
    .modal-content > div > div:first-child > div:last-child {
        margin-bottom: 0;
    }

    /* Кнопки в модалке */
    .modal-content a.btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .header-info-item {
        font-size: 12px;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 20px 15px;
        margin: 0;
        border-radius: 16px;
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .modal-content h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }

    .modal-content h4 {
        font-size: 16px !important;
    }

    .modal-content p {
        font-size: 14px !important;
    }

    .modal-content li {
        font-size: 13px !important;
        padding: 10px 0 !important;
    }

    /* Кнопки в две строки на маленьких экранах */
    .modal-content > div > div:last-child > div:last-child > div {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal-content > div > div:last-child > div:last-child > div > a {
        flex: 1 !important;
        max-width: 100% !important;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .contact-cards {
        gap: 15px;
    }

    .contact-card {
        padding: 20px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .social-bar {
        /*display: none;*/
    }
}
