<?php
/* ============================================================
   HEADER.PHP — Opens HTML, <head>, loads CSS/JS, outputs header nav
   ============================================================
   Each page sets these variables BEFORE including this file:

   $page_title        — SEO <title>
   $page_description  — meta description
   $page_keywords     — meta keywords
   $page_body_class   — <body> class attribute
   $page_type         — 'elementor' (default) or 'custom'
   $page_css          — extra <link> tags (HTML string)
   $page_styles       — extra inline <style> blocks (HTML string)
   ============================================================ */
if (!isset($page_title))       $page_title = 'Kalaimagal Music Academy';
if (!isset($page_description)) $page_description = 'Kalaimagal Music Academy - Learn Veena, Violin, Piano, Keyboard, Guitar, Mouth Organ and Music Composing from expert teachers in Tiruchengode.';
if (!isset($page_keywords))    $page_keywords = 'music academy, veena, violin, piano, keyboard, guitar, mouth organ, composing, Kalaimagal, Tiruchengode';
if (!isset($page_body_class))  $page_body_class = '';
if (!isset($page_type))        $page_type = 'elementor';
if (!isset($page_css))         $page_css = '';
if (!isset($page_styles))      $page_styles = '';
?>
<!DOCTYPE html>
<html lang="en-US">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="robots" content="index, follow">
	<title><?php echo htmlspecialchars($page_title, ENT_QUOTES, 'UTF-8'); ?></title>
	<meta name="description" content="<?php echo htmlspecialchars($page_description, ENT_QUOTES, 'UTF-8'); ?>">
	<meta name="keywords" content="<?php echo htmlspecialchars($page_keywords, ENT_QUOTES, 'UTF-8'); ?>">

	<!-- Open Graph -->
	<meta property="og:title" content="<?php echo htmlspecialchars($page_title, ENT_QUOTES, 'UTF-8'); ?>">
	<meta property="og:description" content="<?php echo htmlspecialchars($page_description, ENT_QUOTES, 'UTF-8'); ?>">
	<meta property="og:type" content="website">
	<meta property="og:image" content="wp-content/uploads/2023/12/side1.svg">
	<link rel="profile" href="https://gmpg.org/xfn/11">

