/* Homepage only.
   Sound Bridge website. Edit this file, not the pages. */

*{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth;}

body{
background:#f4f8fb;
background-image:url("image/logo.jpg");
background-repeat:no-repeat;
background-position:center;
background-size:700px;
background-attachment:fixed;
}

body::before{
content:"";
position:fixed;
top:0;left:0;
width:100%;height:100%;
background:rgba(255,255,255,0.97);
z-index:-1;
}




.hero{padding:100px 20px;text-align:center;}
.hero h1{font-size:48px;color:#0b3c5d;margin-bottom:20px;}
.hero p{max-width:900px;margin:auto;font-size:18px;margin-bottom:35px;line-height:1.8;}

.btn{display:inline-block;padding:14px 30px;background:#0b3c5d;color:white;text-decoration:none;border-radius:8px;font-weight:600;}

.section{padding:80px 20px;}
.section h2{text-align:center;font-size:36px;color:#0b3c5d;margin-bottom:45px;}

.cards{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;}
.card{background:white;padding:25px;border-radius:18px;box-shadow:0 5px 20px rgba(0,0,0,0.08);}
.card img{width:100%;height:240px;object-fit:contain;margin-bottom:18px;}
.card h3{color:#0b3c5d;margin-bottom:15px;}
.card ul{padding-left:20px;}
.card ul li{margin-bottom:8px;}

.audiologist-container{max-width:1150px;margin:auto;background:white;display:grid;grid-template-columns:350px 1fr;border-radius:20px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,0.08);}
.audiologist-image{background:#f4f8fb;padding:30px;}
.audiologist-image img{width:100%;border-radius:16px;}
.audiologist-content{padding:45px;}
.audiologist-content h3{margin-bottom:10px;color:#0b3c5d;font-size:26px;}
.audiologist-content .subtitle{color:#666;margin-bottom:25px;display:block;font-size:16px;}
.audiologist-content p{margin-bottom:20px;line-height:1.9;}

.booking-text{max-width:800px;margin:auto;margin-bottom:35px;text-align:center;font-size:17px;}

form{max-width:700px;margin:auto;background:white;padding:35px;border-radius:20px;box-shadow:0 5px 20px rgba(0,0,0,0.08);}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
input,select,textarea{width:100%;padding:14px;margin-bottom:18px;border-radius:8px;border:1px solid #ccc;font-size:15px;font-family:Poppins,sans-serif;}
textarea{min-height:130px;}
button{width:100%;padding:15px;background:#0b3c5d;color:white;border:none;border-radius:8px;font-size:17px;cursor:pointer;}

.contact-box{max-width:900px;margin:auto;background:white;padding:35px;border-radius:20px;text-align:center;box-shadow:0 5px 20px rgba(0,0,0,0.08);}
.contact-box iframe{width:100%;height:320px;border:none;border-radius:15px;margin-top:20px;}

footer{margin-top:50px;}


#back-to-top{position:fixed;bottom:86px;right:20px;width:46px;height:46px;background:#0b3c5d;color:white;border:none;border-radius:50%;font-size:20px;cursor:pointer;z-index:1000;box-shadow:0 4px 12px rgba(0,0,0,0.2);opacity:0;visibility:hidden;transition:opacity 0.2s ease;}
#back-to-top.visible{opacity:1;visibility:visible;}

@media(max-width:480px){
#back-to-top{right:16px;width:42px;height:42px;font-size:18px;}
}

@media(max-width:768px){
.hero h1{font-size:32px;}
.section h2{font-size:28px;}
.audiologist-container{grid-template-columns:1fr;display:block;}
.audiologist-image img{max-width:280px;width:100%;display:block;margin:auto;}
.cards{grid-template-columns:1fr;}
}



.sb-home-hero{padding:72px 24px 62px!important;text-align:left}
.sb-hero-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:44px}
.sb-hero-copy h1{font-size:clamp(38px,4.4vw,58px)!important;max-width:660px!important;margin:0 0 16px!important;color:#0b3c5d}
.sb-hero-copy .sb-hero-lead{font-size:19px!important;font-weight:700;color:#176b91;margin:0 0 12px!important}
.sb-hero-copy p{max-width:650px;margin:0 0 15px!important;font-size:16px!important;line-height:1.8}
.sb-hero-actions{justify-content:flex-start;margin-top:22px}
.sb-hero-meta{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:22px;color:#35596b;font-size:13px;font-weight:600}
.sb-hero-visual{position:relative;padding:12px;background:#fff;border:1px solid #dcecf3;border-radius:26px;box-shadow:0 22px 50px rgba(11,60,93,.15);transform:rotate(1deg)}
.sb-hero-visual img{display:block;width:100%;height:365px;object-fit:cover;border-radius:18px}
.sb-visual-caption{position:absolute;left:26px;right:26px;bottom:26px;padding:16px 18px;background:rgba(255,255,255,.96);border-radius:13px;box-shadow:0 8px 20px rgba(0,0,0,.1);display:flex;flex-direction:column;gap:3px}
.sb-visual-caption strong{color:#0b3c5d}.sb-visual-caption span{font-size:12px;color:#607786}
@media(max-width:800px){.sb-home-hero{padding:48px 18px 35px!important}.sb-hero-layout{grid-template-columns:1fr;gap:28px}.sb-hero-copy h1{font-size:38px!important}.sb-hero-visual img{height:270px}.sb-hero-actions{justify-content:center}.sb-hero-meta{justify-content:center}.sb-hero-copy{text-align:center}.sb-hero-copy p{margin-left:auto!important;margin-right:auto!important}}


/* ---- Clinic photo gallery ---- */
/* Real clinic photo gallery */
.sb-clinic-gallery{padding:64px 20px;background:#fff;border-top:1px solid #e1edf3;border-bottom:1px solid #e1edf3}
.sb-gallery-inner{max-width:1180px;margin:0 auto}
.sb-gallery-eyebrow{display:block;text-align:center;color:#176b91;text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:12px;margin-bottom:10px}
.sb-clinic-gallery h2{text-align:center;color:#0b3c5d;font-size:clamp(27px,3vw,38px);line-height:1.2;margin:0 auto 12px}
.sb-gallery-intro{max-width:760px;text-align:center;margin:0 auto 30px;line-height:1.8;color:#496477}
.sb-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.sb-gallery-card{margin:0;overflow:hidden;background:#f5f9fb;border:1px solid #dce8ef;border-radius:16px;box-shadow:0 8px 22px rgba(11,60,93,.07)}
.sb-gallery-card-wide{grid-column:span 2}
.sb-gallery-card img{display:block;width:100%;height:250px;object-fit:cover;background:#edf4f7}
.sb-gallery-card:nth-child(2) img,.sb-gallery-card:nth-child(3) img{object-position:center 45%}
.sb-gallery-card figcaption{padding:12px 14px;color:#0b3c5d;font-weight:600;font-size:14px}
.sb-gallery-address{text-align:center;margin:26px auto 0;line-height:1.7;color:#28485b}
.sb-gallery-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.sb-gallery-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:12px 18px;border-radius:9px;font-weight:700}
.sb-gallery-actions .sb-btn-secondary{border:1px solid #0b3c5d;color:#0b3c5d;background:#fff}
@media(max-width:800px){.sb-clinic-gallery{padding:48px 16px}.sb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sb-gallery-card-wide{grid-column:span 2}.sb-gallery-card img{height:220px}}
@media(max-width:480px){.sb-gallery-grid{grid-template-columns:1fr}.sb-gallery-card-wide{grid-column:span 1}.sb-gallery-card img{height:auto;max-height:340px;object-fit:cover}.sb-gallery-intro{font-size:15px}.sb-gallery-actions a{width:100%}}
