<?php

$notary_services_tp_theme_css = '';

$notary_services_theme_lay = get_theme_mod( 'notary_services_tp_body_layout_settings','Full');
if($notary_services_theme_lay == 'Container'){
$notary_services_tp_theme_css .='body{';
$notary_services_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$notary_services_tp_theme_css .='}';
$notary_services_tp_theme_css .='@media screen and (max-width:575px){';
$notary_services_tp_theme_css .='body{';
	$notary_services_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
$notary_services_tp_theme_css .='} }';
$notary_services_tp_theme_css .='.scrolled{';
$notary_services_tp_theme_css .='width: auto; left:0; right:0;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_theme_lay == 'Container Fluid'){
$notary_services_tp_theme_css .='body{';
$notary_services_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$notary_services_tp_theme_css .='}';
$notary_services_tp_theme_css .='@media screen and (max-width:575px){';
$notary_services_tp_theme_css .='body{';
	$notary_services_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
$notary_services_tp_theme_css .='} }';
$notary_services_tp_theme_css .='.scrolled{';
$notary_services_tp_theme_css .='width: auto; left:0; right:0;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_theme_lay == 'Full'){
$notary_services_tp_theme_css .='body{';
$notary_services_tp_theme_css .='max-width: 100%;';
$notary_services_tp_theme_css .='}';
}

$notary_services_scroll_position = get_theme_mod( 'notary_services_scroll_top_position','Right');
if($notary_services_scroll_position == 'Right'){
$notary_services_tp_theme_css .='#return-to-top{';
$notary_services_tp_theme_css .='right: 20px;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_scroll_position == 'Left'){
$notary_services_tp_theme_css .='#return-to-top{';
$notary_services_tp_theme_css .='left: 20px;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_scroll_position == 'Center'){
$notary_services_tp_theme_css .='#return-to-top{';
$notary_services_tp_theme_css .='right: 50%;left: 50%;';
$notary_services_tp_theme_css .='}';
}

// related post
$notary_services_related_post_mob = get_theme_mod('notary_services_related_post_mob', true);
$notary_services_related_post = get_theme_mod('notary_services_remove_related_post', true);
$notary_services_tp_theme_css .= '.related-post-block {';
if ($notary_services_related_post == false) {
    $notary_services_tp_theme_css .= 'display: none;';
}
$notary_services_tp_theme_css .= '}';
$notary_services_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($notary_services_related_post == false || $notary_services_related_post_mob == false) {
    $notary_services_tp_theme_css .= '.related-post-block { display: none; }';
}
$notary_services_tp_theme_css .= '}';

// slider btn
$notary_services_slider_buttom_mob = get_theme_mod('notary_services_slider_buttom_mob', true);
$notary_services_slider_button = get_theme_mod('notary_services_slider_button', true);
$notary_services_tp_theme_css .= '#main-slider .more-btn {';
if ($notary_services_slider_button == false) {
    $notary_services_tp_theme_css .= 'display: none;';
}
$notary_services_tp_theme_css .= '}';
$notary_services_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($notary_services_slider_button == false || $notary_services_slider_buttom_mob == false) {
    $notary_services_tp_theme_css .= '#main-slider .more-btn { display: none; }';
}
$notary_services_tp_theme_css .= '}';

//return to header mobile               
$notary_services_return_to_header_mob = get_theme_mod('notary_services_return_to_header_mob', true);
$notary_services_return_to_header = get_theme_mod('notary_services_return_to_header', true);
$notary_services_tp_theme_css .= '.return-to-header{';
if ($notary_services_return_to_header == false) {
    $notary_services_tp_theme_css .= 'display: none;';
}
$notary_services_tp_theme_css .= '}';
$notary_services_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($notary_services_return_to_header == false || $notary_services_return_to_header_mob == false) {
    $notary_services_tp_theme_css .= '.return-to-header{ display: none; }';
}
$notary_services_tp_theme_css .= '}';

//blog description              
$notary_services_mobile_blog_description = get_theme_mod('notary_services_mobile_blog_description', true);
$notary_services_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($notary_services_mobile_blog_description == false) {
    $notary_services_tp_theme_css .= '.blog-description{ display: none; }';
}
$notary_services_tp_theme_css .= '}';


