/* ========================================
   SAFETY STANDARDS PAGE - MODERN DESIGN
   ======================================== */

/* Banner Section */
.banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../source/safety.webp') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    max-height: 420px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid rgba(235,89,95,0.8);
}

.banner .navbar {
    position: relative;
    z-index: 10000;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 20px;
}

.content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    line-height: 1.1;
}

.content p {
    font-size: 1.3rem;
    color: white;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Section Base Styles */
.m1, .m2, .m3, .m4 {
    padding: 100px 20px;
    position: relative;
}

.m1 {
    background: linear-gradient(135deg, #f8fafe 0%, #ffffff 100%);
}

.m2 {
    background: #ffffff;
}

.m3 {
    background: linear-gradient(135deg, #f1f4f8 0%, #e8eff5 100%);
}

.m4 {
    background: linear-gradient(135deg, #f8fafe 0%, #ffffff 100%);
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.t1 {
    text-align: center;
    margin-bottom: 60px;
}
.t1::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 2px;
}

.t1 h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.t1 p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Trust Grid - Add 2 more cards to fill the space */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trust-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(235,89,95,0.1);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(235,89,95,0.15);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.trust-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.trust-content p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Safety Protocols Section */
.safety-intro {
    text-align: center;
    margin-bottom: 60px;
}

.safety-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.safety-intro p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.protocol-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(235,89,95,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.protocol-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
}

.protocol-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(235,89,95,0.15);
}

.protocol-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.protocol-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.protocol-item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cert-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(235,89,95,0.1);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(235,89,95,0.15);
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.cert-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.cert-year {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Statistics Section */
.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.stats-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(235,89,95,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(235,89,95,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #eb595f;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* CTA Section */
.m-last .last div {
    text-align: center;
}

.m-last .last div p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 20px 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .banner {
        height: 70vh;
    }
    
    .content h1 {
        font-size: 2.5rem;
    }
    
    .content p {
        font-size: 1.1rem;
    }
    
    .m1, .m2, .m3, .m4 {
        padding: 60px 20px;
    }
    
    .t1 h1 {
        font-size: 2.2rem;
    }
    
    .safety-intro h2, .stats-header h2 {
        font-size: 2rem;
    }
    
    .trust-grid, .certifications-grid, .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .protocols-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .protocol-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }
    
    .t1 h1 {
        font-size: 1.8rem;
    }
}
