/* Extracted from index.php */

:root {
    --cert-primary: #0055b8;
    --cert-secondary: #e91e8c;
    --cert-dark: #1e293b;
    --cert-gray: #64748b;
    --cert-light: #f8fafc;
}

/* Hero Section */
.cert-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 60px 0 40px;
    color: white;
    text-align: center;
}
.cert-hero-badge {
    display: inline-block;
    background: rgba(233, 30, 140, 0.2);
    color: var(--cert-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(233, 30, 140, 0.3);
}
.cert-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}
.cert-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.cert-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.cert-stat {
    text-align: center;
}
.cert-stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--cert-secondary);
}
.cert-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Hero Form */
.cert-hero-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
}
.cert-hero-form-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
}
.cert-hero-form-row {
    display: flex;
    gap: 10px;
}
.cert-hero-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    color: var(--cert-dark);
}
.cert-hero-input::placeholder {
    color: #94a3b8;
}
.cert-hero-btn {
    padding: 14px 30px;
    background: var(--cert-secondary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.cert-hero-btn:hover {
    background: #c4177a;
    transform: translateY(-2px);
}
.cert-hero-note {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}

/* Reviews Section */
.cert-reviews {
    padding: 60px 0;
    background: var(--cert-light);
}
.cert-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 40px;
}
.cert-category {
    margin-bottom: 50px;
}
.cert-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}
.cert-category-icon {
    font-size: 28px;
}
.cert-category-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--cert-dark);
}
.cert-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.cert-review-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.cert-review-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.cert-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.cert-review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cert-primary), var(--cert-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}
.cert-review-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--cert-dark);
}
.cert-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cert-gray);
}

/* Category CTA */
.cert-category-cta {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0,85,184,0.05) 0%, rgba(233,30,140,0.05) 100%);
    border-radius: 12px;
}
.cert-category-cta-text {
    font-size: 15px;
    color: var(--cert-dark);
    margin-bottom: 12px;
}
.cert-category-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--cert-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.cert-category-cta-btn:hover {
    background: var(--cert-secondary);
    color: white;
    text-decoration: none;
}

/* Original Slider */
.cert-slider-section {
    padding: 60px 0;
    background: white;
}
.cert-slider-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 30px;
}

/* Sticky CTA */
.cert-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9990;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
}
.cert-sticky-text {
    color: white;
    font-size: 15px;
}
.cert-sticky-phone {
    color: var(--cert-secondary);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}
