* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;  
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
body {
    min-height: 100vh;
}

.top-header {
    position: relative;
    height: 750px;
    background-image: url("img/image.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.top-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 41, 0.616);
    z-index: 0;
}

.top-header-content {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.top-header h1 {
    font-size: 18px;
    font-weight: normal;
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 700px;
    z-index: 2;
    color: white;
    padding: 20px;
}

.hero-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
    color: #eee;
}

.hero-content .button {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.hero-content .button:hover {
    background-color: #1565c0;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0;
}

.button {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #1565c0;
}

.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.company-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.company-text {
    flex: 1;
}

.company-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.info-block {
    flex: 1;
}

.info-block h4 {
    color: #333;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 10px;
}

.info-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.activities-section {
    background-color: #1e88e5;
    color: white;
    padding: 60px 20px;
}

.activities-content {
    max-width: 1200px;
    margin: 0 auto;
}

.activities-content h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.activity-category {
    margin-bottom: 30px;
}

.activity-category h4 {
    margin-bottom: 15px;
}

.activity-list {
    list-style: none;
}

.activity-list li {
    margin-bottom: 10px;
}

.advantages-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.advantages-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.advantage-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.advantage-text {
    flex: 1;
    min-width: 300px;
}

.advantage-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.features-section {
    background-color: #1e88e5;
    color: white;
    padding: 60px 20px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.feature-title {
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-description {
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    position: relative;
    background-image: url('img/2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.4));
    z-index: 1;
}


.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.cta-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111;
}


.cta-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.cta-content .button {
    background-color: #1e88e5;
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-content .button:hover {
    background-color: #1565c0;
}

.footer {
    background-color: #2c323c;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 12px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.342);
}

.footer-nav {
    display: flex;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: center;
    }

    .main-nav a {
        margin: 5px 0;
    }

    .company-info,
    .advantages-content,
    .features-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
    display: block;
    will-change: transform, opacity;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-section.improved {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}
/* Стили для информационного блока */
.info-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-content h3 {
    color: #1e88e5;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.4;
}

.info-content p {
    line-height: 1.7;
    color: #444;
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-info-block {
    background-color: #f5f7fa;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.contact-info-block::before {
    content: "📞";
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #1e88e5;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.contact-info-block p {
    margin-bottom: 15px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-block p:last-child {
    margin-bottom: 0;
}

.contact-info-block strong {
    color: #1e88e5;
    font-weight: 600;
}

.info-content p:last-child {
    font-style: italic;
    color: #666;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #1e88e5;
    border-radius: 0 5px 5px 0;
    margin-bottom: 0;
    font-size: 14px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .info-section {
        padding: 40px 15px;
    }
    
    .info-content {
        padding: 25px;
    }
    
    .info-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-info-block {
        padding: 20px;
        margin: 20px 0;
    }
    
    .contact-info-block::before {
        top: -12px;
        left: 15px;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .contact-info-block p {
        font-size: 14px;
    }
    
    .info-content p:last-child {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .info-content h3 {
        font-size: 18px;
        text-align: left;
    }
    
    .contact-info-block {
        padding: 15px;
    }
    
    .info-content p {
        font-size: 15px;
    }
}
.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
    font-size: 16px;
}

.about-button {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
}

.about-button .button {
    padding: 14px 28px;
    font-size: 14px;
    background-color: #1e88e5;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.about-button .button:hover {
    background-color: #43a047;
}



.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 20px;
}

.features-section.image-icons {
    background-color: #ffffff;
    color: #000000;
    padding: 60px 20px;
}

.features-section.image-icons .feature-card {
    background-color: transparent;
    text-align: left;
    align-items: flex-start;
}

.features-section.image-icons .feature-description {
    color: #444;
}

/* Consumer page specific styles */
.consumer-header {
    background-image: url("img/5.jpg");
}

.consumer-hero {
    max-width: 800px;
}

.consumer-hero h2 {
    font-size: 36px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.date-badge {
    display: inline-block;
    background-color: #1e88e5;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.consumer-content {
    padding: 60px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.info-text p {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-methods h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.method-card {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.method-icon {
    margin-bottom: 15px;
}

.method-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.method-card h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 18px;
}

.method-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: #1e88e5;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #1e88e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 1;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.rules-section {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
}

.rules-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.rules-list {
    list-style-type: none;
}

.rules-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.rules-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-weight: bold;
}
.main-nav a.active:after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .consumer-hero h2 {
        font-size: 28px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline:before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Additional styles for regulations content */
.intro-text {
    max-width: 1200px;
    margin: 0 auto 20px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.authority-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.authority-list li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.legal-info {
    max-width: 1200px;
    margin: 0 auto 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.legal-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.legal-info p {
    line-height: 1.8;
    color: #444;
}

.regulations {
    max-width: 1200px;
    margin: 0 auto 40px;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.regulations h3 {
    color: #1e88e5;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.regulations-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.regulations-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.regulations-item h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.regulations-item p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.regulations-item p:last-child {
    margin-bottom: 0;
}

/* Media queries for regulations section */
@media (max-width: 768px) {
    .regulations {
        padding: 20px;
    }
    
    .regulations h3 {
        font-size: 20px;
    }
    
    .regulations-item h4 {
        font-size: 16px;
    }
}

/* Стили для страницы электробезопасности */

.safety-header {
    background-image: url("img/safety.jpg");
    height: 750px;
}

.safety-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    left: 50%;
    transform: translate(-50%, -40%);
}

.safety-icon {
    background-color: #ff3b30;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
}

.safety-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.safety-intro {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.safety-card {
    background-color: rgba(145, 142, 142, 0.151);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.226);
}

.safety-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.safety-card p {
    line-height: 1.7;
    color: #555;
}

.safety-steps {
    padding: 60px 20px;
    background-color: #1e88e5;
    color: white;
}

.safety-steps h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: white;
    color: #1e88e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.step-content p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 15px;
}

.emergency-contacts {
    padding: 60px 20px;
}

.emergency-contacts h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.fire {
    border-left: 4px solid #ff3b30;
}

.contact-card.police {
    border-left: 4px solid #007aff;
}

.contact-card.company {
    border-left: 4px solid #34c759;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-card.fire .contact-icon {
    background-color: rgba(255, 59, 48, 0.1);
}

.contact-card.police .contact-icon {
    background-color: rgba(0, 122, 255, 0.1);
}

.contact-card.company .contact-icon {
    background-color: rgba(52, 199, 89, 0.1);
}

.contact-icon img {
    width: 30px;
    height: 30px;
}

.contact-card.fire .contact-icon img {
    filter: invert(27%) sepia(91%) saturate(2971%) hue-rotate(346deg) brightness(96%) contrast(101%);
}

.contact-card.police .contact-icon img {
    filter: invert(24%) sepia(97%) saturate(1779%) hue-rotate(202deg) brightness(103%) contrast(106%);
}

.contact-card.company .contact-icon img {
    filter: invert(63%) sepia(31%) saturate(4956%) hue-rotate(101deg) brightness(95%) contrast(101%);
}

.contact-info h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.emergency-number {
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
}

.contact-card.fire .emergency-number {
    color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.1);
}

.contact-card.police .emergency-number {
    color: #007aff;
    background-color: rgba(0, 122, 255, 0.1);
}

.contact-details {
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 5px;
}

.reporting-procedure {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.reporting-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reporting-card h3 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 40px;
}

.procedure-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.procedure-step {
    display: flex;
    align-items: flex-start;
}

.procedure-icon {
    width: 60px;
    height: 60px;
    background-color: #1e88e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.procedure-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.procedure-content h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 18px;
}

.procedure-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-list {
    list-style-type: none;
    padding: 0;
}

.info-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #555;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-weight: bold;
}

.safety-tips {
    padding: 60px 20px;
}

.safety-tips h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tip-icon img {
    width: 35px;
    height: 35px;
    filter: invert(41%) sepia(97%) saturate(1842%) hue-rotate(195deg) brightness(96%) contrast(96%);
}

.tip-card h4 {
    color: #1e88e5;
    margin-bottom: 15px;
    font-size: 18px;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

.safety-cta {
    background-image: url('img/safety-cta.jpg');
}

.safety-button {
    background-color: #ff3b30;
    border: none;
}

.safety-button:hover {
    background-color: #d42d25;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .safety-hero {
        transform: translate(-50%, -30%);
    }
    
    .contacts-grid, 
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .procedure-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .procedure-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .reporting-card {
        padding: 25px;
    }
    
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;  /* Increased z-index */
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .top-header-content {
        width: 100%;
        padding: 15px;
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        align-self: flex-end;
        margin-top: 10px;
    }

    .main-nav {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 250px;
        height: 100vh;
        top: 0;
        left: 0;
        padding: 60px 20px;
        z-index: 99;
        
        /* Анимация и исходное положение меню */
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        
        /* Чтобы сквозь меню было видно задний фон (для blur) */
        background-color: rgba(15, 15, 50, 0.5); /* Прозрачный фон */
        
        /* Свойства размытия и скругления */
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px); /* Для Safari */
        border-radius: 10px;               /* Скруглим углы */
        
        /* Добавим лёгкую тень, которая визуально «размывает» границы */
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        
        /* Опционально скрываем вертикальную полосу прокрутки, если нужна */
        overflow-y: auto;
      }
      
      /* Класс, который переключаете для открытия меню */
      .main-nav.open {
        transform: translateX(0);
      }
      
      
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav a {
        margin: 10px 0;
        font-size: 16px;
        padding: 10px;
    }

    .hero-content {
        position: relative;
        top: unset;
        left: unset;
        transform: none;
        text-align: center;
        margin: 100px auto 0;
        padding: 20px;
        max-width: 100%;
        z-index: 1;  /* Lower z-index to ensure it's behind the menu */
    }

    .hero-content h2 {
        font-size: 28px;
    }

    /* Adjustments for specific pages */
    .safety-hero, .consumer-hero {
        transform: none;
        position: relative;
        top: unset;
        left: unset;
        margin: 100px auto 0;
        text-align: center;
        padding: 20px;
        z-index: 1;  /* Lower z-index */
    }
    
    /* Hamburger icon animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
}


/* Fix for extra whitespace on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Footer responsive design improvements */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px 0;
    }

    .footer-nav a {
        margin: 0;
    }

   

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}