/* ===================================
   LOGIN PAGE
   Copied from the landing page (index.html) styles — keep in sync.
=================================== */

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

body{
  font-family:'Inter',sans-serif;
  background:#f5f1eb;
  overflow-x:hidden;
  color:#111;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input{
  font-family:'Inter',sans-serif;
}

/* ===================================
   NAVBAR
=================================== */

.navbar{
  width:100%;

  position:fixed;
  top:0;
  left:0;
  z-index:1000;

  background:rgba(250,248,244,0.96);

  backdrop-filter:blur(10px);

  border-bottom:1px solid rgba(0,0,0,0.05);

  padding:18px 70px;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-icon{
  width:50px;
  height:50px;
  object-fit:contain;
}

.logo h1{
  font-size:30px;
  font-weight:700;

  color:#30453a;

  letter-spacing:-1px;
}

/* small raised "श्री" before "Balaji" (sizes are relative to the heading) */
.logo h1 .logo-shri{
  font-family:'Noto Sans Devanagari','Kohinoor Devanagari','Nirmala UI','Mangal',sans-serif;
  font-size:.5em;
  font-weight:700;
  letter-spacing:0;
  line-height:0;
  vertical-align:.8em;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-links a{
  font-size:16px;
  font-weight:500;

  color:#4f5f57;
}

.login-btn{
  padding:14px 28px;

  border:none;

  border-radius:16px;

  background:#30453a;

  color:white;

  font-size:15px;
  font-weight:600;

  cursor:pointer;

  transition:0.3s;
}

.login-btn:hover{
  background:#24352d;
}

/* The nav button is an <a>, so it must beat the ".nav-links a" rule above
   (otherwise its text would turn grey on the green background). */
.nav-links a.login-btn{
  display:inline-block;
  color:white;
  font-size:15px;
  font-weight:600;
}

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

.hero{
  width:100%;
  min-height:100vh;

  background-image:url('/static/assets/background.png');

  background-size:cover;
  background-position:right center;
  background-repeat:no-repeat;

  background-color:#111;

  padding-top:150px;
  padding-bottom:70px;
}

.hero-container{
  width:100%;
  max-width:1400px;

  margin:auto;

  padding-left:80px;

  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.subheading{
  color:#71806d;

  letter-spacing:4px;
  text-transform:uppercase;

  font-size:12px;
  font-weight:600;

  margin-bottom:18px;
}

.hero-title{
  font-family:'Cormorant Garamond',serif;

  font-size:76px;
  line-height:0.95;

  font-weight:500;

  letter-spacing:-2px;

  max-width:520px;

  margin-bottom:32px;
}

.hero-title span{
  color:#73836f;
}

/* ===================================
   PROVIDER LOGIN CARD
=================================== */

.provider-login{

  width:760px;

  background:#f9f9f7;

  margin-top:34px;

  padding:30px;

  border-radius:26px;

  box-shadow:
  0 10px 28px rgba(0,0,0,0.06);
}

.provider-login h2{

  font-size:38px;
  font-weight:700;

  color:#1f2a44;

  margin-bottom:10px;
}

.provider-login p{

  font-size:17px;
  line-height:1.6;

  color:#65738e;

  margin-bottom:22px;
}

.provider-login form{

  display:flex;
  flex-direction:column;

  gap:16px;
}

.provider-login input{

  width:100%;
  height:60px;

  border-radius:16px;

  border:1px solid #d6dde8;

  background:white;

  padding:0 20px;

  font-size:16px;

  outline:none;
}

.provider-login input:focus{
  border-color:#30453a;
}

.provider-login button{

  width:100%;
  height:60px;

  border:none;

  border-radius:16px;

  background:#30453a;
  color:white;

  font-size:18px;
  font-weight:600;

  cursor:pointer;
}

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

@media(max-width:1200px){

  .hero-container{
    width:92%;
    padding-left:20px;
  }

  .provider-login{
    width:100%;
    max-width:760px;
  }

}

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

@media(max-width:768px){

  .navbar{
    padding:14px 16px;

    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .logo{
    gap:8px;

    min-width:0;
  }

  .logo-icon{
    width:24px;
    height:24px;
    flex-shrink:0;
  }

  .logo h1{
    font-size:15px;

    line-height:1.15;

    font-weight:700;

    color:#30453a;

    letter-spacing:-0.3px;

    text-align:center;

  }

  .logo h1 .logo-sub{
    display:block;
  }

  .logo h1 .logo-shri{
    font-size:.6em;
    vertical-align:.67em;
  }

  .nav-links{
    display:flex;

    align-items:center;

    gap:10px;

    flex-shrink:0;
  }

  .nav-links a{
    font-size:13px;

    font-weight:500;

    color:#55645d;
  }

  .login-btn{
    padding:9px 12px;

    height:40px;

    border-radius:10px;

    font-size:12px;

    font-weight:600;

    white-space:nowrap;
  }

  /* anchor version of the nav button on small screens */
  .nav-links a.login-btn{
    display:inline-flex;
    align-items:center;

    color:white;
    font-size:12px;
    font-weight:600;
  }

  .hero{
    padding-top:115px;

    background-position:center right;
  }

  .hero-title{
    font-size:44px;

    line-height:0.95;
  }

  .provider-login{
    padding:20px;

    border-radius:20px;
  }

  .provider-login h2{
    font-size:26px;
  }

  .provider-login p{
    font-size:14px;
  }

  .provider-login input{
    height:52px;

    font-size:15px;
  }

  .provider-login button{
    height:52px;

    font-size:16px;
  }

}

/* ===================================
   FOOTER
=================================== */

footer{
  background:white;

  padding:20px;

  text-align:center;

  border-top:1px solid rgba(0,0,0,0.06);
}

footer p{
  font-size:14px;
  color:#697793;
}

@media(max-width:360px){

  .logo{
    gap:6px;
  }

  .logo h1{
    font-size:14px;
  }

  .nav-links{
    gap:8px;
  }

}

@media(min-width:769px) and (max-width:1024px){

  .navbar{
    padding:18px 32px;
  }

  .logo h1{
    font-size:24px;
  }

}

/* ===================================
   HINDI TAGLINE
   Keep this block LAST in the stylesheet.
=================================== */

/* the tagline is positioned relative to the hero section */
.hero{
  position:relative;
}

.hero-hindi{
  --hindi-color:#4a4036;                 /* dark warm brown from the design */

  /* DESKTOP (1101px and wider): pinned to the right, level with the title */
  position:absolute;
  top:222px;                             /* centre of the first title line */
  right:3%;
  transform:translateY(-50%);

  display:flex;
  align-items:stretch;
  gap:12px;

  margin:0;

  font-family:'Noto Serif Devanagari','Kohinoor Devanagari','Nirmala UI','Mangal',serif;
  font-weight:700;
  font-size:clamp(24px, 2.2vw, 34px);    /* about 28px at a 1260px-wide window */
  line-height:1.25;
  white-space:nowrap;

  color:var(--hindi-color);
}

/* the two vertical bars at either end */
.hero-hindi::before,
.hero-hindi::after{
  content:"";

  flex:none;

  width:.1em;
  min-width:2px;

  margin:.12em 0;

  background:currentColor;
  border-radius:2px;
}

/* ---- TABLETS AND SMALL SCREENS (1100px and narrower): above "Delivering Promises" ---- */

@media(max-width:1100px){

  .hero-hindi{
    position:static;
    transform:none;

    margin:0 0 18px;

    max-width:100%;

    font-size:clamp(22px, 3.4vw, 30px);   /* 744px iPad mini: 25px, 834px iPad Air: 28px */

    white-space:normal;                   /* may wrap onto two lines if ever too narrow */
    text-wrap:balance;
  }

}

/* ---- PHONES ---- */

@media(max-width:768px){

  .hero-hindi{
    gap:10px;

    margin-bottom:14px;

    font-size:clamp(18px, 5.2vw, 26px);   /* 375px: about 19.5px, 430px: about 22px */
  }

}

/* ---- VERY SMALL PHONES (iPhone SE, 320-360px) ---- */

@media(max-width:360px){

  .hero-hindi{
    gap:8px;

    font-size:18px;
  }

  .hero{
    padding-top:100px;     /* was 115px */
  }

}