/*
Theme Name:     Jinto Babu
Theme URI:      https://jintobabu.com
Description:    Child theme of Hello Elementor for jintobabu.com. Holds the self-hosted fonts (Syne, Kanit) and the small design details Elementor can't do on its own. Page layouts are built in Elementor.
Author:         Jinto Babu
Author URI:     https://jintobabu.com
Template:       hello-elementor
Version:        1.0.0
Text Domain:    jintobabu
*/

/* ---------- 1. Self-hosted fonts (Syne + Kanit, latin + latin-ext) ---------- */
/* Kanit italic 300 latin-ext */
@font-face{font-family:'Kanit';font-style:italic;font-weight:300;font-display:swap;src:url('./assets/fonts/kanit-italic-300-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Kanit italic 300 latin */
@font-face{font-family:'Kanit';font-style:italic;font-weight:300;font-display:swap;src:url('./assets/fonts/kanit-italic-300-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Kanit normal 300 latin-ext */
@font-face{font-family:'Kanit';font-style:normal;font-weight:300;font-display:swap;src:url('./assets/fonts/kanit-normal-300-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Kanit normal 300 latin */
@font-face{font-family:'Kanit';font-style:normal;font-weight:300;font-display:swap;src:url('./assets/fonts/kanit-normal-300-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Kanit normal 400 latin-ext */
@font-face{font-family:'Kanit';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/fonts/kanit-normal-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Kanit normal 400 latin */
@font-face{font-family:'Kanit';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/fonts/kanit-normal-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Kanit normal 500 latin-ext */
@font-face{font-family:'Kanit';font-style:normal;font-weight:500;font-display:swap;src:url('./assets/fonts/kanit-normal-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Kanit normal 500 latin */
@font-face{font-family:'Kanit';font-style:normal;font-weight:500;font-display:swap;src:url('./assets/fonts/kanit-normal-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Syne normal 400 800 latin-ext */
@font-face{font-family:'Syne';font-style:normal;font-weight:400 800;font-display:swap;src:url('./assets/fonts/syne-normal-400-800-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Syne normal 400 800 latin */
@font-face{font-family:'Syne';font-style:normal;font-weight:400 800;font-display:swap;src:url('./assets/fonts/syne-normal-400-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- 2. Base ---------- */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
::selection{background:#E9E5FF;color:#000}
:focus-visible{outline:2px solid #5B4BC4;outline-offset:3px}
img{max-width:100%;height:auto}

/* ---------- 3. Header: notched divider line (Numerique style) ---------- */
.jb-notch{position:relative}
.jb-notch::after{content:"";position:absolute;left:var(--jb-notch-inset,40px);right:var(--jb-notch-inset,40px);bottom:0;height:28px;pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='28' viewBox='0 0 160 28'%3E%3Cpath d='M0 27.4H22C50 27.4 56 1 80 1S110 27.4 138 27.4H160' fill='none' stroke='%23E6E3EF' stroke-width='1.2'/%3E%3C/svg%3E") center bottom/160px 28px no-repeat,
    linear-gradient(#E6E3EF,#E6E3EF) left bottom/calc(50% - 79px) 1.2px no-repeat,
    linear-gradient(#E6E3EF,#E6E3EF) right bottom/calc(50% - 79px) 1.2px no-repeat}
.jb-notch--lilac::after{--jb-notch-inset:0px;background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='28' viewBox='0 0 160 28'%3E%3Cpath d='M0 27.4H22C50 27.4 56 1 80 1S110 27.4 138 27.4H160' fill='none' stroke='%23C9C1F1' stroke-width='1.2'/%3E%3C/svg%3E") center bottom/160px 28px no-repeat,
    linear-gradient(#C9C1F1,#C9C1F1) left bottom/calc(50% - 79px) 1.2px no-repeat,
    linear-gradient(#C9C1F1,#C9C1F1) right bottom/calc(50% - 79px) 1.2px no-repeat}
@media (max-width:767px){.jb-notch::after{--jb-notch-inset:20px}}

/* Sticky header gets a soft background once the page scrolls */
.jb-header.elementor-sticky--effects{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(8px)}

/* Logo tab: black tab hanging from the top edge */
.jb-logo-tab{border-radius:0 0 22px 22px}
.jb-logo-tab .elementor-heading-title a{color:inherit}

/* ---------- 4. Links, tags, cards ---------- */
.jb-underline a,a.jb-underline,.jb-underline .elementor-button{text-decoration:underline!important;text-decoration-color:#5B4BC4!important;text-decoration-thickness:1.5px!important;text-underline-offset:6px}
.jb-underline .elementor-button{background:transparent!important;color:#000!important;padding-left:0!important;padding-right:0!important}
.jb-underline--light .elementor-button{color:#fff!important;text-decoration-color:#B0A7EF!important}

.jb-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.jb-tag,.jb-tags span{display:inline-block;background:#fff;color:#000;font-family:"Kanit",sans-serif;font-weight:400;font-size:13px;line-height:1.3;padding:5px 12px;border-radius:999px}
.jb-tags p{margin:0;display:flex;flex-wrap:wrap;gap:8px}

.jb-card{transition:transform .25s ease,box-shadow .25s ease}
.jb-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px -28px rgba(40,30,110,.35)}
@media (prefers-reduced-motion:reduce){.jb-card,.jb-card:hover{transition:none;transform:none}}

/* Case study cards: darken the bottom of the photo so white text stays readable */
.jb-case{position:relative;overflow:hidden;isolation:isolate}
.jb-case::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.72) 100%)}
.jb-case>.e-con-inner,.jb-case>.elementor-element{position:relative;z-index:1}
.jb-case-rule{border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:16px}

/* Floating hero badges */
.jb-float{box-shadow:0 20px 50px -20px rgba(40,30,110,.35)}

/* Dashed arrow next to testimonial */
.jb-dashed-arrow svg{display:block;max-width:100%}

/* ---------- 5. Footer ---------- */
.jb-list ul{list-style:none;margin:0;padding:0}
.jb-list li{margin:0 0 8px}
.jb-list a{color:inherit;text-decoration:none}
.jb-list a:hover{color:#5B4BC4}

/* ---------- 6. Pricing table on Services page ---------- */
.jb-table table{width:100%;border-collapse:collapse;font-size:15px}
.jb-table th,.jb-table td{padding:14px 16px;border-bottom:1px solid #ECE9F3;text-align:left;vertical-align:top}
.jb-table th{font-family:"Syne",sans-serif;font-weight:700;color:#000;font-size:14px}
.jb-table tr:last-child td{border-bottom:0}
.jb-table-wrap{overflow-x:auto}
/* ---------- 7. Contact form (WPForms) ---------- */
.jb-form .wpforms-container{margin:0!important}
.jb-form .wpforms-field{padding:0 0 18px!important}
.jb-form .wpforms-field-label{font-family:"Syne",sans-serif!important;font-weight:700!important;font-size:13px!important;color:#000!important;margin-bottom:8px!important}
.jb-form input[type=text],.jb-form input[type=email],.jb-form select,.jb-form textarea{width:100%!important;max-width:100%!important;border:1px solid #DCD8E8!important;border-radius:14px!important;padding:13px 16px!important;font-family:"Kanit",sans-serif!important;font-weight:300!important;font-size:16px!important;color:#000!important;background:#fff!important;box-shadow:none!important;height:auto!important}
.jb-form textarea{min-height:120px!important}
.jb-form input:focus,.jb-form select:focus,.jb-form textarea:focus{border-color:#5B4BC4!important;outline:2px solid #E9E5FF!important}
.jb-form .wpforms-field-row{display:flex;gap:12px}
.jb-form button[type=submit]{background:#000!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:17px 30px!important;font-family:"Syne",sans-serif!important;font-weight:700!important;font-size:13px!important;text-transform:uppercase;cursor:pointer;width:100%;height:auto!important}
.jb-form button[type=submit]:hover{background:#5B4BC4!important}
.jb-form .wpforms-confirmation-container-full{background:#E9E5FF!important;border:0!important;border-radius:20px;color:#000!important;padding:20px 24px!important}
.jb-form label.wpforms-error{color:#B42318!important;font-size:13px!important}

/* ---------- 8. Logo wall + career timeline ---------- */
.jb-logo-tile{min-height:120px}
.jb-timeline .jb-tl-item{border-top:1px solid #E6E3EF}