/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* -------------------------------- */
/* Common Start */
/* -------------------------------- */
html, body {
	scroll-behavior: smooth;
}
:root {
    --primary-font: "DM Serif Display", serif;
    --secondary-font: "Inter", sans-serif;
    --purple: #412a76;
    --black: #000000;
    --white: #ffffff;
}
body {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 18px;
    color: #000000;
}
.post, .page {
    margin: 0;
}
.container {
	width: 100%;
    max-width: 1280px;
	margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
a {
    transition: all 0.5s;
    color: var(--purple);
}
a:hover {
	color: black;
}
a.btn {
    background: var(--purple);
    padding: 10px 40px;
    font-weight: 300;
    font-family: var(--primary-font);
    text-transform: uppercase;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    letter-spacing: 1px;
}
a.btn:hover {
    background: var(--black);
	color: #ffffff;
}
h1 {
    font-family: var(--primary-font);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.1;
}
h2 {
    font-family: var(--primary-font);
    font-size: 45px;
    font-weight: 400;
    line-height: 1.1;
}
h3 {
    font-family: var(--primary-font);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}
h4 {
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}
h5 {
    font-family: var(--primary-font);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
}
h6 {
    font-family: var(--primary-font);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
}
span.tagline {
    background: #412a76;
    color: #ffffff; 
    padding: 5px 15px;
    display: inline-block;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 15px;
}
footer.site-footer span.tagline {
    color: #000000 !important;
}
.heading span {
    color: var(--purple);
}
.heading {
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 30px;
}
.heading:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 5px;
    background: #000;
    bottom: 0;
    border-radius: 50px;
}
h2.heading {
    padding-bottom: 28px;
}
:target {
  scroll-margin-top: 100px; /* adjust based on your header height */
}
/* --------------------------------- */
/* Common End */
/* -------------------------------- */

/* -------------------------------- */
/* Header Start */
/* -------------------------------- */
header {
    position: absolute;
    width: 100%;
    z-index: 999;
	transition: all 0.5s;
}
header.fixed-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}
header a.navbar-brand img {
    max-width: 220px;
	transition: all 0.5s;
}
header.fixed-header a.navbar-brand img {
    max-width: 180px;
}
header a.navbar-brand {
    background: #000;
    border-radius: 10px;
    padding: 8px 15px 6px 15px;
}
header nav {
    padding: 12px 0 !important;
}
header nav ul li a {
    color: #000 !important;
    padding: 0 15px !important;
}
header nav ul li a:hover {
    color: var(--purple) !important;
}
header nav ul li.cta-btn a.nav-link {
    background: var(--purple);
    padding: 10px 20px !important;
    color: white !important;
    border-radius: 10px;
    margin-left: 25px;
}
header nav ul li.cta-btn a.nav-link:hover {
	background: #000;
}
header nav ul li {
    display: flex;
    align-items: center;
}
/* -------------------------------- */
/* Header End */
/* -------------------------------- */

/* -------------------------------- */
/* Home Start */
/* -------------------------------- */
section {
    scroll-margin-top: 80px !important; /* Adjust based on header height */
}
section.hero-sec .content p {
    max-width: 650px;
}
section.hero-sec .content a.btn {
    margin-top: 18px;
}
section.hero-sec .image img {
    border-radius: 12px;
    box-shadow: 0 0 44px 12px #0000002e;
}
section.hero-sec {
    background: linear-gradient(90deg, rgb(255 255 255) 65%, rgb(65, 42, 118 / 15%) 40%);
    padding: 150px 0 100px 0;
}
section.icon-block-sec {
    padding: 100px 0;
}
section.icon-block-sec .icon-block-col {
    padding-left: 50px;
    gap: 25px;
    display: flex;
    flex-wrap: wrap;
}
section.icon-block-sec .icon-block-col .icon-block-item .row {
    row-gap: 25px;
}
section.icon-block-sec .content-item .icon {
    display: inline-block;
    background: #000;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 16px;
}
section.icon-block-sec .content-item .icon img {
    max-width: 48px;
}
section.icon-block-sec .icon-block-item:first-child .inner-icon-block:last-child .icon, section.icon-block-sec .icon-block-item:last-child .inner-icon-block:first-child .icon {
    background: var(--purple);
}
section.icon-block-sec .icon-block-item:first-child .inner-icon-block:last-child .icon img, section.icon-block-sec .icon-block-item:last-child .inner-icon-block:first-child .icon img {
    filter: brightness(0);
}

