/*
Theme Name: Smart Biodata
Theme URI: https://smartbiodata.in
Author: Smart Biodata Developer Team
Author URI: https://smartbiodata.in
Description: Premium Custom WordPress Theme converted from React application codebase. Features full responsive Tailwind layout, traditional multi-lingual templates, Google fonts, and high performance landing pages.
Version: 1.0.0
Text Domain: smartbiodata
*/

* {
    scrollbar-width: thin;
    scrollbar-color: #fb923c transparent;
}

*::-webkit-scrollbar { width: 4px; height: 4px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #fb923c; border-radius: 10px; }
*::-webkit-scrollbar-thumb:hover { background: #f97316; }

/* ---------- Blog Article Content (single.php) ----------
   The site loads Tailwind via the play CDN script only, without the
   @tailwindcss/typography plugin, so the `prose` classes on the_content()
   need real styling here instead. */
.sb-blog-content { color: #44403c; font-size: 1.0625rem; line-height: 1.85; }
.sb-blog-content > * + * { margin-top: 1.3em; }

/* h2 as a colored section header with a small accent bar, not just bigger
   black bold text — gives the article visual rhythm instead of reading as
   one flat gray wall of text. */
.sb-blog-content h2 { position: relative; font-size: 1.55rem; font-weight: 800; color: #9a3412; margin-top: 2.2em; margin-bottom: 0.7em; padding-left: 1rem; border-left: 4px solid #f97316; }
.sb-blog-content h3 { font-size: 1.2rem; font-weight: 800; color: #b45309; margin-top: 1.8em; margin-bottom: 0.5em; }
.sb-blog-content p { margin: 0; }
.sb-blog-content a { color: #ea580c; font-weight: 600; text-decoration: underline; text-decoration-color: #fdba74; text-underline-offset: 3px; }
.sb-blog-content a:hover { text-decoration-color: #ea580c; }

/* Bold text gets a soft highlight instead of just darker weight — makes
   "bold" mean something visually distinct rather than blending into
   headings at a glance. */
.sb-blog-content strong { font-weight: 700; color: #9a3412; background: linear-gradient(to bottom, transparent 60%, #fed7aa 60%); padding: 0 0.05em; }

.sb-blog-content ul, .sb-blog-content ol { padding-left: 1.4rem; }
.sb-blog-content ul { list-style: none; }
.sb-blog-content ul li { position: relative; padding-left: 0.4rem; }
.sb-blog-content ul li::before { content: '✓'; position: absolute; left: -1.4rem; color: #f97316; font-weight: 800; }
.sb-blog-content ol { list-style: decimal; }
.sb-blog-content ol li::marker { color: #f97316; font-weight: 800; }
.sb-blog-content li { margin: 0.55em 0; }
.sb-blog-content img { border-radius: 1rem; width: 100%; height: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.sb-blog-content blockquote { position: relative; background: linear-gradient(to bottom right, #fff7ed, #fffbeb); border: 1px solid #fde68a; border-left: 4px solid #f97316; border-radius: 0 1rem 1rem 0; padding: 1.1em 1.4em 1.1em 2.6em; color: #78350f; font-style: italic; font-weight: 500; }
.sb-blog-content blockquote::before { content: '"'; position: absolute; top: 0.1em; left: 0.6em; font-size: 2rem; line-height: 1; color: #fb923c; font-style: normal; font-weight: 900; }

.sb-blog-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.sb-blog-content th, .sb-blog-content td { border: 1px solid #fde68a; padding: 0.7em 0.9em; text-align: left; }
.sb-blog-content th { background: linear-gradient(to bottom, #f97316, #ea580c); font-weight: 700; color: #fff; }
.sb-blog-content tr:nth-child(even) td { background: #fff7ed; }

.sb-blog-content details { background: linear-gradient(to bottom right, #fffbeb, #fdfaf6); border: 1px solid #fde68a; border-radius: 1rem; padding: 1.1em 1.3em; }
.sb-blog-content details + details { margin-top: 0.75em; }
.sb-blog-content summary { font-weight: 700; color: #78350f; cursor: pointer; list-style: none; }
.sb-blog-content summary::-webkit-details-marker { display: none; }
.sb-blog-content summary::after { content: '+'; float: right; color: #f97316; font-weight: 900; }
.sb-blog-content details[open] summary::after { content: '−'; }
.sb-blog-cta { background: linear-gradient(to bottom right, #f97316, #f59e0b); border-radius: 1.5rem; padding: 2em; text-align: center; color: #fff; }
.sb-blog-cta h3 { color: #fff; margin: 0 0 0.4em; font-size: 1.2rem; font-weight: 800; }
.sb-blog-cta p { color: rgba(255,255,255,0.9); margin: 0 0 1.2em; font-size: 0.9rem; }
.sb-blog-cta a { display: inline-block; background: #fff; color: #ea580c; font-weight: 800; padding: 0.7em 1.6em; border-radius: 999px; text-decoration: none; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.sb-blog-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.8em; margin: 1.5em 0; }
.sb-blog-gallery img { border-radius: 0.75rem; aspect-ratio: 3/4; object-fit: cover; }

body { 
    font-family: 'Inter', sans-serif; 
    background: #fdfaf6; 
    margin: 0; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translate(-50%, -20px) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, 10px) scale(1.05); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.animate-bounce-in {
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.animate-slide-up-fade {
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.preview-serif { font-family: 'Cormorant Garamond', serif; }

/* ---------- Template Containers ---------- */
#preview-wrapper {
    width: 794px; 
    height: 1121px; 
    position: relative;
    margin: 0 auto;
    background: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    overflow: hidden;
    box-sizing: border-box;
}

.template-container {
    width: 794px;
    height: 1121px !important;
    box-sizing: border-box;
    overflow: hidden !important;
    background: white;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateX(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce-right {
    animation: bounceRight 1s infinite;
}

/* ---------- Standardized Data Alignment ---------- */
.field-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
    line-height: 1.5;
}

.label-col {
    width: 185px; 
    flex-shrink: 0;
    font-weight: 700;
    color: #374151;
    font-size: 0.95rem;
}

.colon-col {
    width: 25px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 700;
    color: #4b5563;
}

.value-col {
    flex: 1;
    color: #111827;
    font-weight: 500;
    font-size: 0.95rem;
    word-break: break-word;
}

/* ---------- Section Titles ---------- */
.section-title-standard {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 1.5rem 0 0.8rem 0;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
    display: block;
    letter-spacing: 0.05em;
}

/* ---------- Template Backgrounds & Styling ---------- */
.template1-bg { background-image: url('/background-image/template1.jpg'); background-size: 100% 100%; }
.template1-content { padding: 155px 80px 60px 80px; height: 100%; box-sizing: border-box; }
.t1-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #8c5e2a; 
    text-transform: uppercase;
    margin: 1.5rem 0 0.8rem 0;
    font-family: 'Cormorant Garamond', serif;
    border-bottom: 1.5px solid #fde68a;
    display: block;
}

.template2-bg { background-image: url('/background-image/template2.jpg'); background-size: 100% 100%; }
.template2-content { padding: 248px 80px 60px 80px; height: 100%; box-sizing: border-box; }

.template3-bg { background-image: url('/background-image/temapte3.png'); background-size: 100% 100%; }
.template3-content { padding: 170px 80px 60px 80px; height: 100%; box-sizing: border-box; }

.custom-img-bg { background-image: url('/background-image/temapte5.png'); background-size: 100% 100%; }
.custom-img-content { padding: 80px 80px 60px 80px; height: 100%; box-sizing: border-box; }

.muslim-bg { background-image: url('/background-image/muslimbiodata.png'); background-size: 100% 100%; }
.muslim-content { padding: 160px 70px 60px 70px; height: 100%; box-sizing: border-box; }
.muslim-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2d5a27;
    text-transform: uppercase;
    margin: 1.5rem 0 0.8rem 0;
    font-family: 'Cormorant Garamond', serif;
    border-bottom: 2px solid #2d5a27;
    display: block;
}

.template7-bg { background-image: url('/background-image/template8.jpg'); background-size: 100% 100%; }
.template7-content { padding: 130px 155px 80px 92px; height: 100%; box-sizing: border-box; }
.t7-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e5b54f; 
    text-transform: capitalize;
    margin: 0.8rem 0 0.5rem 0;
    font-family: 'Cormorant Garamond', serif;
    display: block;
    text-align: center;
}

.template7-bg .field-row,
.template7-bg .label-col,
.template7-bg .value-col,
.template7-bg .colon-col {
    color: #e5b54f !important;
}

.template8-bg { background-image: url('/background-image/template9.webp'); background-size: 100% 100%; }
.template8-content { padding: 95px 70px 60px 70px; height: 100%; box-sizing: border-box; font-family: 'Georgia', serif; }
.t8-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000000;
    background-color: #f7a840;
    padding: 3px 12px;
    margin: 1.5rem 0 0.8rem 0;
    text-transform: capitalize;
    font-family: 'Georgia', serif;
    display: inline-block;
    border-radius: 4px;
}
.template8-bg .label-col { color: #c27d38 !important; }

.template10-bg { background-image: url('/background-image/Template10.webp'); background-size: 100% 100%; }
.template10-content { padding: 155px 80px 60px 80px; height: 100%; box-sizing: border-box; font-family: 'Playfair Display', serif; }
.t10-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #b45309;
    text-transform: uppercase;
    margin: 1.3rem 0 0.6rem 0;
    font-family: 'Playfair Display', serif;
    border-bottom: 2.2px solid #fcd34d;
    display: inline-block;
    padding-bottom: 2px;
}
.template10-bg .label-col { color: #78350f !important; }

/* Photo Box & Watermarks */
.photo-box-standard {
    position: absolute;
    right: 80px;
    top: 140px;
    width: 130px;
    height: 165px;
    background: white;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 50;
    overflow: hidden;
}

.brand-watermark {
    position: absolute;
    bottom: 25px;
    right: 35px;
    font-size: 9px;
    font-weight: 800;
    color: rgba(0,0,0,0.25) !important;
    pointer-events: none;
    z-index: 9999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
