:root {
    --primary: #06042e;
    --secondary: #5751e1;
    --accent: #06042e;
    --dark: #1a2a3a;
    --light: #f8f9fc;
    --success: #28a745;
    --text: #333;
}

.certificate-area {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 300;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--secondary);
    border-radius: 3px;
}

.opito-card {
    /* background: white; */
    border-radius: 20px;
    /* box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    /* transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1); */
    height: 100%;
    border: none;
    position: relative;
    z-index: 2;
}

/* .opito-card:hover {
                                                                                                                                                                                                                                                                                                        transform: translateY(-10px) scale(1.02);
                                                                                                                                                                                                                                                                                                        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
                                                                                                                                                                                                                                                                                                    } */

.opito-header {
    background: var(--primary);
    color: white;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.opito-header:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.opito-header h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.accreditation-badge {
    background: var(--secondary);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.card-body {
    padding: 35px 30px;
}

.stat-badge {
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin: 20px 0;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px #5751e185;
}

.highlight {
    background: #5751e11a;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    overflow: hidden;
}

.highlight:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300a8e8' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.safety-element {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.safety-element:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.element-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: linear-gradient(
        135deg,
        rgba(0, 86, 179, 0.1) 0%,
        rgba(0, 86, 179, 0.05) 100%
    );
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.element-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.process-container {
    /* background: white; */
    /* border-radius: 20px; */
    /* padding: 50px 40px; */
    /* box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08); */
    /* margin: 60px 0; */
    position: relative;
    overflow: hidden;
}

.secondcontainer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230056b3' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.3);
}

.step-content {
    background: #ffff;
    padding: 25px;
    border-radius: 15px;
    flex-grow: 1;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-content:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--light);
}

.step-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
    width: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.05;
}

.floating-1 {
    top: 10%;
    left: 5%;
    font-size: 10rem;
    color: var(--primary);
}

.floating-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    color: var(--secondary);
    transform: rotate(25deg);
}

.floating-3 {
    top: 40%;
    right: 10%;
    font-size: 6rem;
    color: var(--accent);
    transform: rotate(-15deg);
}

.floating-4 {
    bottom: 20%;
    left: 10%;
    font-size: 7rem;
    color: var(--primary);
    transform: rotate(10deg);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        border-radius: 0 0 50px 50px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .step-content:before {
        display: none;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.safety-elements {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.elements-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.element-card {
    flex: 0 0 calc(33.333% - 30px);
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(87, 81, 225, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--secondary);
}

.element-card:hover {
    /* transform: translateY(-15px); */
    box-shadow: 0 20px 50px rgba(87, 81, 225, 0.2);
}

.element-header {
    padding: 30px 30px 0;
    position: relative;
    z-index: 2;
}

.element-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(87, 81, 225, 0.3);
}

.element-icon i {
    font-size: 2.5rem;
    color: white;
}

.element-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.element-content {
    padding: 0 30px 30px;
    flex-grow: 1;
}

.element-content p {
    margin-bottom: 25px;
    color: #555;
}

.element-footer {
    background: var(--light-blue);
    padding: 20px 30px;
    border-top: 1px solid rgba(87, 81, 225, 0.1);
}

.element-footer ul {
    list-style: none;
    padding-left: 20px;
}

.element-footer li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 500;
}

.element-footer li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    /* Changed from 'Font Awesome 6 Free' */
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
}

.element-highlight {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 20px;
    background: var(--secondary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 0 var(--border-radius);
    z-index: 3;
}

/* Decorative elements */
.floating-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
}

.floating-shape-1 {
    top: 10%;
    left: 5%;
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.2 !important;
}

.floating-shape-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    color: var(--secondary);
    opacity: 0.2 !important;
}

.floating-shape-3 {
    top: 40%;
    right: 10%;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.2 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .element-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .safety-elements {
        padding: 60px 0;
    }

    .element-card {
        flex: 0 0 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }
}