section.pdf-sec {
    padding-bottom: 80px;
}
/* -------------------------------- */
/* Home End */
/* -------------------------------- */

/* -------------------------------- */
/* Footer Start */
/* -------------------------------- */
footer.site-footer {
    background: #000;
    padding: 80px 0 20px 0;
    position: relative;
}
footer.site-footer:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2026/02/footer-bg-img.jpg);
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    opacity: 0.1;
}
footer.site-footer .inner-content {
    text-align: center;
    position: relative;
    z-index: 9;
}
footer.site-footer .inner-content span.tagline {
    background: #ffffff;
}
footer.site-footer .inner-content .heading {
    color: white;
    padding-bottom: 22px;
}
footer.site-footer .inner-content .heading:before {
    background: var(--purple);
    left: 50%;
    transform: translateX(-50%);
}
footer.site-footer .inner-content p {
    color: white;
}
footer.site-footer .inner-content .menu {
    margin: 40px 0 0 0;
    display: block !important;
}
footer.site-footer .inner-content .menu ul {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 25px;
    row-gap: 15px;
}
footer.site-footer .inner-content .menu ul li a {
    text-decoration: none;
}
footer.site-footer .inner-content .menu ul li a:hover {
    color: white;
}
footer.site-footer .inner-content .copyright p {
    margin-bottom: 0;
}
footer.site-footer .inner-content .copyright {
    border-top: 1px solid #ffffff36;
    padding-top: 25px;
    padding-bottom: 10px;
    margin-top: 80px;
}
/* -------------------------------- */
/* Footer End */
/* -------------------------------- */

@media(max-width: 1140px) and (min-width: 992px) {
header a.navbar-brand img {
    max-width: 160px;
}
header nav ul li a {
    font-size: 16px !important;
    padding: 0 12px !important;
}	
}

@media(max-width: 991px) {
section.hero-sec .content {
    margin-bottom: 50px;
}	
section.icon-block-sec .icon-block-col {
    padding-left: 12px;
    margin-top: 18px;
}
	
section.hero-sec, section.full-width-content-sec, section.book-order-sec, section.pdf-sec {
    padding-bottom: 70px;
}	
section.icon-block-sec, section.table-contents-sec, section.testimonial-sec, section.available-store-sec {
    padding: 70px 0;
}	
section.available-store-sec:before {
    width: 55%;
}	
header .offcanvas {
    background: var(--purple) !important;
}	
header .offcanvas button.btn-close {
    opacity: 1;
}	
header nav ul li a {
    color: white !important;
    padding: 10px 15px !important;
}	
header nav ul li.cta-btn a.nav-link {
    background: #000;
    margin-left: 15px;
    margin-top: 20px;
}	
header nav ul li.cta-btn a.nav-link:hover {
    background: white;
    color: #000 !important;
}	
header nav ul li a:hover {
    color: #000 !important;
}	
header button.navbar-toggler {
	background: var(--purple);
	border: none;
	padding: 8px 14px;
	box-shadow: none !important;
}	
header button.navbar-toggler span.navbar-toggler-icon {
    background-image: url(/wp-content/uploads/2026/02/menu.png);
    background-size: contain;
}
section.hero-sec .hero-book > div {
    padding-top: 560px !important;
}	
}

@media(max-width: 767px) {
h1 {
    font-size: 40px;
}	
h2 {
    font-size: 34px;
}	
h3 {
    font-size: 28px;
}
header a.navbar-brand img {
    max-width: 180px;
}	
section.hero-sec {
    background: linear-gradient(90deg, rgb(255 255 255) 35%, rgb(243 113 52 / 15%) 90%);
}	
section.author-content-sec .inner-box-content .left-content-set {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 35px;
    padding-right: 35px;
}	

}


