/* =====================================
CONTACT PAGE CSS
Ram Sakhi Devi Hospital
===================================== */

.rsd-contact-container{
max-width:1300px;
margin:auto;
padding:0 20px;
}

/* =========================
HERO
========================= */

.rsd-contact-hero{
padding:140px 0;
background:
linear-gradient(rgba(0,17,35,.88),rgba(0,51,80,.88)),
url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1800');
background-size:cover;
background-position:center;
text-align:center;
}

.rsd-contact-badge{
display:inline-block;
padding:12px 28px;
background:rgba(21,158,236,.15);
color:#159eec;
border-radius:50px;
font-weight:600;
margin-bottom:25px;
}

.rsd-contact-hero h1{
font-size:72px;
line-height:1.05;
color:#fff;
margin-bottom:20px;
font-weight:800;
}

.rsd-contact-hero h1 span{
display:block;
color:#159eec;
}

.rsd-contact-hero p{
max-width:760px;
margin:auto;
color:#dce9f5;
font-size:18px;
line-height:1.9;
}

/* =========================
INFO CARDS
========================= */

.rsd-contact-info{
padding:70px 0;
background:#fff;
}

.rsd-contact-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.rsd-contact-card{
background:#fff;
padding:15px 20px;
border-radius:30px;
text-align:center;
box-shadow:0 10px 35px rgba(0,0,0,.08);
transition:.4s;
border-top:4px solid #159eec;
}

.rsd-contact-card:hover{
transform:translateY(-10px);
}

.rsd-contact-card .icon{
font-size:35px;
margin-bottom:15px;
}

.rsd-contact-card h3{
font-size:24px;
color:#001123;
margin-bottom:12px;
}

.rsd-contact-card p{
color:#666;
line-height:1.8;
}

