
/* hero start */
#herojsrh {
  position: relative;
  width: 100%;
  height: 100vh;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  background: #000;
  overflow: hidden;
}

.herojsrh-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.herojsrh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.herojsrh-content {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

.herojsrh-line-wrapper {
  overflow: hidden;
  margin-bottom: 5px;
}

.herojsrh-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
  margin: 0;
  opacity: 0;
  transform-origin: center;
}

.herojsrh-title span {
  color: #ef7c00;
  font-style: italic;
}

.herojsrh-line1 {
  animation: continuousReveal 5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.herojsrh-line2 {
  animation: continuousReveal 5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s infinite;
}

@keyframes continuousReveal {
  0% {
    transform: translateY(120%) rotate(3deg);
    opacity: 0;
  }
  15% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  80% {
    transform: translateY(0) rotate(0deg) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateY(-120%) rotate(-3deg) scale(1.1);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .herojsrh-content {
    left: 40px;
    bottom: 60px;
  }
  .herojsrh-title {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .herojsrh-content {
    left: 20px;
    bottom: 40px;
  }
  .herojsrh-title {
    font-size: 36px;
  }
}

/* hero end */


/* =================HOME ABOUT START================= */
#jsrabthm{
    width:100%;
    padding:30px 20px;
    background:#ffffff;
    position:relative;
    overflow:hidden;
}

.jsrabthm-container{
    max-width:1300px;
    margin:0 auto;
    text-align:center;
    position:relative;
    z-index:1;
}

/* Background Animation */
.jsrabthm-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.jsrabthm-bg-animation span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(239, 124, 0, 0.05);
    animation: jsrabthm-move 25s linear infinite;
    bottom: -150px;
    border-radius: 50%;
}

.jsrabthm-bg-animation span:nth-child(1) { left: 15%; width: 80px; height: 80px; animation-delay: 0s; }
.jsrabthm-bg-animation span:nth-child(2) { left: 85%; width: 40px; height: 40px; animation-delay: 2s; animation-duration: 12s; }
.jsrabthm-bg-animation span:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.jsrabthm-bg-animation span:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.jsrabthm-bg-animation span:nth-child(5) { left: 65%; width: 30px; height: 30px; animation-delay: 0s; }
.jsrabthm-bg-animation span:nth-child(6) { left: 5%; width: 110px; height: 110px; animation-delay: 3s; }
.jsrabthm-bg-animation span:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }

@keyframes jsrabthm-move {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-1200px) scale(1.5);
        opacity: 0;
    }
}

.jsrabthm-logo{
    margin-bottom:10px;
}

.jsrabthm-logo img{
    width:70px;
    height:auto;
    display:block;
    margin:0 auto;
}

.jsrabthm-title{
    font-size:38px;
    font-weight:400;
    color:#2f2f2f;
    letter-spacing:1px;
    margin-bottom:30px;
    text-transform:uppercase;
    font-family: 'Montserrat', sans-serif;
}

.jsrabthm-content{
    max-width:1000px;
    margin:0 auto;
    font-size:16px;
    line-height:2.0;
    color:#555;
    font-weight:400;
}

.jsrabthm-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:40px;
    min-width:auto;
    height:48px;
    padding:0 35px;
    background:#e67e22;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-size:16px;
    font-weight:500;
    transition:all .3s ease;
}

.jsrabthm-btn:hover{
    background:#d96f12;
    transform:translateY(-3px);
}

/* Large Screens */
@media (max-width:1400px){

    .jsrabthm-title{
        font-size:36px;
    }

    .jsrabthm-content{
        font-size:16px;
    }

}

/* Laptop */
@media (max-width:1200px){

    #jsrabthm{
        padding:80px 25px;
    }

    .jsrabthm-title{
        font-size:32px;
    }

    .jsrabthm-content{
        font-size:15px;
        line-height:1.9;
    }

}

/* Tablet */
@media (max-width:992px){

    .jsrabthm-title{
        font-size:30px;
    }

    .jsrabthm-content{
        font-size:15px;
    }

    .jsrabthm-btn{
        height:48px;
        font-size:15px;
    }

}

/* Mobile */
@media (max-width:768px){

    #jsrabthm{
        padding:70px 18px;
    }

    .jsrabthm-logo img{
        width:60px;
    }

    .jsrabthm-title{
        font-size:28px;
        margin-bottom:25px;
    }

    .jsrabthm-content{
        font-size:14px;
        line-height:1.8;
    }

    .jsrabthm-btn{
        height:46px;
        margin-top:40px;
        font-size:15px;
    }

}

/* Small Mobile */
@media (max-width:480px){

    #jsrabthm{
        padding:60px 15px;
    }

    .jsrabthm-logo img{
        width:55px;
    }

    .jsrabthm-title{
        font-size:24px;
    }

    .jsrabthm-content{
        font-size:14px;
        line-height:1.8;
    }

    .jsrabthm-btn{
        height:44px;
        font-size:14px;
    }

}
/* =================HOME ABOUT END================= */