.cert-sticky-btn {
    padding: 12px 25px;
    background: var(--cert-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.cert-sticky-btn:hover {
    background: #c4177a;
}

/* Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.cert-modal.active {
    display: flex;
}
.cert-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}
.cert-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--cert-gray);
}
.cert-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cert-dark);
}
.cert-modal-subtitle {
    font-size: 14px;
    color: var(--cert-gray);
    margin-bottom: 25px;
}
.cert-modal-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--cert-dark);
}
.cert-modal-input:focus {
    border-color: var(--cert-primary);
    outline: none;
}
.cert-modal-btn {
    width: 100%;
    padding: 16px;
    background: var(--cert-secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.cert-modal-btn:hover {
    background: #c4177a;
}
.cert-modal-btn-gradient {
    background: linear-gradient(135deg, #e91e8c 0%, #6366f1 100%);
}
.cert-modal-btn-gradient:hover {
    background: linear-gradient(135deg, #c4177a 0%, #4f46e5 100%);
}
.cert-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: var(--cert-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}
.cert-modal-note {
    font-size: 12px;
    color: var(--cert-gray);
    margin-top: 15px;
}
.cert-modal-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}
.cert-modal-success.active {
    display: block;
    animation: successFadeIn 0.5s ease;
}
@keyframes successFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.cert-modal-success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 45px;
    color: white;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    animation: successPulse 2s ease infinite;
}
@keyframes successPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 10px 60px rgba(16, 185, 129, 0.6); }
}
.cert-modal-success .cert-modal-title {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.cert-modal-success .cert-modal-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
}
.cert-modal-success-note {
    display: inline-block;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .cert-hero h1 { font-size: 26px; }
    .cert-hero-stats { gap: 30px; }
    .cert-stat-value { font-size: 32px; }
    .cert-hero-form-row { flex-direction: column; }
    .cert-reviews-grid { grid-template-columns: 1fr; }
    .cert-sticky { 
        flex-direction: column; 
        gap: 10px;
        padding: 12px 15px;
    }
    .cert-sticky-text { font-size: 13px; }
    .sertificate { padding-bottom: 120px; }
}

/* Services Section */
.cert-services {
    padding: 60px 0;
    background: white;
}
.cert-services-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 40px;
}
.cert-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.cert-service-card {
    background: var(--cert-light);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}
.cert-service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--cert-primary);
}
.cert-service-icon {
    font-size: 32px;
    margin-bottom: 15px;
}
.cert-service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 10px;
}
.cert-service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cert-gray);
    margin-bottom: 15px;
}
.cert-service-link {
    display: inline-block;
    color: var(--cert-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.cert-service-link:hover {
    color: var(--cert-secondary);
    text-decoration: none;
}

/* SEO Text */
.cert-seo-text {
    background: var(--cert-light);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 40px;
}
.cert-seo-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 20px;
}
.cert-seo-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--cert-gray);
    margin-bottom: 15px;
}
.cert-seo-text p:last-child {
    margin-bottom: 0;
}
.cert-seo-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--cert-dark);
    margin: 25px 0 15px;
}

/* FAQ Section */
.cert-faq {
    background: var(--cert-light);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 40px;
}
.cert-faq h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 25px;
    text-align: center;
}
.cert-faq-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}
.cert-faq-item:last-child {
    margin-bottom: 0;
}
.cert-faq-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--cert-dark);
    margin-bottom: 10px;
    cursor: pointer;
}
.cert-faq-question::before {
    content: '▸ ';
    color: var(--cert-secondary);
}
.cert-faq-answer {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cert-gray);
    padding-left: 18px;
}

/* КСЗІ Section */
.cert-kszi {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    color: white;
}
.cert-kszi-badge {
    display: inline-block;
    background: rgba(233, 30, 140, 0.2);
    color: var(--cert-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(233, 30, 140, 0.3);
}
.cert-kszi h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.cert-kszi > p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.cert-kszi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.cert-kszi-item {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.cert-kszi-icon {
    font-size: 24px;
    color: var(--cert-secondary);
    margin-bottom: 10px;
}
.cert-kszi-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}
.cert-kszi-item p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.cert-kszi-who {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}
.cert-kszi-who h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}
.cert-kszi-who ul {
    margin: 0;
    padding-left: 20px;
}
.cert-kszi-who li {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}
.cert-kszi-who li::marker {
    color: var(--cert-secondary);
}
.cert-kszi-note {
    font-size: 15px;
    font-weight: 600;
    color: var(--cert-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .cert-kszi { padding: 25px; }
    .cert-kszi h3 { font-size: 20px; }
    .cert-kszi-grid { grid-template-columns: 1fr; }
}

/* Final CTA */
.cert-final-cta {
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
}
.cert-final-cta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.cert-final-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}
.cert-final-cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cert-final-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--cert-secondary);
    text-decoration: none;
}
.cert-final-phone:hover {
    color: white;
}
.cert-final-btn {
    padding: 15px 35px;
    background: var(--cert-secondary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.cert-final-btn:hover {
    background: #c4177a;
    transform: translateY(-2px);
}

/* Responsive services */
@media (max-width: 992px) {
    .cert-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cert-services-grid { grid-template-columns: 1fr; }
    .cert-seo-text { padding: 25px; }
    .cert-final-cta { padding: 30px 20px; }
    .cert-final-phone { font-size: 20px; }
}

/* Add padding bottom for sticky */
.sertificate {
    padding-bottom: 80px;
}
