| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/anandbalchikitsa.in/html/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Anand Bal Chikitsa β Caring for Every Child</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,600&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.js"></script>
<style>
:root {
--sky: #e0f4ff;
--teal: #1ec8a0;
--teal-dark: #13a882;
--navy: #0d3b5e;
--peach: #ffd6b3;
--sunshine: #ffe066;
--soft-white: #f7fdfb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'Nunito', sans-serif;
background: var(--soft-white);
color: var(--navy);
overflow-x: hidden;
}
/* ===== BACKGROUND BLOBS ===== */
.blob-bg {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
}
.blob {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.35;
}
.blob-1 { width: 500px; height: 500px; background: #b2f0e8; top: -100px; left: -150px; animation: float1 9s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: #ffe5cc; bottom: 10%; right: -100px; animation: float2 11s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; background: var(--sunshine); top: 40%; left: 50%; transform: translateX(-50%); animation: float3 13s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-25px,-35px)} }
@keyframes float3 { 0%,100%{transform:translateX(-50%) scale(1)} 50%{transform:translateX(-50%) scale(1.15)} }
/* ===== NAVBAR ===== */
nav {
position: fixed; top: 0; width: 100%; z-index: 100;
background: rgba(255,255,255,0.82);
backdrop-filter: blur(14px);
border-bottom: 1.5px solid #d4f0e8;
padding: 0.7rem 2rem;
}
.nav-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.nav-links a {
font-weight: 700; font-size: 0.92rem;
color: var(--navy); text-decoration: none; margin-left: 1.6rem;
position: relative; transition: color .2s;
}
.nav-links a::after {
content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px;
background: var(--teal); transition: width .3s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.btn-nav {
background: var(--teal); color: #fff; border: none; padding: .45rem 1.2rem;
border-radius: 50px; font-weight: 800; cursor: pointer; font-size: 0.9rem;
transition: background .2s, transform .2s;
}
.btn-nav:hover { background: var(--teal-dark); transform: scale(1.04); }
/* ===== LOGO ===== */
.logo-wrap { display: flex; align-items: center; gap: .7rem; }
.logo-icon { width: 46px; height: 46px; }
.logo-text-main { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-text-sub { font-size: 0.68rem; font-weight: 700; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; }
/* ===== HERO ===== */
#hero {
min-height: 100vh;
display: flex; align-items: center; justify-content: center;
padding: 8rem 2rem 4rem;
position: relative;
}
.hero-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
display: inline-flex; align-items: center; gap: .5rem;
background: #d4faf0; color: var(--teal-dark);
padding: .3rem .9rem; border-radius: 50px; font-size: .8rem; font-weight: 800;
margin-bottom: 1.2rem; letter-spacing: .04em;
}
.hero-badge span { font-size: 1rem; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem,4vw,3.4rem); line-height: 1.15; color: var(--navy); margin-bottom: 1.1rem; }
h1 em { font-style: italic; color: var(--teal); }
.hero-desc { font-size: 1.05rem; color: #3a5a72; line-height: 1.7; margin-bottom: 2rem; }
.btn-primary {
background: var(--teal); color: #fff; border: none;
padding: .85rem 2rem; border-radius: 50px; font-size: 1rem; font-weight: 800;
cursor: pointer; transition: all .25s; display: inline-flex; align-items: center; gap: .5rem;
box-shadow: 0 8px 28px rgba(30,200,160,.28);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(30,200,160,.38); }
.btn-outline {
background: transparent; color: var(--navy); border: 2px solid #b2dde8;
padding: .82rem 1.8rem; border-radius: 50px; font-size: 1rem; font-weight: 800;
cursor: pointer; margin-left: 1rem; transition: all .25s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
/* Hero illustration */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-circle-bg {
width: 380px; height: 380px; border-radius: 50%;
background: linear-gradient(135deg, #d4faf0, #ffe5cc);
position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-emoji { font-size: 7rem; filter: drop-shadow(0 8px 24px rgba(30,200,160,.18)); animation: bobble 3s ease-in-out infinite; }
@keyframes bobble { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.stat-card {
position: absolute; background: #fff; border-radius: 16px; padding: .7rem 1.1rem;
box-shadow: 0 6px 24px rgba(13,59,94,.1); display: flex; align-items: center; gap: .6rem;
font-weight: 800; font-size: .88rem; color: var(--navy);
}
.stat-card .num { font-size: 1.3rem; color: var(--teal); }
.stat-1 { bottom: 30px; left: -20px; animation: floatCard 4s ease-in-out infinite; }
.stat-2 { top: 30px; right: -10px; animation: floatCard 4s ease-in-out infinite .8s; }
.stat-3 { top: 50%; right: -30px; transform: translateY(-50%); animation: floatCard 4s ease-in-out infinite 1.6s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.stat-3 { transform: translateY(-50%); animation: floatCard3 4s ease-in-out infinite 1.6s; }
@keyframes floatCard3 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 8px))} }
/* ===== SECTION BASE ===== */
section { position: relative; z-index: 1; }
.section-label {
display: inline-block; background: #d4faf0; color: var(--teal-dark);
padding: .25rem .9rem; border-radius: 50px; font-size: .75rem; font-weight: 800;
letter-spacing: .07em; text-transform: uppercase; margin-bottom: .8rem;
}
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.5rem); color: var(--navy); margin-bottom: 1rem; }
.section-sub { color: #3a5a72; font-size: 1.02rem; line-height: 1.7; max-width: 600px; }
/* ===== SERVICES ===== */
#services { padding: 6rem 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.srv-card {
background: #fff; border-radius: 20px; padding: 1.8rem 1.4rem;
box-shadow: 0 4px 20px rgba(13,59,94,.07);
border: 1.5px solid #e8f8f3; transition: all .3s; cursor: default; position: relative; overflow: hidden;
}
.srv-card::before {
content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
background: var(--teal); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.srv-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(30,200,160,.15); border-color: #b2f0e8; }
.srv-card:hover::before { transform: scaleX(1); }
.srv-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.srv-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.srv-desc { font-size: .87rem; color: #5a7a8a; line-height: 1.6; }
/* ===== WHY US ===== */
#why { padding: 5rem 2rem; background: linear-gradient(135deg, #f0fbf7, #fff9f0); }
.why-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.why-item {
display: flex; gap: 1rem; align-items: flex-start;
background: #fff; border-radius: 16px; padding: 1.2rem;
box-shadow: 0 3px 14px rgba(13,59,94,.06); border: 1.5px solid #e0f8f0;
transition: transform .25s;
}
.why-item:hover { transform: translateX(6px); }
.why-dot { width: 42px; height: 42px; background: #d4faf0; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.3rem; }
.why-text h4 { font-weight: 800; font-size: .97rem; color: var(--navy); margin-bottom: .2rem; }
.why-text p { font-size: .85rem; color: #5a7a8a; line-height: 1.55; }
.big-art { font-size: 10rem; text-align: center; animation: bobble 3.5s ease-in-out infinite; }
.big-art-card {
background: linear-gradient(135deg, #d4faf0, #fff9e0);
border-radius: 28px; padding: 3rem 2rem; text-align: center; position: relative;
box-shadow: 0 10px 40px rgba(30,200,160,.12);
}
.big-art-card h3 { font-family: 'Playfair Display',serif; font-size: 1.6rem; color: var(--navy); margin-top: .5rem; }
.big-art-card p { font-size: .9rem; color: #5a7a8a; margin-top: .3rem; }
/* ===== PROCESS ===== */
#process { padding: 6rem 2rem; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 3rem; max-width: 1100px; margin-left: auto; margin-right: auto; position: relative; }
.process-steps::before {
content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
background: linear-gradient(to right, var(--teal), var(--sunshine)); z-index: 0;
}
.step-card { background: #fff; border-radius: 20px; padding: 1.6rem 1.2rem; text-align: center; box-shadow: 0 4px 18px rgba(13,59,94,.07); border: 1.5px solid #e8f8f3; position: relative; z-index: 1; transition: transform .3s; }
.step-card:hover { transform: translateY(-6px); }
.step-num { width: 52px; height: 52px; background: var(--teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; margin: 0 auto 1rem; box-shadow: 0 4px 14px rgba(30,200,160,.3); }
.step-title { font-weight: 800; font-size: .97rem; color: var(--navy); margin-bottom: .4rem; }
.step-desc { font-size: .84rem; color: #5a7a8a; line-height: 1.55; }
/* ===== TESTIMONIALS ===== */
#testimonials { padding: 5rem 2rem; background: linear-gradient(135deg, #f0f8ff, #f7fff9); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 3rem; max-width: 1100px; margin-left: auto; margin-right: auto; }
.testi-card {
background: #fff; border-radius: 20px; padding: 1.8rem;
box-shadow: 0 4px 20px rgba(13,59,94,.08); border: 1.5px solid #e8f8f3; position: relative;
transition: transform .25s;
}
.testi-card:hover { transform: translateY(-5px); }
.testi-quote { font-size: 2.5rem; color: #b2f0e8; font-family: Georgia, serif; line-height: 1; margin-bottom: .5rem; }
.testi-text { font-size: .93rem; color: #3a5a72; line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #d4faf0, #ffe5cc); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.testi-name { font-weight: 800; font-size: .88rem; color: var(--navy); }
.testi-role { font-size: .78rem; color: var(--teal); font-weight: 700; }
.stars { color: #ffc107; font-size: .85rem; margin-bottom: .5rem; }
/* ===== CONTACT ===== */
#contact { padding: 6rem 2rem; }
.contact-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.ci-icon { width: 44px; height: 44px; background: #d4faf0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.ci-text h4 { font-weight: 800; font-size: .93rem; color: var(--navy); }
.ci-text p { font-size: .87rem; color: #5a7a8a; line-height: 1.55; }
.form-card { background: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: 0 8px 40px rgba(13,59,94,.1); border: 1.5px solid #e0f8f0; }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
label { font-size: .82rem; font-weight: 800; color: var(--navy); display: block; margin-bottom: .35rem; }
input, select, textarea {
width: 100%; padding: .72rem 1rem; border: 1.5px solid #d4eef5; border-radius: 12px;
font-family: 'Nunito', sans-serif; font-size: .92rem; color: var(--navy);
background: #f7fdfc; transition: border-color .2s, box-shadow .2s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,200,160,.12); }
textarea { resize: vertical; min-height: 90px; }
.btn-submit {
width: 100%; background: var(--teal); color: #fff; border: none; padding: .9rem;
border-radius: 50px; font-size: 1rem; font-weight: 800; cursor: pointer;
transition: all .25s; box-shadow: 0 6px 24px rgba(30,200,160,.25);
font-family: 'Nunito', sans-serif;
}
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30,200,160,.35); }
/* ===== FOOTER ===== */
footer { background: var(--navy); color: #a8d4e8; padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
footer h4 { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: .8rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .45rem; }
footer ul li a { color: #a8d4e8; text-decoration: none; font-size: .87rem; transition: color .2s; }
footer ul li a:hover { color: var(--teal); }
.footer-desc { font-size: .87rem; line-height: 1.65; margin-top: .6rem; max-width: 280px; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.heart { color: #ff6b8a; }
/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: all .7s cubic-bezier(.22,.61,.36,1); }
/* ===== HAMBURGER ===== */
.hamburger {
display: none; flex-direction: column; gap: 5px;
cursor: pointer; padding: 6px; border: none; background: transparent; z-index: 200;
}
.hamburger span {
display: block; width: 24px; height: 2.5px;
background: var(--navy); border-radius: 4px; transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
display: none;
position: fixed; top: 62px; left: 0; right: 0;
background: rgba(255,255,255,0.98);
backdrop-filter: blur(18px);
border-bottom: 1.5px solid #d4f0e8;
padding: 1rem 1.5rem 1.4rem;
z-index: 98;
box-shadow: 0 8px 32px rgba(13,59,94,.1);
transform: translateY(-8px); opacity: 0;
transition: all .3s cubic-bezier(.22,.61,.36,1);
pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
display: block; font-weight: 700; font-size: 1rem;
color: var(--navy); text-decoration: none;
padding: .72rem 0; border-bottom: 1px solid #e8f8f3; transition: color .2s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn-mobile {
display: block; margin-top: 1rem; background: var(--teal); color: #fff;
text-align: center; padding: .75rem; border-radius: 50px; font-weight: 800;
font-size: .95rem; border: none; cursor: pointer; width: 100%;
font-family: 'Nunito', sans-serif; transition: background .2s;
}
.mobile-menu .btn-mobile:hover { background: var(--teal-dark); }
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
nav { padding: 0.55rem 1.1rem; }
.nav-links { display: none; }
.btn-nav { display: none; }
.hamburger { display: flex; }
.mobile-menu { display: block; }
.logo-wrap svg { height: 36px; }
.hero-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
.process-steps::before { display: none; }
.hero-art { display: none; }
.form-row { grid-template-columns: 1fr; }
/* Footer mobile fix */
.footer-inner {
grid-template-columns: 1fr 1fr;
gap: 1.8rem 1.2rem;
}
.footer-inner > div:first-child {
grid-column: 1 / -1;
}
.footer-inner > div:first-child svg {
height: 38px;
max-width: 100%;
}
.footer-desc { max-width: 100%; }
footer { padding: 2.2rem 1.2rem 1.2rem; }
.footer-bottom {
flex-direction: column; gap: .5rem;
text-align: center; font-size: .78rem;
}
#whatsapp-btn { bottom: 18px; right: 18px; width: 52px; height: 52px; }
#whatsapp-btn svg { width: 28px; height: 28px; }
#wa-tooltip { display: none; }
}
@media (max-width: 400px) {
.logo-wrap svg { height: 30px; }
}
/* Bounce in animation for counters */
@keyframes countUp { from { opacity:0; transform:scale(.5); } to { opacity:1; transform:scale(1); } }
/* Pulse for CTA */
.pulse-ring {
position: absolute; inset: -6px; border-radius: 50px;
border: 2px solid rgba(30,200,160,.4); animation: pulse-anim 2s ease-out infinite;
}
@keyframes pulse-anim { 0%{opacity:1;transform:scale(1)} 100%{opacity:0;transform:scale(1.15)} }
#whatsapp-btn {
position: fixed;
bottom: 28px;
right: 28px;
z-index: 999;
width: 60px;
height: 60px;
background: #25d366;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 28px rgba(37,211,102,.45);
cursor: pointer;
text-decoration: none;
transition: transform .25s, box-shadow .25s;
animation: wa-pulse 2.5s ease-in-out infinite;
}
#whatsapp-btn:hover {
transform: scale(1.12);
box-shadow: 0 10px 36px rgba(37,211,102,.6);
animation: none;
}
#whatsapp-btn svg {
width: 32px;
height: 32px;
}
@keyframes wa-pulse {
0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,.45); }
50% { box-shadow: 0 6px 28px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,.12); }
}
#wa-tooltip {
position: fixed;
bottom: 38px;
right: 96px;
background: #fff;
color: #0d3b5e;
font-family: 'Nunito', sans-serif;
font-size: .85rem;
font-weight: 800;
padding: .5rem 1rem;
border-radius: 50px;
box-shadow: 0 4px 20px rgba(13,59,94,.13);
border: 1.5px solid #d4faf0;
white-space: nowrap;
opacity: 0;
transform: translateY(6px);
transition: opacity .25s, transform .25s;
pointer-events: none;
z-index: 998;
}
#wa-tooltip::after {
content: '';
position: absolute;
right: -7px;
top: 50%;
transform: translateY(-50%);
border: 7px solid transparent;
border-right: none;
border-left-color: #d4faf0;
}
</style>
</head>
<body>
<!-- Ambient blobs -->
<div class="blob-bg">
<div class="blob blob-1"></div>
<div class="blob blob-2"></div>
<div class="blob blob-3"></div>
</div>
<!-- ===== NAVBAR ===== -->
<nav>
<div class="nav-inner">
<!-- Horizontal SVG Logo -->
<div class="logo-wrap">
<svg height="60" viewBox="0 0 620 120" xmlns="http://w3.org" style="display:block;">
<defs>
<linearGradient id="nbCircleGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#e8fdf6"></stop>
<stop offset="100%" stop-color="#c4f2e3"></stop>
</linearGradient>
<linearGradient id="stethGrad" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#00a896"></stop>
<stop offset="100%" stop-color="#028090"></stop>
</linearGradient>
</defs>
<!-- Outer Circle -->
<circle cx="60" cy="60" r="52" fill="url(#nbCircleGrad)" stroke="#1ec8a0" stroke-width="1.8"></circle>
<!-- Child Face -->
<g id="child-face">
<circle cx="41" cy="52" r="4.5" fill="#fff" stroke="#1ec8a0" stroke-width="1.2"></circle>
<circle cx="79" cy="52" r="4.5" fill="#fff" stroke="#1ec8a0" stroke-width="1.2"></circle>
<circle cx="60" cy="52" r="19" fill="#fff" stroke="#1ec8a0" stroke-width="1.5"></circle>
<path d="M45 40 Q50 25 60 33 Q70 25 75 40" fill="none" stroke="#0d3b5e" stroke-width="2.5" stroke-linecap="round"></path>
<circle cx="53" cy="50" r="2.5" fill="#0d3b5e"></circle>
<circle cx="67" cy="50" r="2.5" fill="#0d3b5e"></circle>
<path d="M52 60 Q60 68 68 60" fill="none" stroke="#0d3b5e" stroke-width="2.5" stroke-linecap="round"></path>
</g>
<!-- Colorful Stethoscope -->
<g id="stethoscope">
<path d="M38 45 Q35 75 60 75 Q85 75 82 45" fill="none" stroke="url(#stethGrad)" stroke-width="3.5" stroke-linecap="round"></path>
<path d="M60 75 L60 90" fill="none" stroke="url(#stethGrad)" stroke-width="3.5" stroke-linecap="round"></path>
<circle cx="60" cy="98" r="10" fill="#0d3b5e" stroke="#00a896" stroke-width="2"></circle>
<circle cx="60" cy="98" r="3" fill="#00a896"></circle>
</g>
<!-- Divider -->
<rect x="128" y="30" width="1.5" height="60" rx="1" fill="#1ec8a0" opacity="0.3"></rect>
<!-- Professional Name Text -->
<text x="142" y="72" font-family="'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="38" font-weight="600" fill="#0d3b5e" letter-spacing="-0.5">
Anand Bal <tspan font-weight="400" fill="#1a5a80">Chikitsa</tspan>
</text>
</svg>
</div>
<div class="nav-links">
<a href="#services">Services</a>
<a href="#why">Why Us</a>
<a href="#process">Process</a>
<a href="#testimonials">Reviews</a>
<a href="#contact">Contact</a>
</div>
<button class="btn-nav" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">Book Appointment</button>
<button class="hamburger" id="hamburger" aria-label="Toggle menu" onclick="toggleMenu()">
<span></span><span></span><span></span>
</button>
</div>
</nav>
<!-- Mobile menu -->
<div class="mobile-menu" id="mobile-menu">
<a href="#services" onclick="closeMenu()">Services</a>
<a href="#why" onclick="closeMenu()">Why Us</a>
<a href="#process" onclick="closeMenu()">Process</a>
<a href="#testimonials" onclick="closeMenu()">Reviews</a>
<a href="#contact" onclick="closeMenu()">Contact</a>
<button class="btn-mobile" onclick="closeMenu(); document.getElementById('contact').scrollIntoView({behavior:'smooth'})">📅 Book Appointment</button>
</div>
<!-- ===== HERO ===== -->
<section id="hero">
<div class="hero-inner">
<div>
<div class="hero-badge"><span>π</span> Trusted Pediatric Care</div>
<h1>Nurturing <em>Healthy</em> & Happy Children</h1>
<p class="hero-desc">Comprehensive medical care for children from birth through adolescence β delivered with warmth, expertise, and a gentle touch that puts both child and parent at ease.</p>
<div style="display:flex; align-items:center; flex-wrap:wrap; gap:.5rem;">
<div style="position:relative;display:inline-block;">
<div class="pulse-ring"></div>
<button class="btn-primary" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">π
Book Appointment</button>
</div>
<button class="btn-outline" onclick="document.getElementById('services').scrollIntoView({behavior:'smooth'})">Our Services</button>
</div>
<div style="display:flex;gap:2.5rem;margin-top:2rem;">
<div><div style="font-size:1.6rem;font-weight:900;color:var(--teal);" id="c1">0+</div><div style="font-size:.8rem;color:#5a7a8a;font-weight:700;">Happy Families</div></div>
<div><div style="font-size:1.6rem;font-weight:900;color:var(--teal);" id="c2">0+</div><div style="font-size:.8rem;color:#5a7a8a;font-weight:700;">Years Experience</div></div>
<div><div style="font-size:1.6rem;font-weight:900;color:var(--teal);" id="c3">0+</div><div style="font-size:.8rem;color:#5a7a8a;font-weight:700;">Services Offered</div></div>
</div>
</div>
<div class="hero-art">
<div class="hero-circle-bg">
<span class="hero-emoji">πΆ</span>
<div class="stat-card stat-1">
<span class="num">24/7</span>
<span>Emergency<br>Care</span>
</div>
<div class="stat-card stat-2">
<span style="font-size:1.3rem">π</span>
<span>Top Rated<br>Pediatrics</span>
</div>
<div class="stat-card stat-3">
<span class="num">π</span>
<span>Gentle &<br>Kind Care</span>
</div>
</div>
</div>
</div>
</section>
<!-- ===== SERVICES ===== -->
<section id="services">
<div style="max-width:1200px;margin:auto;text-align:center;" class="reveal">
<span class="section-label">What We Offer</span>
<h2 class="section-title">Comprehensive Pediatric Services</h2>
<p class="section-sub" style="margin:0 auto;">From newborn care to adolescent health, we offer a full spectrum of services designed to keep every child thriving at every stage of life.</p>
</div>
<div class="services-grid">
<!-- Cards -->
<div class="srv-card reveal">
<span class="srv-icon">πΌ</span>
<div class="srv-title">Newborn & Neonatal Care</div>
<div class="srv-desc">Complete health assessment for newborns including APGAR scoring, feeding guidance, jaundice monitoring, and early developmental support.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π</span>
<div class="srv-title">Vaccinations & Immunizations</div>
<div class="srv-desc">Full National Immunization Program (NIP) schedule plus travel vaccines, keeping your child protected from preventable diseases.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π</span>
<div class="srv-title">Growth & Development Monitoring</div>
<div class="srv-desc">Regular tracking of height, weight, BMI, and developmental milestones to ensure your child is on the right growth trajectory.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π«</span>
<div class="srv-title">Respiratory Care</div>
<div class="srv-desc">Expert management of asthma, bronchiolitis, pneumonia, croup, and chronic respiratory conditions in children of all ages.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π§ </span>
<div class="srv-title">Neurodevelopmental Assessment</div>
<div class="srv-desc">Early screening and management of developmental delays, ADHD, autism spectrum, learning disabilities, and behavioral concerns.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π¦·</span>
<div class="srv-title">Nutrition & Dietary Counseling</div>
<div class="srv-desc">Personalized feeding plans, complementary food introduction, management of malnutrition, obesity, and food allergies.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π©Έ</span>
<div class="srv-title">Pediatric Hematology</div>
<div class="srv-desc">Diagnosis and management of anemia, thalassemia, hemophilia, immune thrombocytopenia, and other blood disorders in children.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π€’</span>
<div class="srv-title">Infectious Disease Management</div>
<div class="srv-desc">Treatment of fever, typhoid, dengue, malaria, viral illnesses, and recurrent infections with evidence-based protocols.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π«</span>
<div class="srv-title">Pediatric Cardiology Screening</div>
<div class="srv-desc">Evaluation of congenital heart defects, murmurs, arrhythmias, and referral management for complex cardiac conditions.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π¬</span>
<div class="srv-title">Allergy & Immunology</div>
<div class="srv-desc">Skin prick testing, management of allergic rhinitis, eczema, food allergies, anaphylaxis, and immune deficiency disorders.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π</span>
<div class="srv-title">Adolescent Health</div>
<div class="srv-desc">Confidential care for teens covering puberty, sports fitness, mental health, reproductive health awareness, and lifestyle counseling.</div>
</div>
<div class="srv-card reveal">
<span class="srv-icon">π¨</span>
<div class="srv-title">Pediatric Emergency Care</div>
<div class="srv-desc">Round-the-clock management of acute illness, febrile seizures, dehydration, trauma, and critical emergencies in children.</div>
</div>
</div>
</section>
<!-- ===== WHY US ===== -->
<section id="why">
<div class="why-inner">
<div class="reveal">
<span class="section-label">Why Choose Us</span>
<h2 class="section-title">Where Children Come First, Always</h2>
<p class="section-sub">We combine medical excellence with heartfelt compassion β because your child deserves the very best start in life.</p>
<div class="why-list">
<div class="why-item">
<div class="why-dot">π
</div>
<div class="why-text">
<h4>Board-Certified Pediatricians</h4>
<p>Our doctors hold advanced pediatric qualifications and stay updated with the latest evidence-based practices.</p>
</div>
</div>
<div class="why-item">
<div class="why-dot">π</div>
<div class="why-text">
<h4>Child-Friendly Environment</h4>
<p>Playful waiting rooms, gentle examination techniques, and a calming atmosphere that puts even the most anxious child at ease.</p>
</div>
</div>
<div class="why-item">
<div class="why-dot">π¨βπ©βπ§</div>
<div class="why-text">
<h4>Family-Centered Approach</h4>
<p>We involve parents in every step of the care plan, ensuring you understand and feel confident in your child's treatment.</p>
</div>
</div>
<div class="why-item">
<div class="why-dot">π±</div>
<div class="why-text">
<h4>Digital Health Records & Teleconsult</h4>
<p>Secure digital records, online appointment booking, and telemedicine consultations for your convenience.</p>
</div>
</div>
</div>
</div>
<div class="reveal" style="display:flex;flex-direction:column;gap:1.2rem;">
<div class="big-art-card">
<div class="big-art">π§ββοΈ</div>
<h3>Expert, Compassionate Doctors</h3>
<p>Trained to heal bodies and nurture souls</p>
</div>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:1rem;">
<div style="background:#fff;border-radius:16px;padding:1.2rem;text-align:center;box-shadow:0 4px 18px rgba(13,59,94,.07);border:1.5px solid #e8f8f3;">
<div style="font-size:2rem;">π</div>
<div style="font-weight:800;font-size:.9rem;color:var(--navy);margin-top:.3rem;">Multilingual</div>
<div style="font-size:.78rem;color:#5a7a8a;margin-top:.2rem;">Hindi & English consultations</div>
</div>
<div style="background:#fff;border-radius:16px;padding:1.2rem;text-align:center;box-shadow:0 4px 18px rgba(13,59,94,.07);border:1.5px solid #e8f8f3;">
<div style="font-size:2rem;">π</div>
<div style="font-weight:800;font-size:.9rem;color:var(--navy);margin-top:.3rem;">Flexible Hours</div>
<div style="font-size:.78rem;color:#5a7a8a;margin-top:.2rem;">Evening & weekend slots</div>
</div>
</div>
</div>
</div>
</section>
<!-- ===== PROCESS ===== -->
<section id="process">
<div style="max-width:1100px;margin:auto;text-align:center;" class="reveal">
<span class="section-label">How It Works</span>
<h2 class="section-title">Your Child's Care Journey</h2>
<p class="section-sub" style="margin:0 auto;">From your first call to follow-up, we make every step simple, transparent, and reassuring.</p>
</div>
<div class="process-steps">
<div class="step-card reveal">
<div class="step-num">1</div>
<div class="step-title">Book Appointment</div>
<div class="step-desc">Call, walk in, or book online. Choose your preferred date, time, and reason for visit.</div>
</div>
<div class="step-card reveal">
<div class="step-num">2</div>
<div class="step-title">Initial Consultation</div>
<div class="step-desc">Our doctor takes a detailed medical history, listens carefully, and examines your child with utmost gentleness.</div>
</div>
<div class="step-card reveal">
<div class="step-num">3</div>
<div class="step-title">Diagnosis & Plan</div>
<div class="step-desc">We explain findings in simple language and create a personalized treatment or wellness plan.</div>
</div>
<div class="step-card reveal">
<div class="step-num">4</div>
<div class="step-title">Treatment & Care</div>
<div class="step-desc">Prescriptions, vaccinations, therapies, or referrals β handled in-house wherever possible.</div>
</div>
<div class="step-card reveal">
<div class="step-num">5</div>
<div class="step-title">Follow-Up & Support</div>
<div class="step-desc">Regular check-ins, progress monitoring, and 24/7 guidance for any post-visit concerns.</div>
</div>
</div>
</section>
<!-- ===== TESTIMONIALS ===== -->
<section id="testimonials">
<div style="max-width:1100px;margin:auto;text-align:center;" class="reveal">
<span class="section-label">Parent Stories</span>
<h2 class="section-title">What Families Say About Us</h2>
</div>
<div class="testi-grid">
<div class="testi-card reveal">
<div class="stars">β
β
β
β
β
</div>
<div class="testi-quote">"</div>
<div class="testi-text">The doctor was incredibly patient with my 2-year-old who kept crying. They explained everything to me clearly and my child's fever was resolved within days. We feel so safe here!</div>
<div class="testi-author">
<div class="testi-avatar">π©</div>
<div>
<div class="testi-name">Priya Sharma</div>
<div class="testi-role">Mother of Aarav, 2 yrs</div>
</div>
</div>
</div>
<div class="testi-card reveal">
<div class="stars">β
β
β
β
β
</div>
<div class="testi-quote">"</div>
<div class="testi-text">My son has been a patient here since birth. The vaccination schedule, growth tracking, everything is managed so professionally. The staff is warm and the clinic is spotlessly clean.</div>
<div class="testi-author">
<div class="testi-avatar">π¨</div>
<div>
<div class="testi-name">Rajesh Gupta</div>
<div class="testi-role">Father of Ishaan, 4 yrs</div>
</div>
</div>
</div>
<div class="testi-card reveal">
<div class="stars">β
β
β
β
β
</div>
<div class="testi-quote">"</div>
<div class="testi-text">My daughter was diagnosed with a food allergy and I was very worried. The doctor gave us a complete plan, was available on call, and my daughter is now thriving. Forever grateful!</div>
<div class="testi-author">
<div class="testi-avatar">π©βπ¦±</div>
<div>
<div class="testi-name">Sunita Verma</div>
<div class="testi-role">Mother of Diya, 6 yrs</div>
</div>
</div>
</div>
</div>
</section>
<!-- ===== CONTACT ===== -->
<section id="contact">
<div style="max-width:1100px;margin:auto;text-align:center;" class="reveal">
<span class="section-label">Get in Touch</span>
<h2 class="section-title">Book an Appointment Today</h2>
<p class="section-sub" style="margin:0 auto 3rem;">Your child's health is our priority. Reach out to schedule a consultation or ask any questions β we're here to help.</p>
</div>
<div class="contact-inner">
<div class="reveal">
<div class="contact-info-item">
<div class="ci-icon">π</div>
<div class="ci-text"><h4>Our Location</h4><p>Anand Bal Chikitsa Clinic<br>Available across your city β call for nearest center</p></div>
</div>
<div class="contact-info-item">
<div class="ci-icon">π</div>
<div class="ci-text"><h4>Phone / WhatsApp</h4><p>+91 70651 66992</p></div>
</div>
<div class="contact-info-item">
<div class="ci-icon">π</div>
<div class="ci-text"><h4>Clinic Hours</h4><p>MonβSat: 9:00 AM β 8:00 PM<br>Sunday: 10:00 AM β 2:00 PM (Emergency 24/7)</p></div>
</div>
<div class="contact-info-item">
<div class="ci-icon">π§</div>
<div class="ci-text"><h4>Email</h4><p><a href="mailto:happyanand99@gmail.com" class="__cf_email__" data-cfemail="7c1f1d0e193c1d121d12181e1d101f14151715080f1d521512"> happyanand99@gmail.com</a></p></div>
</div>
<div style="margin-top:1.5rem;background:linear-gradient(135deg,#d4faf0,#fff9e0);border-radius:20px;padding:1.4rem;border:1.5px solid #b2f0e8;">
<div style="font-weight:800;color:var(--navy);margin-bottom:.4rem;">π¨ Pediatric Emergency?</div>
<div style="font-size:.88rem;color:#3a5a72;line-height:1.6;">Don't wait β call our emergency line immediately. We provide 24/7 guidance and referral support for all pediatric emergencies.</div>
</div>
</div>
<div class="form-card reveal">
<div class="form-title">Book an Appointment</div>
<form id="booking-form" novalidate>
<div class="form-row">
<div class="form-group">
<label for="parent_name">Parent's Name <span style="color:#e24b4a">*</span></label>
<input type="text" id="parent_name" name="parent_name" placeholder="Your full name" required/>
</div>
<div class="form-group">
<label for="phone">Phone Number <span style="color:#e24b4a">*</span></label>
<input type="tel" id="phone" name="phone" placeholder="+91 XXXXX XXXXX" required/>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="child_name">Child's Name <span style="color:#e24b4a">*</span></label>
<input type="text" id="child_name" name="child_name" placeholder="Child's name" required/>
</div>
<div class="form-group">
<label for="child_age">Child's Age</label>
<input type="text" id="child_age" name="child_age" placeholder="e.g. 2 years 3 months"/>
</div>
</div>
<div class="form-group">
<label for="service">Service Needed</label>
<select id="service" name="service">
<option value="">Select a serviceβ¦</option>
<option>Newborn / Neonatal Care</option>
<option>Vaccination / Immunization</option>
<option>Growth & Development Check</option>
<option>Respiratory / Breathing Issues</option>
<option>Neurodevelopmental Assessment</option>
<option>Nutrition Counseling</option>
<option>Fever / Infection</option>
<option>Allergy & Immunology</option>
<option>Adolescent Health</option>
<option>Emergency / Urgent Care</option>
<option>Other</option>
</select>
</div>
<div class="form-group">
<label for="message">Message / Symptoms</label>
<textarea id="message" name="message" placeholder="Briefly describe your child's symptoms or your concernβ¦"></textarea>
</div>
<!-- Inline feedback -->
<div id="form-feedback" style="display:none;margin-bottom:.9rem;padding:.75rem 1rem;border-radius:12px;font-size:.9rem;font-weight:700;"></div>
<button type="submit" class="btn-submit" id="btn-submit">π
Confirm Appointment</button>
</form>
</div>
</div>
</section>
<!-- ===== FOOTER ===== -->
<footer>
<div class="footer-inner">
<div>
<!-- Footer horizontal logo (dark variant) -->
<div style="margin-bottom:.8rem;">
<svg height="60" viewBox="0 0 620 120" xmlns="http://w3.org" style="display:block;">
<defs>
<linearGradient id="nbCircleGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#e8fdf6"></stop>
<stop offset="100%" stop-color="#c4f2e3"></stop>
</linearGradient>
<linearGradient id="stethGrad" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#00a896"></stop>
<stop offset="100%" stop-color="#028090"></stop>
</linearGradient>
</defs>
<!-- Outer Circle -->
<circle cx="60" cy="60" r="52" fill="url(#nbCircleGrad)" stroke="#1ec8a0" stroke-width="1.8"></circle>
<!-- Child Face -->
<g id="child-face">
<circle cx="41" cy="52" r="4.5" fill="#fff" stroke="#1ec8a0" stroke-width="1.2"></circle>
<circle cx="79" cy="52" r="4.5" fill="#fff" stroke="#1ec8a0" stroke-width="1.2"></circle>
<circle cx="60" cy="52" r="19" fill="#fff" stroke="#1ec8a0" stroke-width="1.5"></circle>
<path d="M45 40 Q50 25 60 33 Q70 25 75 40" fill="none" stroke="#0d3b5e" stroke-width="2.5" stroke-linecap="round"></path>
<circle cx="53" cy="50" r="2.5" fill="#0d3b5e"></circle>
<circle cx="67" cy="50" r="2.5" fill="#0d3b5e"></circle>
<path d="M52 60 Q60 68 68 60" fill="none" stroke="#0d3b5e" stroke-width="2.5" stroke-linecap="round"></path>
</g>
<!-- Colorful Stethoscope -->
<g id="stethoscope">
<path d="M38 45 Q35 75 60 75 Q85 75 82 45" fill="none" stroke="url(#stethGrad)" stroke-width="3.5" stroke-linecap="round"></path>
<path d="M60 75 L60 90" fill="none" stroke="url(#stethGrad)" stroke-width="3.5" stroke-linecap="round"></path>
<circle cx="60" cy="98" r="10" fill="#0d3b5e" stroke="#00a896" stroke-width="2"></circle>
<circle cx="60" cy="98" r="3" fill="#00a896"></circle>
</g>
<!-- Divider -->
<rect x="128" y="30" width="1.5" height="60" rx="1" fill="#1ec8a0" opacity="0.3"></rect>
<!-- Professional Name Text -->
<text x="142" y="72" font-family="'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="38" font-weight="600" fill="#0d3b5e" letter-spacing="-0.5">
Anand Bal <tspan font-weight="400" fill="#1a5a80">Chikitsa</tspan>
</text>
</svg>
</div>
<div class="footer-desc">Dedicated to the health and happiness of every child. Providing compassionate, expert pediatric care from newborn to adolescence.</div>
</div>
<div>
<h4>Services</h4>
<ul>
<li><a href="#services">Newborn Care</a></li>
<li><a href="#services">Vaccinations</a></li>
<li><a href="#services">Growth Monitoring</a></li>
<li><a href="#services">Respiratory Care</a></li>
<li><a href="#services">Neurodevelopment</a></li>
<li><a href="#services">Emergency Care</a></li>
</ul>
</div>
<div>
<h4>Quick Links</h4>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#why">Why Us</a></li>
<li><a href="#process">Our Process</a></li>
<li><a href="#testimonials">Reviews</a></li>
<li><a href="#contact">Appointment</a></li>
</ul>
</div>
<div>
<h4>Contact</h4>
<ul>
<li><a href="tel:+917065166992">π +91 70651 66992</a></li>
<li><a href="mailto:happyanand99@gmail.com">π§ <span class="__cf_email__" data-cfemail="bedddfccdbfedfd0dfd0dadcdfd2ddd6d7d5d7cacddf90d7d0">happyanand99@gmail.com </span></a></li>
<li><a href="#">π Find Nearest Clinic</a></li>
<li><a href="#">π¬ WhatsApp Us</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<span>Β© 2026 . All rights reserved. Powered By <a href="https://efbtechnology.com" target="_blank" style="color:#FFF;">EFB Technology</a></span>
<span>Made with <span class="heart">β€οΈ</span> for every child's health</span>
</div>
</footer>
<script>
// ===== SCROLL REVEAL =====
const reveals = document.querySelectorAll('.reveal');
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry, i) => {
if (entry.isIntersecting) {
setTimeout(() => entry.target.classList.add('visible'), i * 60);
}
});
}, { threshold: 0.12 });
reveals.forEach(el => observer.observe(el));
// ===== COUNTER ANIMATION =====
function animateCounter(el, end, suffix='') {
let start = 0;
const duration = 1800;
const step = end / (duration / 16);
const timer = setInterval(() => {
start += step;
if (start >= end) { start = end; clearInterval(timer); }
el.textContent = Math.floor(start) + suffix;
}, 16);
}
const heroObserver = new IntersectionObserver((entries) => {
if (entries[0].isIntersecting) {
animateCounter(document.getElementById('c1'), 5000, '+');
animateCounter(document.getElementById('c2'), 15, '+');
animateCounter(document.getElementById('c3'), 12, '+');
heroObserver.disconnect();
}
}, { threshold: 0.4 });
heroObserver.observe(document.getElementById('hero'));
// ===== FORM SUBMIT β AJAX to sendmail.php =====
document.getElementById('booking-form').addEventListener('submit', function(e) {
e.preventDefault();
const form = this;
const btn = document.getElementById('btn-submit');
const feedback = document.getElementById('form-feedback');
// Basic validation
const required = ['parent_name', 'phone', 'child_name'];
let valid = true;
required.forEach(id => {
const el = document.getElementById(id);
if (!el.value.trim()) {
el.style.borderColor = '#e24b4a';
el.style.boxShadow = '0 0 0 3px rgba(226,75,74,.12)';
valid = false;
} else {
el.style.borderColor = '';
el.style.boxShadow = '';
}
});
if (!valid) {
showFeedback('error', 'β οΈ Please fill in all required fields.');
return;
}
// Gather form data
const formData = new FormData(form);
// Button loading state
btn.disabled = true;
btn.textContent = 'β³ Sendingβ¦';
fetch('sendmail.php', {
method: 'POST',
body: formData
})
.then(res => {
if (!res.ok) throw new Error('Server error: ' + res.status);
return res.text();
})
.then(response => {
const text = response.trim().toLowerCase();
if (text === 'success' || text.includes('success')) {
showFeedback('success', 'β
Appointment request sent! We will contact you shortly.');
form.reset();
// Reset field border colours
required.forEach(id => {
document.getElementById(id).style.borderColor = '';
document.getElementById(id).style.boxShadow = '';
});
btn.textContent = 'β
Appointment Sent!';
btn.style.background = '#0d9e78';
setTimeout(() => {
btn.textContent = 'π
Confirm Appointment';
btn.style.background = '';
btn.disabled = false;
}, 4000);
} else {
throw new Error(response || 'Unexpected response');
}
})
.catch(err => {
console.error('Form error:', err);
showFeedback('error', 'β Something went wrong. Please call us directly or try again.');
btn.textContent = 'π
Confirm Appointment';
btn.style.background = '';
btn.disabled = false;
});
});
function showFeedback(type, msg) {
const fb = document.getElementById('form-feedback');
fb.textContent = msg;
fb.style.display = 'block';
if (type === 'success') {
fb.style.background = '#d4faf0';
fb.style.color = '#0a6b4a';
fb.style.border = '1.5px solid #b2f0e8';
} else {
fb.style.background = '#fef0f0';
fb.style.color = '#a32d2d';
fb.style.border = '1.5px solid #f7c1c1';
}
fb.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}
// ===== STAGGERED SERVICE CARD ENTRANCE =====
const srvCards = document.querySelectorAll('.srv-card');
const srvObserver = new IntersectionObserver((entries) => {
entries.forEach((entry, i) => {
if (entry.isIntersecting) {
setTimeout(() => {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}, i * 80);
srvObserver.unobserve(entry.target);
}
});
}, { threshold: 0.1 });
srvCards.forEach(card => {
card.style.opacity = '0';
card.style.transform = 'translateY(28px)';
card.style.transition = 'opacity .6s ease, transform .6s ease';
srvObserver.observe(card);
});
// ===== HAMBURGER MENU =====
function toggleMenu() {
const menu = document.getElementById('mobile-menu');
const burger = document.getElementById('hamburger');
const isOpen = menu.classList.contains('open');
if (isOpen) {
menu.classList.remove('open');
burger.classList.remove('open');
} else {
menu.classList.add('open');
burger.classList.add('open');
}
}
function closeMenu() {
document.getElementById('mobile-menu').classList.remove('open');
document.getElementById('hamburger').classList.remove('open');
}
// Close menu on outside click
document.addEventListener('click', (e) => {
const menu = document.getElementById('mobile-menu');
const burger = document.getElementById('hamburger');
if (menu.classList.contains('open') && !menu.contains(e.target) && !burger.contains(e.target)) {
closeMenu();
}
});
// ===== NAVBAR SCROLL SHADOW =====
window.addEventListener('scroll', () => {
const nav = document.querySelector('nav');
nav.style.boxShadow = window.scrollY > 10 ? '0 4px 24px rgba(13,59,94,.12)' : 'none';
});
// ===== WHATSAPP BUTTON TOOLTIP =====
const waBtn = document.getElementById('whatsapp-btn');
waBtn.addEventListener('mouseenter', () => {
document.getElementById('wa-tooltip').style.opacity = '1';
document.getElementById('wa-tooltip').style.transform = 'translateY(0)';
});
waBtn.addEventListener('mouseleave', () => {
document.getElementById('wa-tooltip').style.opacity = '0';
document.getElementById('wa-tooltip').style.transform = 'translateY(6px)';
});
</script>
</body>
</html>