/* =================HOME WHY CHOOSE JSR START================= */
#jsrhmwhy{
    background:#FDFDFD;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.jsrhmwhy-container{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto;
    row-gap:40px;
    column-gap:80px;
    padding: 30px 40px 0;
    align-items:start;
}

/* LEFT */
.jsrhmwhy-left{
    grid-column:1 / 2;
    grid-row:1 / 2;
    width:100%;
    max-width:550px;
    padding-top: 50px; /* Center text better */
}

.jsrhmwhy-left h2{
    font-family: "Playfair Display", serif;
    font-size:45px;
    line-height:1.1;
    font-weight:700;
    color:#111;
}

.jsrhmwhy-left h2 span{
    color:#ef7c00;
    font-style:italic;
    font-weight:600;
}

.jsrhmwhy-left p{
    margin-top:20px;
    font-size:16px;
    line-height:1.6;
    color:#555;
    max-width:400px;
}

/* CARDS WRAPPER */
.jsrhmwhy-cards-wrapper {
    grid-column:1 / 2;
    grid-row:2 / 3;
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
}

/* CARD */
.jsrhmwhy-card{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    background:#f4eadc;
    border-radius:24px;
    padding:30px 45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    opacity: 0;
    transform-origin: bottom left; /* Rotate around bottom left */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.jsrhmwhy-number{
    font-size:56px;
    font-weight:700;
    color:#417a3a;
    line-height:1;
}

.jsrhmwhy-card h3{
    margin-top:10px;
    font-family: "Playfair Display", serif;
    font-size:36px;
    line-height:1;
    color:#111;
}

.jsrhmwhy-card p{
    margin-top:10px;
    font-size:15px;
    line-height:1.6;
    color:#555;
    max-width:400px;
}

/* LOGO */
.jsrhmwhy-logo{
    grid-column:2 / 3;
    grid-row:1 / 3;
    display:flex;
    justify-content:center;
    align-items:center;
    align-self:center;
}

.jsrhmwhy-logo video{
    width:500px;
    height:500px;
    object-fit: contain; /* Changed from cover to contain so the whole video fits naturally without borders */
}

@media(max-width:1200px){

    .jsrhmwhy-container{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
    }

    .jsrhmwhy-left{
        width:100%;
        max-width:100%;
    }

    .jsrhmwhy-card{
        width:100%;
        max-width:100%;
    }

    .jsrhmwhy-logo{
        display:flex;
        width: 100%;
        margin-top: 50px; /* Space above video since layout is now a column */
        justify-content:center;
    }

    .jsrhmwhy-logo video {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 500 / 350; /* maintain the same aspect ratio */
    }

    .jsrhmwhy-left h2{
        font-size:54px;
    }
}

@media(max-width:768px){

    .jsrhmwhy-left h2{
        font-size:42px;
    }

    .jsrhmwhy-card{
        padding:30px;
    }

    .jsrhmwhy-card h3{
        font-size:30px;
    }

    .jsrhmwhy-number{
        font-size:48px;
    }

    .jsrhmwhy-card p,
    .jsrhmwhy-left p{
        font-size:15px;
    }
}
/* =================HOME WHY CHOOSE JSR END================= */

/* =================HOME AWARDS START================= */
#jsrawardshm {
    padding: 30px 20px;
    background-color: #009EE3;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        url('../images/bg.png');
    background-size: 50px 50px, 50px 50px, cover;
    background-position: center;
    background-repeat: repeat, repeat, no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.jsrawardshm-container {
    max-width: 1500px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.jsrawardshm-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.jsrawardshm-subtitle {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.jsrawardshm-heading h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.jsrawardshm-heading p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
}

.jsrawardshm-pill {
    background: #ffffff;
    border-radius: 100px;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.jsrawardshm-pill img {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.jsrawardshm-pill img:hover {
    transform: scale(1.05);
}

.jsrawardshm-divider {
    width: 2px;
    height: 50px;
    background-color: #eaeaea;
    flex-shrink: 0;
}

@media(max-width: 1200px) {
    .jsrawardshm-pill {
        padding: 20px 40px;
    }
    .jsrawardshm-pill img {
        height: 50px;
    }
}

@media(max-width: 991px) {
    .jsrawardshm-pill {
        border-radius: 30px;
        padding: 30px;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .jsrawardshm-pill img {
        height: 55px;
    }
    .jsrawardshm-divider {
        display: none;
    }
}

@media(max-width: 576px) {
    .jsrawardshm-pill img {
        height: 45px;
    }
}
/* =================HOME AWARDS END================= */

#jsrmaphm{
    width:100%;
    padding:100px 0;
    background:#f5f0eb;
}

.jsrmaphm-container{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.jsrmaphm-map-wrap{
    flex:1;
    position:relative;
}

.jsrmaphm-map{
    width:100%;
    display:block;
    mix-blend-mode: exclusion;
    opacity: 0.9;
}

.jsrmaphm-dot{
    position:absolute;
    width:12px;
    height:12px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    background:#9e9e9e;
    transform:translate(-50%,-50%);
    transition:.3s;
}

.jsrmaphm-dot::before{
    content:'';
    position:absolute;
    inset:-6px;
    border:1px solid rgba(190,150,75,.4);
    border-radius:50%;
    animation:jsrmaphmPulse 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jsrmaphm-dot.active::before {
    opacity: 1;
}

.jsrmaphm-dot.active{
    background:#c49a45;
    transform:translate(-50%,-50%) scale(1.3);
}

.jsrmaphm-dot-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #4a4a4a;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.jsrmaphm-dot.active .jsrmaphm-dot-text {
    color: #111;
}

.jsrmaphm-content{
    flex:1;
}

.jsrmaphm-image-box{
    width:100%;
    overflow:hidden;
}

.jsrmaphm-image-box img{
    width:100%;
    display:block;
    aspect-ratio:16/10;
    object-fit:cover;
}

.jsrmaphm-content h2{
    margin-top:35px;
    font-size:24px;
    line-height:1.3;
    color:#555;
    font-weight:500;
}

.jsrmaphm-content a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:20px;
    text-decoration:none;
    color:#c49a45;
    font-size:15px;
    font-weight:500;
    transition: opacity 0.3s;
}

.jsrmaphm-content a:hover {
    opacity: 0.8;
}

@keyframes jsrmaphmPulse{
    0%{
        transform:scale(.8);
        opacity:1;
    }
    100%{
        transform:scale(2);
        opacity:0;
    }
}

@media(max-width:991px){

    .jsrmaphm-container{
        flex-direction:column;
        gap:50px;
    }

    .jsrmaphm-content h2{
        font-size:28px;
    }
}

@media(max-width:576px){

    #jsrmaphm{
        padding:70px 0;
    }

    .jsrmaphm-container{
        width:92%;
    }

    .jsrmaphm-content h2{
        font-size:22px;
    }

    .jsrmaphm-content a{
        font-size:18px;
    }

    .jsrmaphm-dot{
        width:14px;
        height:14px;
    }
}

/* =================HOME TESTIMONIALS START================= */
#jsrhmtestimonial{
    background:#F5EEE8;
    padding:30px 0;
    overflow:hidden;
}

.jsrhmtestimonial-heading{
    text-align:center;
    margin-bottom:20px;
    padding:0 20px;
}

.jsrhmtestimonial-heading span{
    color:#FF9600;
    font-size:14px;
    letter-spacing:2px;
    font-weight:600;
}

.jsrhmtestimonial-heading h2{
    font-family: 'Playfair Display', serif;
    font-size:40px;
    margin:10px 0;
    color:#111;
    line-height:1.2;
}

.jsrhmtestimonial-heading p{
    max-width:800px;
    margin:auto;
    color:#555;
    line-height:1.6;
    font-size:15px;
}

.jsrhmtestimonial-slider{
    width:100%;
    position:relative;
    padding-bottom: 10px; /* Space for shadow and pagination if ever added */
}

.jsrhmtestimonial-track{
    transition-timing-function: linear; /* Crucial for continuous Swiper marquee effect */
}

.jsrhmtestimonial-card{

    width:340px;
    height:auto;
    background:#fff;

    border-radius:20px;

    padding:25px;

    box-shadow:
    0 10px 35px rgba(0,0,0,.04);

    flex-shrink:0;
}

.jsrhmtestimonial-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.jsrhmtestimonial-top img{

    width:60px;
    height:60px;

    border-radius:50%;

    object-fit:cover;
}

.jsrhmtestimonial-top h4{
    color:#FF9600;
    font-size:18px;
    margin-bottom:4px;
}

.jsrhmtestimonial-top h5{
    color:#111;
    font-size:13px;
    font-weight:500;
    margin-bottom:2px;
}

.jsrhmtestimonial-top span{
    color:#555;
    font-size:12px;
}

.jsrhmtestimonial-card p{
    color:#222;
    line-height:1.6;
    margin-bottom:20px;
    font-size:14px;
}

.jsrhmtestimonial-stars{
    color:#FF9600;
    font-size:18px;
    letter-spacing:2px;
}

@media(max-width:991px){

    #jsrhmtestimonial{
        padding:30px 0;
    }

    .jsrhmtestimonial-heading h2{
        font-size:38px;
    }

    .jsrhmtestimonial-card{
        width:340px;
        padding:25px;
    }

}

@media(max-width:576px){

    .jsrhmtestimonial-heading h2{
        font-size:30px;
    }

    .jsrhmtestimonial-heading p{
        font-size:16px;
    }

    .jsrhmtestimonial-card{
        width:290px;
    }

    .jsrhmtestimonial-top img{
        width:65px;
        height:65px;
    }

    .jsrhmtestimonial-top h4{
        font-size:18px;
    }

}
/* =================HOME TESTIMONIALS END================= */