$notary_services_footer_widget_image = get_theme_mod('notary_services_footer_widget_image');
if($notary_services_footer_widget_image != false){
$notary_services_tp_theme_css .='#footer{';
$notary_services_tp_theme_css .='background: url('.esc_attr($notary_services_footer_widget_image).');';
$notary_services_tp_theme_css .='}';
}

//Social icon Font size
$notary_services_social_icon_fontsize = get_theme_mod('notary_services_social_icon_fontsize');
$notary_services_tp_theme_css .='.social-media a i{';
$notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_social_icon_fontsize).'px;';
$notary_services_tp_theme_css .='}';

// site title and tagline font size option
$notary_services_site_title_font_size = get_theme_mod('notary_services_site_title_font_size', ''); {
$notary_services_tp_theme_css .='.logo h1 a, .logo p a{';
$notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_site_title_font_size).'px !important;';
$notary_services_tp_theme_css .='}';
}

$notary_services_site_tagline_font_size = get_theme_mod('notary_services_site_tagline_font_size', '');{
$notary_services_tp_theme_css .='.logo p{';
$notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_site_tagline_font_size).'px;';
$notary_services_tp_theme_css .='}';
}

$notary_services_related_product = get_theme_mod('notary_services_related_product',true);
if($notary_services_related_product == false){
$notary_services_tp_theme_css .='.related.products{';
	$notary_services_tp_theme_css .='display: none;';
$notary_services_tp_theme_css .='}';
}

//menu font size
$notary_services_menu_font_size = get_theme_mod('notary_services_menu_font_size', '');{
$notary_services_tp_theme_css .='.main-navigation a, .main-navigation li.page_item_has_children:after, .main-navigation li.menu-item-has-children:after{';
	$notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_menu_font_size).'px;';
$notary_services_tp_theme_css .='}';
}

// menu text transform
$notary_services_menu_text_tranform = get_theme_mod( 'notary_services_menu_text_tranform','');
if($notary_services_menu_text_tranform == 'Uppercase'){
$notary_services_tp_theme_css .='.main-navigation a {';
	$notary_services_tp_theme_css .='text-transform: uppercase;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_text_tranform == 'Lowercase'){
$notary_services_tp_theme_css .='.main-navigation a {';
	$notary_services_tp_theme_css .='text-transform: lowercase;';
$notary_services_tp_theme_css .='}';
}
else if($notary_services_menu_text_tranform == 'Capitalize'){
$notary_services_tp_theme_css .='.main-navigation a {';
	$notary_services_tp_theme_css .='text-transform: capitalize;';
$notary_services_tp_theme_css .='}';
}

//sale position
$notary_services_scroll_position = get_theme_mod( 'notary_services_sale_tag_position','right');
if($notary_services_scroll_position == 'right'){
$notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $notary_services_tp_theme_css .='right: 25px !important;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_scroll_position == 'left'){
$notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $notary_services_tp_theme_css .='left: 25px !important; right: auto !important;';
$notary_services_tp_theme_css .='}';
}

$notary_services_woocommerce_sale_font_size = get_theme_mod('notary_services_woocommerce_sale_font_size');
if($notary_services_woocommerce_sale_font_size != false){
    $notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_woocommerce_sale_font_size).'px;';
    $notary_services_tp_theme_css .='}';
}

$notary_services_woocommerce_sale_padding_top_bottom = get_theme_mod('notary_services_woocommerce_sale_padding_top_bottom');
if($notary_services_woocommerce_sale_padding_top_bottom != false){
    $notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $notary_services_tp_theme_css .='padding-top: '.esc_attr($notary_services_woocommerce_sale_padding_top_bottom).'px; padding-bottom: '.esc_attr($notary_services_woocommerce_sale_padding_top_bottom).'px;';
    $notary_services_tp_theme_css .='}';
}

$notary_services_woocommerce_sale_padding_left_right = get_theme_mod('notary_services_woocommerce_sale_padding_left_right');
if($notary_services_woocommerce_sale_padding_left_right != false){
    $notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $notary_services_tp_theme_css .='padding-left: '.esc_attr($notary_services_woocommerce_sale_padding_left_right).'px !Important; padding-right: '.esc_attr($notary_services_woocommerce_sale_padding_left_right).'px !important;';
    $notary_services_tp_theme_css .='}';
}

