/* ============================================================
   FONT FACES
   ============================================================ */
@font-face { font-family: 'orlean';         src: url('../fonts/ORLEAN.TTF'); }
@font-face { font-family: 'poppins-bold';   src: url('../fonts/POPPINS-BOLD.TTF'); }
@font-face { font-family: 'poppins-light';  src: url('../fonts/POPPINS-LIGHT.TTF'); }
@font-face { font-family: 'poppins-medium'; src: url('../fonts/POPPINS-MEDIUM.TTF'); }

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'poppins-light' ;
    cursor: none;
    overflow-x: hidden;
}

/* Apply custom fonts globally to all elements */
h1, h2, h3, h4                   { font-family: 'poppins-bold' ; }
h5, h6                            { font-family: 'poppins-light' ; }
p                                  { font-family: 'poppins-medium' ; }
span, li                           { font-family: 'poppins-light' ; }
strong                             { font-family: 'poppins-bold' ; }
em                                 { font-family: 'orlean' ; }

/* ============================================================
   NRI HUB PAGE
   ============================================================ */
   /* ============================================================ */
/* PERMANENT HOMES BANNER */
.permanent-homes-banner {
    position: relative;
    width: 100%;
    min-height: 330px;
    background: url('../images/NRI_Banner_DTP.webp') no-repeat center center / cover !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ffffff;
}

@media (max-width: 767px) {
    .permanent-homes-banner {
        min-height: 280px;
        background: url('../images/NRI Banner_MBL.webp') no-repeat center center / cover !important;
    }

    .banner-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .banner-content h1 {
        font-size: 28px;
        line-height: 1.2;
        word-break: normal;
        margin-top: 45%;
    }
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,32,85,0.75) 0%, rgba(0,58,130,0.35) 45%, rgba(0,48,110,0.15) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding-left: 170px;
  padding-right: 20px;
}

.banner-content h1 {
  margin: 0;
  font-family: 'orlean' ;
  font-size: 78px;
  font-weight: 300;
  line-height: 1.1;
  color: #f1e68c;
  letter-spacing: 0.9px;
}

@media (max-width: 991px) {
  .permanent-homes-banner {
    min-height: 260px;
  }
  .banner-content {
    padding-left: 90px;
  }
  .banner-content h1 {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .permanent-homes-banner {
    min-height: 220px;
  }
  .banner-content {
    padding-left: 20px;
  }
  .banner-content h1 {
    font-size: 38px;
    line-height: 1.2;
    word-break: break-word;
  }
}

/* ----- Banner ----- */
.nri-banner {
    background: #0d0d0d;
    padding: 100px 0 40px;
    text-align: center;
}

.nri-banner-heading h1 {
    color: #fff;
    font-family: 'poppins-bold' ;
    font-size: 2.4rem;
    font-weight: 700;
    /*letter-spacing: 0.9px;*/
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.nri-banner-heading h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #9a7156;
    margin: 14px auto 0;
}

.nri-banner-img {
    width: 100%;
    overflow: hidden;
    max-height: 520px;
    line-height: 0; /* prevents inline gap below img */
}

.nri-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Info Section ----- */
.nri-info {
    /*background: #f9f9f9;*/
    padding: 60px 0;
}

.nri-info p {
    color: #3d3c3c;
    font-family: 'poppins-light' ;
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 18px;
    text-align: justify;
}

.nri-info h2 {
    color: #9a7156;
    font-family: 'ORLEAN' ;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 14px;
    /*text-transform: uppercase;*/
    letter-spacing: 0.9px;
}

.nri-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.nri-list li {
    color: #3d3c3c;
    font-family: 'poppins-light' ;
    font-size: 0.95rem;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}

.nri-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #9a7156;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ----- Explore More Carousel ----- */
.nri-explore {
    /*background: #fafafa;*/
    padding: 60px 0 50px;
}

.nri-section-title {
    color: #9a7156;
    font-family: 'orlean' ;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    /*text-transform: uppercase;*/
    margin-bottom: 36px;
}

.nri-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #9a7156;
    margin: 12px auto 0;
}

/* ── FIX: Swiper slide images were collapsing because the <a> wrapper
         had no display value and the slide had no explicit height.    ── */
.nri-swiper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.nri-swiper .swiper-slide {
    /* ensure slide stretches to the image naturally */
    display: flex;
    align-items: stretch;
    width: 100%;
}

.nri-swiper .swiper-slide a {
    display: block;   /* <-- critical: block-level so it wraps the img properly */
    width: 100%;
    line-height: 0;   /* removes phantom inline gap under img */
    overflow: hidden;
}