<?php if ($page_type === 'elementor'): ?>
	<!-- ========== ELEMENTOR CSS STACK ========== -->
	<style id="wp-img-auto-sizes-contain-inline-css">
		img:is([sizes=auto i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }
	</style>
	<link rel='stylesheet' id='hfe-widgets-style-css' href='wp-content/plugins/header-footer-elementor/inc/widgets-css/frontend.css?ver=2.4.6' media='all'>
	<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
	<style id="wp-emoji-styles-inline-css">
		img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; }
	</style>
	<style id="classic-theme-styles-inline-css">
		.wp-block-button__link { color: #fff; background-color: #32373c; border-radius: 9999px; box-shadow: none; text-decoration: none; padding: calc(.667em + 2px) calc(1.333em + 2px); font-size: 1.125em }
		.wp-block-file__button { background: #32373c; color: #fff; text-decoration: none }
	</style>
	<link rel='stylesheet' id='contact-form-7-css' href='wp-content/plugins/contact-form-7/includes/css/styles.css?ver=6.1' media='all'>

	<!-- Page-specific CSS (sap-core, elementor-post, widgets) -->
	<?php echo $page_css; ?>

	<link rel='stylesheet' id='eae-css-css' href='wp-content/plugins/addon-elements-for-elementor-page-builder/assets/css/eae.min.css?ver=1.14.1' media='all'>
	<link rel='stylesheet' id='eae-peel-css-css' href='wp-content/plugins/addon-elements-for-elementor-page-builder/assets/lib/peel/peel.css?ver=1.14.1' media='all'>
	<link rel='stylesheet' id='font-awesome-4-shim-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/v4-shims.min.css?ver=1.0' media='all'>
	<link rel='stylesheet' id='font-awesome-5-all-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/all.min.css?ver=1.0' media='all'>
	<link rel='stylesheet' id='vegas-css-css' href='wp-content/plugins/addon-elements-for-elementor-page-builder/assets/lib/vegas/vegas.min.css?ver=2.4.0' media='all'>
	<link rel='stylesheet' id='hfe-style-css' href='wp-content/plugins/header-footer-elementor/assets/css/header-footer-elementor.css?ver=2.4.6' media='all'>
	<link rel='stylesheet' id='elementor-frontend-css' href='wp-content/plugins/elementor/assets/css/frontend.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='elementor-post-8-css' href='wp-content/uploads/elementor/css/post-8.css?ver=1764743642' media='all'>
	<link rel='stylesheet' id='e-animation-fadeInUp-css' href='wp-content/plugins/elementor/assets/lib/animations/styles/fadeInUp.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='swiper-css' href='wp-content/plugins/elementor/assets/lib/swiper/v8/css/swiper.min.css?ver=8.4.5' media='all'>
	<link rel='stylesheet' id='e-swiper-css' href='wp-content/plugins/elementor/assets/css/conditionals/e-swiper.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='widget-slides-css' href='wp-content/plugins/pro-elements/assets/css/widget-slides.min.css?ver=3.30.0' media='all'>
	<link rel='stylesheet' id='widget-heading-css' href='wp-content/plugins/elementor/assets/css/widget-heading.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='widget-image-css' href='wp-content/plugins/elementor/assets/css/widget-image.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='widget-image-box-css' href='wp-content/plugins/elementor/assets/css/widget-image-box.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='widget-icon-box-css' href='wp-content/plugins/elementor/assets/css/widget-icon-box.min.css?ver=3.30.3' media='all'>

	<!-- Header / Footer / Preloader post CSS -->
	<link rel='stylesheet' id='elementor-post-28-css' href='wp-content/uploads/elementor/css/post-28.css?ver=1764743643' media='all'>
	<link rel='stylesheet' id='elementor-post-30-css' href='wp-content/uploads/elementor/css/post-30.css?ver=1764743644' media='all'>
	<link rel='stylesheet' id='elementor-post-597-css' href='wp-content/uploads/elementor/css/post-597.css?ver=1764743644' media='all'>

	<!-- Theme CSS -->
	<link rel='stylesheet' id='maintheme-style-css' href='wp-content/themes/maintheme/style.css?ver=6.9' media='all'>
	<link rel='stylesheet' id='style-boot-css' href='wp-content/themes/maintheme/css/bootstrap.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='animate-css' href='wp-content/themes/maintheme/css/animate.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='awesome-css' href='wp-content/themes/maintheme/css/font-awesome.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='lineicons-css' href='wp-content/themes/maintheme/css/line-icons.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='flaticon-css' href='wp-content/themes/maintheme/css/flaticon.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='carousel-css' href='wp-content/themes/maintheme/css/owl.carousel.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='loader-css' href='wp-content/themes/maintheme/css/loader.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='default-css' href='wp-content/themes/maintheme/css/default.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='footer-css' href='wp-content/themes/maintheme/css/footer.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='header-css' href='wp-content/themes/maintheme/css/header.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='style-new-css' href='wp-content/themes/maintheme/css/style.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='responsive-css' href='wp-content/themes/maintheme/css/responsive.css?ver=1.1' media='all'>

	<!-- Elementor Icons & Social -->
	<link rel='stylesheet' id='hfe-elementor-icons-css' href='wp-content/plugins/elementor/assets/lib/eicons/css/elementor-icons.min.css?ver=5.34.0' media='all'>
	<link rel='stylesheet' id='hfe-icons-list-css' href='wp-content/plugins/elementor/assets/css/widget-icon-list.min.css?ver=3.24.3' media='all'>
	<link rel='stylesheet' id='hfe-social-icons-css' href='wp-content/plugins/elementor/assets/css/widget-social-icons.min.css?ver=3.24.0' media='all'>
	<link rel='stylesheet' id='hfe-social-share-icons-brands-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/brands.css?ver=5.15.3' media='all'>
	<link rel='stylesheet' id='hfe-social-share-icons-fontawesome-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/fontawesome.css?ver=5.15.3' media='all'>
	<link rel='stylesheet' id='hfe-nav-menu-icons-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/solid.css?ver=5.15.3' media='all'>
	<link rel='stylesheet' id='hfe-widget-blockquote-css' href='wp-content/plugins/elementor-pro/assets/css/widget-blockquote.min.css?ver=3.25.0' media='all'>

	<!-- ElementsKit -->
	<link rel='stylesheet' id='ekit-widget-styles-css' href='wp-content/plugins/elementskit-lite/widgets/init/assets/css/widget-styles.css?ver=3.5.6' media='all'>
	<link rel='stylesheet' id='ekit-responsive-css' href='wp-content/plugins/elementskit-lite/widgets/init/assets/css/responsive.css?ver=3.5.6' media='all'>

	<!-- Google Fonts (local) -->
	<link rel='stylesheet' id='elementor-gf-local-roboto-css' href='wp-content/uploads/elementor/google-fonts/css/roboto.css?ver=1753709573' media='all'>
	<link rel='stylesheet' id='elementor-gf-local-robotoslab-css' href='wp-content/uploads/elementor/google-fonts/css/robotoslab.css?ver=1753709576' media='all'>
	<link rel='stylesheet' id='elementor-gf-local-cormorantgaramond-css' href='wp-content/uploads/elementor/google-fonts/css/cormorantgaramond.css?ver=1753709578' media='all'>
	<link rel='stylesheet' id='elementor-gf-local-montserrat-css' href='wp-content/uploads/elementor/google-fonts/css/montserrat.css?ver=1753709583' media='all'>
	<link rel='stylesheet' id='elementor-gf-local-jost-css' href='wp-content/uploads/elementor/google-fonts/css/jost.css?ver=1753709585' media='all'>
	<link rel='stylesheet' id='elementor-icons-ekiticons-css' href='wp-content/plugins/elementskit-lite/modules/elementskit-icon-pack/assets/css/ekiticons.css?ver=3.5.6' media='all'>

	<!-- Head Scripts -->
	<script src="wp-content/plugins/addon-elements-for-elementor-page-builder/assets/js/iconHelper.js?ver=1.0" id="eae-iconHelper-js"></script>
	<script src="wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script>
	<script id="jquery-js-after">
		!function($){"use strict";$(document).ready(function(){$(this).scrollTop()>100&&$(".hfe-scroll-to-top-wrap").removeClass("hfe-scroll-to-top-hide"),$(window).scroll(function(){$(this).scrollTop()<100?$(".hfe-scroll-to-top-wrap").fadeOut(300):$(".hfe-scroll-to-top-wrap").fadeIn(300)}),$(".hfe-scroll-to-top-wrap").on("click",function(){$("html, body").animate({scrollTop:0},300);return!1})})}(jQuery);
		!function($){'use strict';$(document).ready(function(){var bar=$('.hfe-reading-progress-bar');if(!bar.length)return;$(window).on('scroll',function(){var s=$(window).scrollTop(),d=$(document).height()-$(window).height(),p=d?s/d*100:0;bar.css('width',p+'%')});});}(jQuery);
	</script>
	<script src="wp-content/themes/maintheme/js/navigation.js?ver=1" id="maintheme-navigation-js"></script>

	<!-- Elementor lazy-load -->
	<meta name="generator" content="Elementor 3.30.3; features: e_font_icon_svg, additional_custom_breakpoints, e_element_cache; settings: css_print_method-external, google_font-enabled, font_display-swap">
	<style>
		.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
		.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; }
		@media screen and (max-height: 1024px) {
			.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
			.e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; }
		}
		@media screen and (max-height: 640px) {
			.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
			.e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; }
		}
	</style>

	<!-- Global WP Styles -->
	<style id="global-styles-inline-css">
		:root{--wp--preset--aspect-ratio--square:1;--wp--preset--aspect-ratio--4-3:4/3;--wp--preset--aspect-ratio--3-4:3/4;--wp--preset--aspect-ratio--3-2:3/2;--wp--preset--aspect-ratio--2-3:2/3;--wp--preset--aspect-ratio--16-9:16/9;--wp--preset--aspect-ratio--9-16:9/16;--wp--preset--color--black:#000000;--wp--preset--color--cyan-bluish-gray:#abb8c3;--wp--preset--color--white:#e6b325;--wp--preset--color--pale-pink:#f78da7;--wp--preset--color--vivid-red:#cf2e2e;--wp--preset--color--luminous-vivid-orange:#ff6900;--wp--preset--color--luminous-vivid-amber:#fcb900;--wp--preset--color--light-green-cyan:#7bdcb5;--wp--preset--color--vivid-green-cyan:#00d084;--wp--preset--color--pale-cyan-blue:#8ed1fc;--wp--preset--color--vivid-cyan-blue:#0693e3;--wp--preset--color--vivid-purple:#9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple:linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan:linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange:linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red:linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray:linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum:linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple:linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux:linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk:linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean:linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass:linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight:linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small:13px;--wp--preset--font-size--medium:20px;--wp--preset--font-size--large:36px;--wp--preset--font-size--x-large:42px;--wp--preset--spacing--20:0.44rem;--wp--preset--spacing--30:0.67rem;--wp--preset--spacing--40:1rem;--wp--preset--spacing--50:1.5rem;--wp--preset--spacing--60:2.25rem;--wp--preset--spacing--70:3.38rem;--wp--preset--spacing--80:5.06rem;--wp--preset--shadow--natural:6px 6px 9px rgba(0,0,0,0.2);--wp--preset--shadow--deep:12px 12px 50px rgba(0,0,0,0.4);--wp--preset--shadow--sharp:6px 6px 0px rgba(0,0,0,0.2);--wp--preset--shadow--outlined:6px 6px 0px -3px rgb(255,255,255),6px 6px rgb(0,0,0);--wp--preset--shadow--crisp:6px 6px 0px rgb(0,0,0)}
		:where(.is-layout-flex){gap:0.5em}:where(.is-layout-grid){gap:0.5em}body .is-layout-flex{display:flex}.is-layout-flex{flex-wrap:wrap;align-items:center}.is-layout-flex>:is(*,div){margin:0}body .is-layout-grid{display:grid}.is-layout-grid>:is(*,div){margin:0}:where(.wp-block-columns.is-layout-flex){gap:2em}:where(.wp-block-columns.is-layout-grid){gap:2em}:where(.wp-block-post-template.is-layout-flex){gap:1.25em}:where(.wp-block-post-template.is-layout-grid){gap:1.25em}
		.has-black-color{color:var(--wp--preset--color--black)!important}.has-cyan-bluish-gray-color{color:var(--wp--preset--color--cyan-bluish-gray)!important}.has-white-color{color:var(--wp--preset--color--white)!important}.has-pale-pink-color{color:var(--wp--preset--color--pale-pink)!important}.has-vivid-red-color{color:var(--wp--preset--color--vivid-red)!important}.has-luminous-vivid-orange-color{color:var(--wp--preset--color--luminous-vivid-orange)!important}.has-luminous-vivid-amber-color{color:var(--wp--preset--color--luminous-vivid-amber)!important}.has-light-green-cyan-color{color:var(--wp--preset--color--light-green-cyan)!important}.has-vivid-green-cyan-color{color:var(--wp--preset--color--vivid-green-cyan)!important}.has-pale-cyan-blue-color{color:var(--wp--preset--color--pale-cyan-blue)!important}.has-vivid-cyan-blue-color{color:var(--wp--preset--color--vivid-cyan-blue)!important}.has-vivid-purple-color{color:var(--wp--preset--color--vivid-purple)!important}
		.has-black-background-color{background-color:var(--wp--preset--color--black)!important}.has-cyan-bluish-gray-background-color{background-color:var(--wp--preset--color--cyan-bluish-gray)!important}.has-white-background-color{background-color:var(--wp--preset--color--white)!important}.has-pale-pink-background-color{background-color:var(--wp--preset--color--pale-pink)!important}.has-vivid-red-background-color{background-color:var(--wp--preset--color--vivid-red)!important}.has-luminous-vivid-orange-background-color{background-color:var(--wp--preset--color--luminous-vivid-orange)!important}.has-luminous-vivid-amber-background-color{background-color:var(--wp--preset--color--luminous-vivid-amber)!important}.has-light-green-cyan-background-color{background-color:var(--wp--preset--color--light-green-cyan)!important}.has-vivid-green-cyan-background-color{background-color:var(--wp--preset--color--vivid-green-cyan)!important}.has-pale-cyan-blue-background-color{background-color:var(--wp--preset--color--pale-cyan-blue)!important}.has-vivid-cyan-blue-background-color{background-color:var(--wp--preset--color--vivid-cyan-blue)!important}.has-vivid-purple-background-color{background-color:var(--wp--preset--color--vivid-purple)!important}
		.has-black-border-color{border-color:var(--wp--preset--color--black)!important}.has-cyan-bluish-gray-border-color{border-color:var(--wp--preset--color--cyan-bluish-gray)!important}.has-white-border-color{border-color:var(--wp--preset--color--white)!important}.has-pale-pink-border-color{border-color:var(--wp--preset--color--pale-pink)!important}.has-vivid-red-border-color{border-color:var(--wp--preset--color--vivid-red)!important}.has-luminous-vivid-orange-border-color{border-color:var(--wp--preset--color--luminous-vivid-orange)!important}.has-luminous-vivid-amber-border-color{border-color:var(--wp--preset--color--luminous-vivid-amber)!important}.has-light-green-cyan-border-color{border-color:var(--wp--preset--color--light-green-cyan)!important}.has-vivid-green-cyan-border-color{border-color:var(--wp--preset--color--vivid-green-cyan)!important}.has-pale-cyan-blue-border-color{border-color:var(--wp--preset--color--pale-cyan-blue)!important}.has-vivid-cyan-blue-border-color{border-color:var(--wp--preset--color--vivid-cyan-blue)!important}.has-vivid-purple-border-color{border-color:var(--wp--preset--color--vivid-purple)!important}
		.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple)!important}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan)!important}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange)!important}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background:var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red)!important}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray)!important}.has-cool-to-warm-spectrum-gradient-background{background:var(--wp--preset--gradient--cool-to-warm-spectrum)!important}.has-blush-light-purple-gradient-background{background:var(--wp--preset--gradient--blush-light-purple)!important}.has-blush-bordeaux-gradient-background{background:var(--wp--preset--gradient--blush-bordeaux)!important}.has-luminous-dusk-gradient-background{background:var(--wp--preset--gradient--luminous-dusk)!important}.has-pale-ocean-gradient-background{background:var(--wp--preset--gradient--pale-ocean)!important}.has-electric-grass-gradient-background{background:var(--wp--preset--gradient--electric-grass)!important}.has-midnight-gradient-background{background:var(--wp--preset--gradient--midnight)!important}
		.has-small-font-size{font-size:var(--wp--preset--font-size--small)!important}.has-medium-font-size{font-size:var(--wp--preset--font-size--medium)!important}.has-large-font-size{font-size:var(--wp--preset--font-size--large)!important}.has-x-large-font-size{font-size:var(--wp--preset--font-size--x-large)!important}
	</style>

	<!-- Additional Elementor CSS -->
	<link rel='stylesheet' id='elementor-post-707-css' href='wp-content/uploads/elementor/css/post-707.css?ver=1764743643' media='all'>
	<link rel='stylesheet' id='widget-social-icons-css' href='wp-content/plugins/elementor/assets/css/widget-social-icons.min-1.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='e-apple-webkit-css' href='wp-content/plugins/elementor/assets/css/conditionals/apple-webkit.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='widget-icon-list-css' href='wp-content/plugins/elementor/assets/css/widget-icon-list.min-1.css?ver=3.30.3' media='all'>