/* =========================
FORM SECTION
========================= */
.rsd-contact-main{
  padding:70px 20px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.rsd-contact-container{
  max-width:1200px;
  margin:auto;
}

.rsd-contact-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

/* FORM CARD */
.rsd-contact-form{
  background:#fff;
  padding:45px;
  border-radius:25px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.rsd-contact-form h2{
  font-size:36px;
  margin-bottom:25px;
  color:#0a1a2f;
}

/* INPUT STYLE */
.rsd-contact-form form{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.rsd-contact-form input,
.rsd-contact-form select,
.rsd-contact-form textarea{
  width:100%;
  padding:15px 18px;
  border:1px solid #e5e5e5;
  border-radius:12px;
  font-size:15px;
  outline:none;
  transition:0.3s;
  background:#fff;
}

.rsd-contact-form input:focus,
.rsd-contact-form select:focus,
.rsd-contact-form textarea:focus{
  border-color:#159eec;
  box-shadow:0 0 10px rgba(21,158,236,0.15);
}

/* TEXTAREA */
.rsd-contact-form textarea{
  resize:none;
}

/* CAPTCHA DESIGN */
.captcha-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:12px;
  background:#f9fbff;
}

.captcha-check{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-size:14px;
}

.captcha-check input{
  display:none;
}

.captcha-check .box{
  width:20px;
  height:20px;
  border:2px solid #999;
  border-radius:4px;
  position:relative;
  transition:0.3s;
}

.captcha-check input:checked + .box{
  background:#159eec;
  border-color:#159eec;
}

.captcha-check input:checked + .box::after{
  content:"✔";
  color:#fff;
  font-size:14px;
  position:absolute;
  left:3px;
  top:-2px;
}

.captcha-brand{
  text-align:right;
  font-size:11px;
  color:#666;
}

/* BUTTON */
.rsd-contact-form button{
  margin-top:5px;
  height:55px;
  border:none;
  background:linear-gradient(135deg,#159eec,#0d6efd);
  color:#fff;
  font-size:16px;
  font-weight:600;
  border-radius:50px;
  cursor:pointer;
  transition:0.3s;
}

.rsd-contact-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(21,158,236,0.25);
}

/* IMAGE */
.rsd-contact-image img{
  width:100%;
  height:600px;
  object-fit:cover;
  border-radius:25px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media(max-width:900px){
  .rsd-contact-wrap{
    grid-template-columns:1fr;
  }

  .rsd-contact-image img{
    height:350px;
  }
}
/* =========================
WORKING HOURS
========================= */

.rsd-contact-hours{
padding:120px 0;
background:#fff;
text-align:center;
}

.rsd-contact-hours h2{
font-size:52px;
color:#001123;
margin-bottom:50px;
}

.rsd-hours-box{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.rsd-hours-box div{
background:#f8fbff;
padding:40px;
border-radius:25px;
}

.rsd-hours-box span{
display:block;
font-size:15px;
color:#159eec;
font-weight:700;
margin-bottom:10px;
}

.rsd-hours-box strong{
font-size:22px;
color:#001123;
}

/* =========================
MAP
========================= */

.rsd-contact-map{
height:550px;
}

.rsd-contact-map iframe{
width:100%;
height:100%;
border:none;
}

/* =========================
FAQ
========================= */

.rsd-contact-faq{
padding:70px 0;
background:#f8fbff;
}

.rsd-contact-faq h2{
text-align:center;
font-size:52px;
margin-bottom:60px;
color:#001123;
}

.rsd-contact-faq details{
background:#fff;
margin-bottom:20px;
padding:25px 30px;
border-radius:20px;
box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.rsd-contact-faq summary{
cursor:pointer;
font-size:20px;
font-weight:600;
color:#001123;
}

.rsd-contact-faq p{
margin-top:15px;
line-height:1.9;
color:#666;
}

/* =========================
EMERGENCY CTA
========================= */

.rsd-contact-emergency{
padding:70px 0;
background:linear-gradient(135deg,#001123,#003350);
text-align:center;
}

.rsd-contact-emergency h2{
font-size:58px;
color:#fff;
margin-bottom:20px;
}

.rsd-contact-emergency p{
font-size:18px;
color:#dce9f5;
margin-bottom:35px;
}

.rsd-contact-emergency a{
display:inline-block;
padding:18px 40px;
background:#159eec;
color:#fff;
text-decoration:none;
border-radius:50px;
font-weight:600;
}

/* =========================
TABLET
========================= */

@media(max-width:991px){

.rsd-contact-grid{
grid-template-columns:repeat(2,1fr);
}

.rsd-contact-wrap{
grid-template-columns:1fr;
}

.rsd-hours-box{
grid-template-columns:1fr;
}

.rsd-contact-image img{
height:450px;
}

.rsd-contact-hero h1{
font-size:52px;
}

}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

.rsd-contact-hero{
padding:90px 0;
}

.rsd-contact-hero h1 {
        font-size: 24px;
        line-height: 1.5;
    }

.rsd-contact-hero p{
font-size:15px;
line-height:1.8;
}
.rsd-contact-main {
    padding: 50px 0;
    background: #f8fbff;
}
.rsd-contact-grid{
grid-template-columns:1fr;
}

.rsd-contact-card{
padding:30px 25px;
}

.rsd-contact-form{
padding:30px 20px;
}

.rsd-contact-form h2{
font-size:28px;
}

.rsd-contact-image img{
height:300px;
}

.rsd-contact-hours{
padding:30px 0;
}

.rsd-contact-hours h2{
font-size:30px;
}

.rsd-hours-box strong{
font-size:18px;
}

.rsd-contact-map{
height:320px;
}

.rsd-contact-faq{
padding:80px 0;
}

.rsd-contact-faq h2{
font-size:30px;
}

.rsd-contact-faq summary{
font-size:16px;
}

.rsd-contact-emergency{
padding:80px 0;
}

.rsd-contact-emergency h2{
font-size:18px;
}

.rsd-contact-emergency p{
font-size:15px;
}

.rsd-contact-emergency a{
width:100%;
max-width:260px;
}

}