.nri-swiper .swiper-slide img {
    width: 100%;
    height: 480px;           /* explicit height so images always render */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nri-swiper .swiper-slide a:hover img {
    transform: scale(1.03);
}

.nri-swiper .swiper-button-prev,
.nri-swiper .swiper-button-next {
    color: #9a7156;
}

.nri-swiper .swiper-pagination-bullet-active {
    background: #9a7156;
}

/* ----- FAQ Section ----- */
.nri-faq {
    /*background: #fafafa;*/
    padding: 30px 0 60px;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        max-height 0.4s ease,
        opacity 0.35s ease 0.05s,
        transform 0.35s ease 0.05s;
}

.faq-item.open .faq-answer {
    opacity: 1;
    transform: translateY(0);
}
.faq-item {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.faq-question {
    background-color: #9a7156;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
    border-radius:10px;
}

.faq-question:hover {
    background: #7a5840;
}

.faq-question span {
    color: #fff;
    font-family: 'poppins-medium' ;
    font-size: 0.97rem;
    flex: 1;
    padding-right: 20px;
    line-height: 1.5;
}

.faq-icon {
    color: #fff;       /* icon was #9a7156 on #9a7156 bg — invisible; fixed to white */
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 16px 20px 20px;
    /*background: #fff;*/
    /*border-left: 3px solid #9a7156;*/
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p,
.faq-answer li {
    color: #666;
    font-family: 'poppins-light' ;
    font-size: 0.93rem;
    line-height: 1.75;
}

.faq-answer ul {
    padding-left: 20px;
    margin: 0;
}

.faq-answer ul li {
    margin-bottom: 6px;
}

/* ----- Contact / Write To Us Form ----- */
.nri-contact {
    /*background: #fafafa;*/
    padding: 60px 0;
}

.nri-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.nri-contact-sub {
    color: #888;
    font-family: 'poppins-light' ;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.nri-form {
    text-align: left;
}

.nri-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.nri-form-group {
    display: flex;
    flex-direction: column;
}

/* ── FIX: Input text was #e0d5c8 on white background — nearly invisible.
         Changed to a readable dark colour.                             ── */
.nri-form input,
.nri-form select,
.nri-form textarea {
    background: #ffffff;
    border: 1px solid #9e7451;
    color: #333;                   /* was #e0d5c8 — unreadable on white */
    padding: 12px 16px;
    font-size: 0.92rem;
    font-family: 'poppins-light' ;
    width: 100%;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
}

.nri-form input:focus,
.nri-form select:focus,
.nri-form textarea:focus {
    border-color: #9a7156;
    box-shadow: 0 0 0 3px rgba(154, 113, 86, 0.12);
}

.nri-form input::placeholder,
.nri-form textarea::placeholder {
    color: #999;
    font-family: 'poppins-light' ;
}

/* Select styling: custom arrow + readable option colours */
.nri-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a7156' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.nri-form select option {
    background: #fff;
    color: #333;
}

.nri-form textarea {
    resize: vertical;
    min-height: 110px;
    margin-bottom: 16px;
}

.nri-form-submit {
    text-align: center;
}

.nri-form-submit button {
    background: #9a7156;
    color: #fff;
    border: none;
    padding: 13px 52px;
    font-family: 'poppins-bold' ;
    font-size: 0.92rem;
    font-weight: 700;
    /*letter-spacing: 0.9px;*/
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border-radius: 2px;
}

.nri-form-submit button:hover {
    background: #7a5840;
    transform: translateY(-1px);
}

.nri-form-submit button:active {
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .nri-swiper .swiper-slide img {
        height: 400px;
    }
}

/* Tablet portrait */
@media (max-width: 991px) {
    .nri-banner {
        padding: 90px 0 36px;
    }

    .nri-banner-heading h1 {
        font-size: 2rem;
    }

    .nri-swiper .swiper-slide img {
        height: 340px;
    }

    .nri-section-title {
        font-size: 1.6rem;
    }

    .nri-form-wrap {
        max-width: 90%;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 767px) {
    .nri-banner {
        padding: 80px 0 30px;
    }

    .nri-banner-heading h1 {
        font-size: 1.8rem;
        letter-spacing: 0.9px;
    }

    .nri-banner-img {
        max-height: 280px;
    }

    .nri-info {
        padding: 40px 0;
    }

    .nri-info p {
        font-size: 0.93rem;
    }

    .nri-info h2 {
        font-size: 1.25rem;
    }

    .nri-section-title {
        font-size: 1.4rem;
        letter-spacing: 0.9px;
    }

    .nri-swiper .swiper-slide img {
        height: 260px;
    }

    /* Stack form fields into single column */
    .nri-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nri-form-wrap {
        max-width: 100%;
        padding: 0 4px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question span {
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 14px 16px 16px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .nri-banner {
        padding: 70px 0 24px;
    }

    .nri-banner-heading h1 {
        font-size: 1.5rem;
        letter-spacing: 0.9px;
    }

    .nri-banner-heading h1::after {
        width: 40px;
        margin-top: 10px;
    }

    .nri-banner-img {
        max-height: 220px;
    }

    .nri-explore {
        padding: 40px 0 36px;
    }

    .nri-swiper .swiper-slide img {
        height: 210px;
    }

    .nri-faq {
        padding: 20px 0 40px;
    }

    .faq-question span {
        font-size: 0.85rem;
    }

    .nri-contact {
        padding: 40px 0;
    }

    .nri-contact-sub {
        font-size: 0.88rem;
    }

    .nri-form-submit button {
        width: 100%;
        padding: 14px;
    }
}
.swiper{
    display:block;
}