$notary_services_woocommerce_sale_border_radius = get_theme_mod('notary_services_woocommerce_sale_border_radius', 100);
if($notary_services_woocommerce_sale_border_radius != false){
    $notary_services_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $notary_services_tp_theme_css .='border-radius: '.esc_attr($notary_services_woocommerce_sale_border_radius).'% !important;';
    $notary_services_tp_theme_css .='}';
}

//Font Weight
$notary_services_menu_font_weight = get_theme_mod( 'notary_services_menu_font_weight','');
if($notary_services_menu_font_weight == '100'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 100;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '200'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 200;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '300'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 300;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '400'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 400;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '500'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 500;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '600'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 600;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '700'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 700;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '800'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 800;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_menu_font_weight == '900'){
$notary_services_tp_theme_css .='.main-navigation a{';
    $notary_services_tp_theme_css .='font-weight: 900;';
$notary_services_tp_theme_css .='}';
}

/*------------- Blog Page------------------*/
$notary_services_post_image_round = get_theme_mod('notary_services_post_image_round', 0);
if($notary_services_post_image_round != false){
    $notary_services_tp_theme_css .='.blog .box-image img{';
        $notary_services_tp_theme_css .='border-radius: '.esc_attr($notary_services_post_image_round).'px;';
    $notary_services_tp_theme_css .='}';
}

$notary_services_post_image_width = get_theme_mod('notary_services_post_image_width', '');
if($notary_services_post_image_width != false){
    $notary_services_tp_theme_css .='.blog .box-image img{';
        $notary_services_tp_theme_css .='Width: '.esc_attr($notary_services_post_image_width).'px;';
    $notary_services_tp_theme_css .='}';
}

$notary_services_post_image_length = get_theme_mod('notary_services_post_image_length', '');
if($notary_services_post_image_length != false){
    $notary_services_tp_theme_css .='.blog .box-image img{';
        $notary_services_tp_theme_css .='height: '.esc_attr($notary_services_post_image_length).'px;';
    $notary_services_tp_theme_css .='}';
}

// footer widget title font size
$notary_services_footer_widget_title_font_size = get_theme_mod('notary_services_footer_widget_title_font_size', '');{
$notary_services_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
    $notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_footer_widget_title_font_size).'px;';
$notary_services_tp_theme_css .='}';
}

// Copyright text font size
$notary_services_footer_copyright_font_size = get_theme_mod('notary_services_footer_copyright_font_size', '');{
$notary_services_tp_theme_css .='#footer .site-info p{';
    $notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_footer_copyright_font_size).'px;';
$notary_services_tp_theme_css .='}';
}

// copyright padding
$notary_services_footer_copyright_top_bottom_padding = get_theme_mod('notary_services_footer_copyright_top_bottom_padding', '');
if ($notary_services_footer_copyright_top_bottom_padding !== '') { 
    $notary_services_tp_theme_css .= '.site-info {';
    $notary_services_tp_theme_css .= 'padding-top: ' . esc_attr($notary_services_footer_copyright_top_bottom_padding) . 'px;';
    $notary_services_tp_theme_css .= 'padding-bottom: ' . esc_attr($notary_services_footer_copyright_top_bottom_padding) . 'px;';
    $notary_services_tp_theme_css .= '}';
}

// copyright position
$notary_services_copyright_text_position = get_theme_mod( 'notary_services_copyright_text_position','Center');
if($notary_services_copyright_text_position == 'Center'){
$notary_services_tp_theme_css .='#footer .site-info p{';
$notary_services_tp_theme_css .='text-align:center;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_copyright_text_position == 'Left'){
$notary_services_tp_theme_css .='#footer .site-info p{';
$notary_services_tp_theme_css .='text-align:left;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_copyright_text_position == 'Right'){
$notary_services_tp_theme_css .='#footer .site-info p{';
$notary_services_tp_theme_css .='text-align:right;';
$notary_services_tp_theme_css .='}';
}

// Header Image title font size
$notary_services_header_image_title_font_size = get_theme_mod('notary_services_header_image_title_font_size', '40');{
$notary_services_tp_theme_css .='.box-text h2{';
    $notary_services_tp_theme_css .='font-size: '.esc_attr($notary_services_header_image_title_font_size).'px;';
$notary_services_tp_theme_css .='}';
}