<?php else: ?>
	<!-- ========== CUSTOM TEMPLATE CSS STACK ========== -->
	<link rel='stylesheet' id='font-awesome-5-all-css' href='wp-content/plugins/elementor/assets/lib/font-awesome/css/all.min.css?ver=1.0' media='all'>
	<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">

	<!-- Elementor & Plugin Styles -->
	<link rel='stylesheet' id='elementor-frontend-css' href='wp-content/plugins/elementor/assets/css/frontend.min.css?ver=3.30.3' media='all'>
	<link rel='stylesheet' id='elementor-post-28-css' href='wp-content/uploads/elementor/css/post-28.css' media='all'>
	<link rel='stylesheet' id='elementor-post-30-css' href='wp-content/uploads/elementor/css/post-30.css' media='all'>
	<link rel='stylesheet' id='elementor-post-597-css' href='wp-content/uploads/elementor/css/post-597.css' media='all'>
	<link rel='stylesheet' id='hfe-style-css' href='wp-content/plugins/header-footer-elementor/assets/css/header-footer-elementor.css?ver=2.4.6' media='all'>
	<link rel='stylesheet' id='hfe-widgets-style-css' href='wp-content/plugins/header-footer-elementor/inc/widgets-css/frontend.css?ver=2.4.6' media='all'>
	<link rel='stylesheet' id='ekit-widget-styles-css' href='wp-content/plugins/elementskit-lite/widgets/init/assets/css/widget-styles.css?ver=3.5.6' media='all'>
	<link rel='stylesheet' id='ekit-responsive-css' href='wp-content/plugins/elementskit-lite/widgets/init/assets/css/responsive.css?ver=3.5.6' media='all'>
	<link rel='stylesheet' id='elementor-icons-ekiticons-css' href='wp-content/plugins/elementskit-lite/modules/elementskit-icon-pack/assets/css/ekiticons.css?ver=3.5.6' media='all'>
	<link rel='stylesheet' id='hfe-elementor-icons-css' href='wp-content/plugins/elementor/assets/lib/eicons/css/elementor-icons.min.css?ver=5.34.0' media='all'>

	<!-- Theme Styles -->
	<link rel='stylesheet' id='google-fonts-css' href='https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap' media='all'>
	<link rel='stylesheet' id='header-css' href='wp-content/themes/maintheme/css/header.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='footer-css' href='wp-content/themes/maintheme/css/footer.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='loader-css' href='wp-content/themes/maintheme/css/loader.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='bootstrap-css' href='wp-content/themes/maintheme/css/bootstrap.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='animate-css' href='wp-content/themes/maintheme/css/animate.min.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='default-css' href='wp-content/themes/maintheme/css/default.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='style-new-css' href='wp-content/themes/maintheme/css/style.css?ver=1.1' media='all'>
	<link rel='stylesheet' id='responsive-css' href='wp-content/themes/maintheme/css/responsive.css?ver=1.1' media='all'>

	<!-- Page-specific CSS -->
	<?php echo $page_css; ?>

