* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

.certificate-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #2c80ff;
}

.company-title {
    font-size: 42px;
    color: #1a3c6e;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-title {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin-bottom: 40px;
}

.certificate-photo-container {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.certificate-image {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.signup-section-certificate {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
    background: none; /* Убрать градиентный фон */
    border: none; /* Убрать рамку */
    border-radius: 0;
}

.signup-text-certificate {
    display: inline;
    font-size: 28px; /* Меньше размер */
    font-weight: 700;
    margin-bottom: 10px;
}

.red-text-certificate {
    color: #ff0000;
    font-size: 28px; /* Такой же размер */
    font-weight: 700;
}

.phone-number-certificate {
    font-size: 28px; /* Меньше размер */
    font-weight: 700;
    color: #2c80ff;
    text-decoration: none;
    display: inline; /* В строку */
    margin-left: 15px; /* Отступ слева */
    padding: 0;
    background-color: transparent; /* Убрать фон */
    border-radius: 0;
    box-shadow: none; /* Убрать тень */
}

.phone-number-certificate:hover {
    background-color: transparent; /* Убрать фон при наведении */
    text-decoration: underline;
}

.back-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #2c80ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #1a6de8;
}