﻿/* Page-specific overrides for diploma-in-sanskrit-language-literature */
/* Brand-aligned crisp overrides — primary red #c62828, no frosted/blur look */
.hero-section {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}
.hero-section::before {
    background: transparent;
}
.hero-section h1,
.hero-section .sub-headline {
    color: #ffffff;
    opacity: 1;
    text-shadow: none;
}
.section-title,
.motivation-section h2 {
    color: #c62828;
}
.highlight-icon,
.detail-icon,
.wellness-icon {
    color: #c62828;
}
.hero-btn-primary {
    color: #ffffff;background: #c62828;
    border-color: #c62828;
}
.hero-btn-primary:hover {
    color: #ffffff;background: #b71c1c;
    border-color: #b71c1c;
}
.hero-btn-secondary {
    color: #c62828;
    border-color: #c62828;
}
.hero-btn-secondary:hover {
    background: #c62828;
    color: #ffffff;
}

/* Demo certificate — correct display size (native img is 1052px; cap it) */
.certificate-demo-section {
    padding: 36px 0;
}
.certificate-demo-container {
    display: flex;
    gap: 28px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.certificate-preview {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.certificate-frame {
    max-width: min(480px, 100%);
    width: fit-content;
    padding: 8px;
    border: 4px solid #ffc107;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    overflow: hidden;
}
.certificate-frame img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(200px, 34vh, 320px);
    object-fit: contain;
}
.certificate-features {
    flex: 0 1 380px;
    max-width: 380px;
}
@media (max-width: 900px) {
    .certificate-demo-container {
        flex-direction: column;
        gap: 18px;
    }
    .certificate-frame {
        max-width: min(420px, 100%);
        transform: none;
    }
    .certificate-features {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}