/*--------------------------- banner image Opacity -------------------*/
    $notary_services_theme_lay = get_theme_mod( 'notary_services_header_banner_opacity_color','0.5');
        if($notary_services_theme_lay == '0'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.1'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.1';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.2'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.2';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.3'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.3';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.4'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.4';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.5'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.5';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.6'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.6';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.7'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.7';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.8'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.8';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '0.9'){
            $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
                $notary_services_tp_theme_css .='opacity:0.9';
            $notary_services_tp_theme_css .='}';
        }else if($notary_services_theme_lay == '1'){
            $notary_services_tp_theme_css .='#main-slider img{';
                $notary_services_tp_theme_css .='opacity:1';
            $notary_services_tp_theme_css .='}';
        }

    $notary_services_header_banner_image_overlay = get_theme_mod('notary_services_header_banner_image_overlay', true);
    if($notary_services_header_banner_image_overlay == false){
        $notary_services_tp_theme_css .='.single-page-img, .featured-image{';
            $notary_services_tp_theme_css .='opacity:1;';
        $notary_services_tp_theme_css .='}';
    }

    $notary_services_header_banner_image_ooverlay_color = get_theme_mod('notary_services_header_banner_image_ooverlay_color', true);
    if($notary_services_header_banner_image_ooverlay_color != false){
        $notary_services_tp_theme_css .='.box-image-page{';
            $notary_services_tp_theme_css .='background-color: '.esc_attr($notary_services_header_banner_image_ooverlay_color).';';
        $notary_services_tp_theme_css .='}';
    }

    // header
    $notary_services_slider_arrows = get_theme_mod('notary_services_slider_arrows', true);
    if($notary_services_slider_arrows == false){
    $notary_services_tp_theme_css .='.page-template-front-page .headerbox{';
        $notary_services_tp_theme_css .='position:static;';
    $notary_services_tp_theme_css .='}';
    }

    /*------------------ Slider CSS -------------------*/
    $notary_services_slider_opacity_setting = get_theme_mod('notary_services_slider_opacity_setting', true);
    $notary_services_image_opacity_color    = get_theme_mod('notary_services_image_opacity_color', 'rgba(20, 63, 81, 0.8)'); // fallback color

    if ($notary_services_slider_opacity_setting) {
        $notary_services_tp_theme_css .= '#slider::before {';
        $notary_services_tp_theme_css .= 'content: "";';
        $notary_services_tp_theme_css .= 'position: absolute;';
        $notary_services_tp_theme_css .= 'inset: 0;';
        $notary_services_tp_theme_css .= 'z-index: 1;';
        $notary_services_tp_theme_css .= 'opacity: 0.8;'; // Always default opacity

        // Use Customizer color if available
        if ($notary_services_image_opacity_color !== '') {
            $notary_services_tp_theme_css .= 'background-color: ' . esc_attr($notary_services_image_opacity_color) . ';';
        }

        $notary_services_tp_theme_css .= '}';

        // Ensure inner content is above overlay
        $notary_services_tp_theme_css .= '#slider > * { position: relative; z-index: 2; }';

    } else {
        // Fallback if overlay is disabled
        $notary_services_tp_theme_css .= '#slider::before {';
        $notary_services_tp_theme_css .= 'content: "";';
        $notary_services_tp_theme_css .= 'position: absolute;';
        $notary_services_tp_theme_css .= 'inset: 0;';
        $notary_services_tp_theme_css .= 'z-index: 1;';
        $notary_services_tp_theme_css .= 'background-color: rgba(20, 63, 81, 0.8);';
        $notary_services_tp_theme_css .= 'opacity: 0.8;';
        $notary_services_tp_theme_css .= '}';
        $notary_services_tp_theme_css .= '#slider > * { position: relative; z-index: 2; }';
    }

    // Slider Height
    $notary_services_slider_img_height      = get_theme_mod('notary_services_slider_img_height');
    $notary_services_slider_img_height_resp = get_theme_mod('notary_services_slider_img_height_responsive');

    // Desktop height
    $notary_services_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $notary_services_tp_theme_css .= '#slider {';
    if ( $notary_services_slider_img_height ) {
        $notary_services_tp_theme_css .= 'height: ' . esc_attr( $notary_services_slider_img_height ) . ';';
    }
    $notary_services_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $notary_services_tp_theme_css .= '}';
    $notary_services_tp_theme_css .= '}';

    // Mobile height
    $notary_services_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $notary_services_tp_theme_css .= '#slider {';
    if ( $notary_services_slider_img_height_resp ) {
        $notary_services_tp_theme_css .= 'height: ' . esc_attr( $notary_services_slider_img_height_resp ) . ' !important;';
    }
    $notary_services_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $notary_services_tp_theme_css .= '}';
    $notary_services_tp_theme_css .= '}';

    //First Cap ( Blog Post )
    $notary_services_show_first_caps = get_theme_mod('notary_services_show_first_caps', 'false');
    if($notary_services_show_first_caps == 'true' ){
    $notary_services_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter{';
    $notary_services_tp_theme_css .=' font-size: 55px; font-weight: 600;';
    $notary_services_tp_theme_css .=' margin-right: 6px;';
    $notary_services_tp_theme_css .=' line-height: 1;';
    $notary_services_tp_theme_css .='}';
    }elseif($notary_services_show_first_caps == 'false' ){
    $notary_services_tp_theme_css .='.blog .page-box p:nth-of-type(1)::first-letter {';
    $notary_services_tp_theme_css .='display: none;';
    $notary_services_tp_theme_css .='}';
    }

    // Menu hover effect
    $notary_services_menus_item = get_theme_mod( 'notary_services_menus_item_style','None');
    if($notary_services_menus_item == 'None'){
        $notary_services_tp_theme_css .='.main-navigation a:hover{';
            $notary_services_tp_theme_css .='';
        $notary_services_tp_theme_css .='}';
    }else if($notary_services_menus_item == 'Zoom In'){
        $notary_services_tp_theme_css .='.main-navigation a:hover{';
            $notary_services_tp_theme_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
        $notary_services_tp_theme_css .='}';
    }

    
// footer widget letter case
$notary_services_footer_widget_title_text_tranform = get_theme_mod( 'notary_services_footer_widget_title_text_tranform','');
if($notary_services_footer_widget_title_text_tranform == 'Uppercase'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='text-transform: uppercase;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_text_tranform == 'Lowercase'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='text-transform: lowercase;';
$notary_services_tp_theme_css .='}';
}
else if($notary_services_footer_widget_title_text_tranform == 'Capitalize'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='text-transform: capitalize;';
$notary_services_tp_theme_css .='}';
}

//Footer Font Weight
$notary_services_footer_widget_title_font_weight = get_theme_mod( 'notary_services_footer_widget_title_font_weight','');
if($notary_services_footer_widget_title_font_weight == '100'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 100;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '200'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 200;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '300'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 300;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '400'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 400;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '500'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 500;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '600'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 600;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '700'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 700;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '800'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 800;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_font_weight == '900'){
$notary_services_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $notary_services_tp_theme_css .='font-weight: 900;';
$notary_services_tp_theme_css .='}';
}

// footer widget position
$notary_services_footer_widget_title_position = get_theme_mod( 'notary_services_footer_widget_title_position','');
if($notary_services_footer_widget_title_position == 'Right'){
$notary_services_tp_theme_css .='#footer aside.widget-area{';
$notary_services_tp_theme_css .='text-align: right;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_position == 'Left'){
$notary_services_tp_theme_css .='#footer aside.widget-area{';
$notary_services_tp_theme_css .='text-align: left;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_widget_title_position == 'Center'){
$notary_services_tp_theme_css .='#footer aside.widget-area{';
$notary_services_tp_theme_css .='text-align: center;';
$notary_services_tp_theme_css .='}';
}

// Slider animation
$notary_services_slider_sec_animation = get_theme_mod( 'notary_services_slider_sec_animation', true );
if ( $notary_services_slider_sec_animation ) {
    $notary_services_tp_theme_css .= '#slider { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// About Section ANimation
$notary_services_about_sec_animation = get_theme_mod( 'notary_services_about_sec_animation', true );
if ( $notary_services_about_sec_animation ) {
    $notary_services_tp_theme_css .= '#our-services { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// footer Section ANimation
$notary_services_footer_animation = get_theme_mod( 'notary_services_footer_animation', true );
if ( $notary_services_footer_animation ) {
    $notary_services_tp_theme_css .= '#footer { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// Output the complete CSS
if ( ! empty( $notary_services_tp_theme_css ) ) {
    echo '<style id="notary-services-dynamic-css">' . $notary_services_tp_theme_css . '</style>';
}
?>