<?php endif; ?>

	<!-- Page-specific inline styles -->
	<?php echo $page_styles; ?>

</head>

<body class="<?php echo htmlspecialchars($page_body_class, ENT_QUOTES, 'UTF-8'); ?>">
	<div id="page" class="hfeed site">

	<header id="masthead" itemscope="itemscope" itemtype="https://schema.org/WPHeader">
		<p class="main-title bhf-hidden" itemprop="headline"><a href="home" title="Kalaimagal Music Academy" rel="home">Kalaimagal Music Academy</a></p>
		<!-- Top Bar -->
		<div class="km-topbar">
			<div class="km-container">
				<div class="km-topbar-left">
					<a href="mailto:Kalaimagalma2015@gmail.com" class="km-topbar-item">
						<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg>
						Kalaimagalma2015@gmail.com
					</a>
					<a href="tel:9080134797" class="km-topbar-item">
						<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"/></svg>
						9080134797
					</a>
				</div>
				<div class="km-topbar-right">
					<a href="#" aria-label="Facebook"><svg width="16" height="16" viewBox="0 0 512 512" fill="currentColor"><path d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"/></svg></a>
					<a href="#" aria-label="YouTube"><svg width="16" height="16" viewBox="0 0 576 512" fill="currentColor"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg></a>
					<a href="#" aria-label="LinkedIn"><svg width="16" height="16" viewBox="0 0 448 512" fill="currentColor"><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg></a>
				</div>
			</div>
		</div>
		<!-- Main Header -->
		<nav class="km-header" id="km-header">
			<div class="km-container km-header-inner">
				<a href="home" class="km-logo">
					<img src="wp-content/uploads/2023/12/side1.svg" alt="Kalaimagal Music Academy" width="220" height="60">
				</a>
				<ul class="km-nav" id="km-nav">
					<li><a href="home">Home</a></li>
					<li><a href="aboutus">About Us</a></li>
					<li class="km-has-dropdown">
						<a href="class">
							Classes
							<svg class="km-arrow" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>
						</a>
						<ul class="km-dropdown">
							<li><a href="veena">Veena Classes</a></li>
							<li><a href="violin">Violin Classes</a></li>
							<li><a href="piano">Piano Classes</a></li>
							<li><a href="key">Keyboard Classes</a></li>
							<li><a href="guitar">Guitar Classes</a></li>
							<li><a href="mouth">Mouth Organ Classes</a></li>
							<li><a href="composing">Composing</a></li>
						</ul>
					</li>
					<li><a href="contact">Contact Us</a></li>
				</ul>
				<div class="km-header-actions">
					<a href="contact" class="km-cta-btn">Get In Touch</a>
					<button class="km-hamburger" id="km-hamburger" type="button" aria-label="Open menu" aria-expanded="false">
						<span></span><span></span><span></span>
					</button>
				</div>
			</div>
		</nav>
		<!-- Mobile Menu Overlay -->
		<div class="km-overlay" id="km-overlay"></div>
		<!-- Mobile Slide-out Menu -->
		<div class="km-mobile-menu" id="km-mobile-menu">
			<div class="km-mobile-header">
				<a href="home" class="km-mobile-logo">
					<img src="wp-content/uploads/2023/12/loka.png" alt="Kalaimagal Music Academy" width="140" height="40">
				</a>
				<button class="km-close" id="km-close" type="button" aria-label="Close menu">
					<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="4" y1="4" x2="20" y2="20"/><line x1="20" y1="4" x2="4" y2="20"/></svg>
				</button>
			</div>
			<ul class="km-mobile-nav">
				<li><a href="home">Home</a></li>
				<li><a href="aboutus">About Us</a></li>
				<li class="km-mobile-has-dropdown">
					<div class="km-mobile-dropdown-trigger">
						<a href="class">Classes</a>
						<button class="km-mobile-toggle" type="button" aria-label="Toggle submenu" aria-expanded="false">
							<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>
						</button>
					</div>
					<ul class="km-mobile-dropdown">
						<li><a href="veena">Veena Classes</a></li>
						<li><a href="violin">Violin Classes</a></li>
						<li><a href="piano">Piano Classes</a></li>
						<li><a href="key">Keyboard Classes</a></li>
						<li><a href="guitar">Guitar Classes</a></li>
						<li><a href="mouth">Mouth Organ Classes</a></li>
						<li><a href="composing">Composing</a></li>
					</ul>
				</li>
				<li><a href="contact">Contact Us</a></li>
			</ul>
			<div class="km-mobile-footer">
				<a href="tel:9080134797" class="km-mobile-cta">
					<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"/></svg>
					Call: 9080134797
				</a>
				<a href="mailto:Kalaimagalma2015@gmail.com" class="km-mobile-email">Kalaimagalma2015@gmail.com</a>
			</div>
		</div>
		<script>
		(function() {
			'use strict';
			document.addEventListener('DOMContentLoaded', function() {
				var header = document.getElementById('km-header');
				var hamburger = document.getElementById('km-hamburger');
				var closeBtn = document.getElementById('km-close');
				var overlay = document.getElementById('km-overlay');
				var mobileMenu = document.getElementById('km-mobile-menu');
				var toggleBtns = document.querySelectorAll('.km-mobile-toggle');
				var lastScroll = 0;
				window.addEventListener('scroll', function() {
					var y = window.pageYOffset;
					if (y > 80) { header.classList.add('km-sticky'); } else { header.classList.remove('km-sticky'); }
					lastScroll = y;
				}, { passive: true });
				function openMenu() {
					mobileMenu.classList.add('open');
					overlay.classList.add('open');
					document.body.style.overflow = 'hidden';
					hamburger.setAttribute('aria-expanded', 'true');
				}
				function closeMenu() {
					mobileMenu.classList.remove('open');
					overlay.classList.remove('open');
					document.body.style.overflow = '';
					hamburger.setAttribute('aria-expanded', 'false');
					document.querySelectorAll('.km-mobile-has-dropdown.open').forEach(function(el) { el.classList.remove('open'); });
					toggleBtns.forEach(function(btn) { btn.setAttribute('aria-expanded', 'false'); });
				}
				hamburger.addEventListener('click', openMenu);
				closeBtn.addEventListener('click', closeMenu);
				overlay.addEventListener('click', closeMenu);
				document.addEventListener('keyup', function(e) { if (e.key === 'Escape') closeMenu(); });
				window.addEventListener('resize', function() { if (window.innerWidth > 1024) closeMenu(); });
				toggleBtns.forEach(function(btn) {
					btn.addEventListener('click', function(e) {
						e.preventDefault();
						var parent = btn.closest('.km-mobile-has-dropdown');
						var isOpen = parent.classList.contains('open');
						parent.classList.toggle('open', !isOpen);
						btn.setAttribute('aria-expanded', !isOpen ? 'true' : 'false');
					});
				});
				var dropdowns = document.querySelectorAll('.km-has-dropdown');
				dropdowns.forEach(function(item) {
					item.addEventListener('mouseenter', function() { item.classList.add('hover'); });
					item.addEventListener('mouseleave', function() { item.classList.remove('hover'); });
				});
			});
		})();
		</script>
	</header>
