* {
    box-sizing: border-box;
}

p {
    font-size: 1.2em;
}


/* Fonts  */

/* @font-face declarations for custom fonts */
@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');
}



/* =========================================
   FEATURED POST SECTION
   ========================================= */

.image-text {
    padding: 40px 0;
    background-color: #fffaf8;
    text-align: left !important;
}

.image-text h3 {
    font-size: 18px;
}


@media (min-width: 1367px) {
    .btn-outline {
        padding: 8px 4px;
        font-size: 13px;
        min-width: 17%;
    }
}


.btn-outline_1 {
    flex: none;
    background: transparent;
    border: 1px solid #a6bddc;
    color: #9e7451;
    width: 180px;
}



.featured-post-wrap::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 0px;
    bottom: 50%;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: 24px 24px 0 24px;
    pointer-events: none;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    box-sizing: border-box;
    background: transparent;
}



.featured-post-wrap {
    display: flex;
    gap: 0;
    background: #fff;
    /*border-radius: 12px;
    overflow: hidden;
   /* border: 1px solid #e8ddd6;*/
}



.project-card::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 0px;
    bottom: 50%;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: 24px 24px 0 24px;
    pointer-events: none;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    box-sizing: border-box;
    background: transparent;
}




.featured-post-wrap .fp-image {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
    min-height: 280px;
}

.featured-post-wrap .fp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-post-wrap .fp-content {
    flex: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.featured-post-wrap .fp-date {
    font-size: 11px;
    color: #9a7156;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.featured-post-wrap h2 {
    font-size: 24px !important;
    font-weight: 400;
    color: #9a7156;
    line-height: 1.35;
    margin-bottom: 14px;
    text-align: left !important;
    font-family: 'orlean';
    letter-spacing: 0.9px;
}

.featured-post-wrap .fp-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: left;
}

.fp-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    border: 1.5px solid #ccc;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s;
}

.fp-read-btn:hover {
    background: #9a7156;
    color: #fff;
    border-color: #9a7156;
    text-decoration: none;
}

.fp-read-btn svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* =========================================
   BLOG GRID SECTION
   ========================================= */

.blogs {
    padding: 40px 0;
    background-color: #fffaf8;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.vx-blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8ddd6;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.vx-blog-card:hover {
    box-shadow: 0 4px 18px rgba(154, 113, 86, 0.15);
}

.vx-blog-card .card-img {
    height: 100%;
    overflow: hidden;
    background: #ddd;
}

.vx-blog-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.vx-blog-card:hover .card-img img {
    transform: scale(1.03);
}

.vx-blog-card .card-body {
    text-align: start;
    padding: 16px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vx-blog-card .card-date {
    font-size: 0.8rem;
    color: #9a7156;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'poppins-light';
}

.vx-blog-card .card-title {
    font-size: 1rem;
    /*font-weight: 700;*/
    color: #9A7156;
    letter-spacing: 0.9px;
    line-height: 1.5;
    margin-bottom: 9px;
    flex: 1;
    font-family: 'poppins-light';
}


.vx-blog-card .card-excerpt {
    font-size: 12px;
    color: #777;
    line-height: 1.65;
    margin-bottom: 14px;
}

.vx-blog-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #9a7156;
    text-decoration: none;
}

.vx-blog-card .card-link:hover {
    text-decoration: underline;
}

.vx-blog-card .card-link svg {
    width: 12px;
    height: 12px;
    stroke: #9a7156;
    fill: none;
    stroke-width: 2.5;
}

/* =========================================
   PAGINATION
   ========================================= */

.center {
    text-align: center;
    padding: 40px 0;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

.pagination a:hover:not(.active) {
    background-color: #9a7156;
    color: #fff;
}

/* =========================================
   OTHER EXISTING STYLES
   ========================================= */

.heading h1 {
    font-size: 2em;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.banner {
    position: relative;
    text-align: center;
    color: white;
    background-color: #9a7156;
    background-size: cover;
    background-position: top center;
    padding: 30px 0;
    z-index: 99;
}

.explore-btn {
    padding: 5px 10px;
    color: #fff;
    margin-top: 25px;
    background-color: #9a7156;
    border: 1px solid #9a7156;
    border-radius: 2px;
    font-size: 1.5em;
}

.location {
    padding: 20px 0;
    background-color: #fffaf8;
}

.location h4 {
    background-color: #9a7156;
    padding: 15px 20px;
    color: #fff;
}

.location ul li {
    list-style-type: none;
    padding: 6px 0;
    font-size: 1.2em;
    color: #9a7156;
}

.location ul {
    padding-left: 25px;
}

.well {
    border: 1px solid #9a7156;
    padding: 35px 15px;
    background-color: #fffaf8;
}

.location-text p {
    font-size: 2rem;
    font-weight: 700;
}

.form-border {
    border: 1px solid #9a7156;
    padding: 25px;
}

textarea.form-control {
    height: auto;
}

.buttn {
    padding: 5px 25px;
    color: #fff;
    margin-top: 25px;
    background-color: #9a7156;
    border: 1px solid #9a7156;
    border-radius: 2px;
    font-size: 1.5em;
}

.write-us {
    padding: 50px 0;
    background-color: #fffaf8;
}

.write-us p {
    padding-bottom: 25px;
}

.contact-btn {
    padding: 10px 14px;
    color: #fff;
    margin-top: 25px;
    background-color: #06995966;
    border: 1px solid #06995966;
    border-radius: 2px;
    font-size: 1.2em;
}

.cf {
    border-bottom: 2px solid #444 !important;
    border-right: none !important;
    border-top: none !important;
    border-left: none !important;
    background-color: #fffaf8 !important;
    margin-bottom: 42px !important;
}

.reach-us {
    padding: 40px 0 65px;
    background-color: #fffaf8;
}

.reach-us h2 {
    padding-bottom: 25px;
}

.reach-us img {
    border: 1px solid #000;
    padding: 9px;
}

.banner-img {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.banner-img img {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.media-text-image {
    padding: 90px 0;
    background-color: #fffaf8;
}

.news-img {
    background-color: #9a715685;
    padding: 15px 5px;
}

.media-news {
    padding: 45px 0;
}

.media-read-btn {
    padding: 10px 52px;
    color: #fff;
    margin-top: 25px;
    background-color: #06995966;
    border: 1px solid #06995966;
    border-radius: 2px;
    font-size: 1.2em;
}

.media-imges {
    padding: 45px 0 90px;
    background-color: #fffaf8;
}

.press {
    padding: 25px 0;
    background-color: #fffaf8;
}

.press h2 {
    padding: 0 0 25px;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 30px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    margin: 0 10px;
    user-select: none;
}

.btn-default {
    color: #333;
    background-color: white;
    border-color: #06995966;
}

.btn-default:hover {
    color: #333;
    background-color: #06995966;
    border-color: #ccc;
}

.filter h4 {
    text-align: center;
    background-color: #9a7156;
    padding: 16px 15px;
    margin-top: 35px;
}

.filter img {
    padding-top: 45px;
}

.board-team {
    padding: 45px 0;
    background-color: #fffaf8;
    text-align: center;
}

.board-team h2 {
    padding: 35px 0;
}

.board-members {
    padding: 45px 0;
    background-color: #fffaf8;
    text-align: center;
}

.board-members h5 {
    font-size: 1.6rem;
}

.know-more-btn {
    padding: 6px 20px;
    color: #fff;
    margin-top: 12px;
    background-color: #06995966;
    border: 1px solid #06995966;
    border-radius: 2px;
    font-size: 1em;
}

.team-members {
    padding-top: 96px;
    padding-bottom: 45px;
}

.certificate {
    padding: 45px 0;
    background-color: #fffaf8;
    text-align: center;
}

.certificate-text {
    position: relative;
    text-align: center;
    color: #9a7156;
    background: url(../images/vision-mission/Vertex-our-story.png);
    background-size: cover;
    background-position: top center;
    z-index: 99;
 
    padding: 50px 100px 50px 100px !important;
}

.certificate h2 {
    padding-bottom: 25px;
    padding-top: 45px;
}

.certificate p {
    line-height: 2;

    font-size: 2rem;
    padding-bottom: 12px;
}

.story-logo {
    float: right;
}

.certificate h6 {
    line-height: 2;
 
    font-size: 2.5rem;
    font-weight: 500;
    padding-top: 25px;
}

.careers-banner {
    position: relative;
    text-align: center;
    color: #9a7156;
    background: url(../images/careers/banner-careers.png);
    background-size: cover;
    background-position: top center;
    padding: 150px 0;
    z-index: 99;
}

.careers-work {
    padding: 45px 0;
    background-color: #fffaf8;
}

.careers-work h2 {
    text-align: center;
}

.careers-work ul {
    padding-left: 5px 0;
}

.careers-work ul li {
    list-style-type: none;
}

.question {
    background-color: #9a71564a;
    color: #444;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    box-shadow: 0 0 3px 2px #80808078;
    border-radius: 5px;
}

.collap {
    margin-top: 25px;
}

.question.active,
.question:hover {
    background-color: #fff;
    color: #444;
}

.answer {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f4eeee;
}

h5.question:after {
    content: '\002B';
    color: #036;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    background-color: #e8e1e1a1 !important;
    padding: 4px 10px;
    border-radius: 16px;
}

h5.question.active:after {
    content: "\2212";
}

.collap p {
    font-size: 20px;
    padding: 15px;
    color: #1E3152;
}

.question {
    margin-top: 0;
    color: #444;
    font-size: 20px;
}

.question.active,
.question:hover {
    color: #1E3152;
}

.careers-apply-btn {
    padding: 5px 16px;
    color: #fff;
    background-color: #06995966;
    border: 1px solid #06995966;
    border-radius: 2px;
    font-size: 1.2em;
}

.nav-side {
    width: 44px;
    height: 44px;
    background-color: #222;
    color: #fff;
}

.vertex-culture {
    padding: 35px 0;
    background-color: #fffaf8;
    text-align: center;
}

.vertex-culture h2 {
    padding: 15px 0 25px;
}

.bottom-right h2 {
    background-color: #9a71564a;
    padding: 25px 15px;
    color: #444;
    border-radius: 32px 32px 0 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.4em;
}

.header-form {
    background-color: #fffaf8;
    padding: 15px 25px 15px;
    color: #444;
    margin: 0 !important;
    z-index: 99;
    border-radius: 0 0 20px 20px;
    border: 1px solid #9a71564a;
}

.career-form-btn {
    padding: 5px 16px;
    color: #fff;
    background-color: #06995966;
    border: 1px solid #06995966;
    border-radius: 2px;
    font-size: 1.2em;
}

.position { padding-right: 45px; }
.quali    { padding-right: 12px; }
.exp      { padding-right: 24px; }
.loc      { padding-right: 42px; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media only screen and (max-width: 900px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {

    /* Featured post stacks vertically */
    .featured-post-wrap {
        flex-direction: column;
    }

    .featured-post-wrap .fp-image {
        flex: none;
        max-width: 100%;
        min-height: 200px;
        height: 220px;
    }

    .featured-post-wrap .fp-content {
        padding: 20px 16px;
    }

    .featured-post-wrap h2 {
        font-size: 17px !important;
    }

    /* Blog grid goes single column */
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blogs {
        padding: 20px 0;
    }

    .image-text {
        padding: 20px 0;
    }

    /* Keep legacy overrides */
    .team               { margin-bottom: 30px !important; }
    .reach-us           { padding: 0; }
    .media-text-image   { padding: 20px 0; }
    .media-news         { padding: 20px; }
    .media-imges        { padding: 20px 0; }
    .media-imges img    { padding: 15px 0; }
    .filter h4          { padding: 16px 5px; margin-top: 5px; font-size: 1rem; }
    .btn                { padding: 12px 15px; margin: 5px 5px; }
    .filter img         { padding-top: 15px; }
    .board-team         { padding: 5px 0; }
    .board-team h2      { padding: 10px 0; }
    .team-members       { padding-top: 15px; padding-bottom: 15px; }
    .certificate-text   { padding: 20px !important; }
    .certificate        { padding: 0; }
    .story-logo         { display: block; }
    .careers-banner     { padding: 60px 0; background: url(../images/careers/03-careers.png); }
    .question           { font-size: 1.5rem; }
}
/* GLOBAL STYLES */
body {
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
}
.container {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* NAVBAR */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

/* BANNER */
#inner-banner {
    background: #9a7156;
    padding: 100px 0 50px;
    text-align: center;
    color: #fff;
}

#inner-banner h1 {
    font-weight: 700;
    letter-spacing: 0.9px;
}

/* IMAGE SECTIONS */
.image-text, .blogs {
    padding: 60px 0;
    background-color:#f7f9fa !important;
    
}

/* FEATURED POST - HOVER EFFECT */
.featured-post-wrap {
    display: flex;
    background: #fff;
    /*border: 1px solid #e8ddd6;*/
    /*border-radius: 12px;*/
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.featured-post-wrap:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fp-image {
    flex: 1;
    overflow: hidden;
}

.fp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* DEFAULT STATE: GREYSCALE */
    /*filter: grayscale(100%);*/
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* HOVER STATE: FULL COLOR */
.featured-post-wrap:hover .fp-image img {
    filter: grayscale(0%);
}

.fp-content {
    flex: 1;
    padding: 40px;
}

.fp-date {
    color: #9a7156;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
}

.fp-read-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #9a7156;
    border-radius: 25px;
    color: #9a7156;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s;
}

.fp-read-btn:hover {
    background: #9a7156;
    color: #fff;
    text-decoration: none;
}

/* BLOG GRID - HOVER EFFECT */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vx-blog-card {
    background: #fff;
    border: 1px solid #e8ddd6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.vx-blog-card:hover {
    box-shadow: 0 8px 25px rgba(154, 113, 86, 0.2);
}

.card-img {
    height: 310px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* DEFAULT STATE: GREYSCALE */
    /*filter: grayscale(100%);*/
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* HOVER STATE: FULL COLOR + SLIGHT ZOOM */
.vx-blog-card:hover .card-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card-date {
    font-size: 11px;
    color: #9a7156;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-title {
    font-size: 16px;
    /*font-weight: 700;*/
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.card-link {
    font-size: 13px;
    color: #9a7156;
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* FOOTER */
#footer {
    padding: 40px 0;
    background: #f7f9fa !important;
    color: #ccc;
}
.footer {
    width: 100%;
    background: #f7f9fa !important;
    overflow: hidden;}

/* RESPONSIVE */
@media (max-width: 992px) {
    .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-post-wrap { flex-direction: column; }
}

@media (max-width: 768px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }

    .permanent-homes-banner {
        min-height: 330px;
        background: url('../images/Blog_Banner_MBL.webp') no-repeat center center / cover !important;
    }
}
    .permanent-homes-banner {
  position: relative;
  width: 100%;
  min-height: 348px;
  background: url('../images/Blog_Banner_DTP.webp') no-repeat center center/cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ffffff;
}

.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: 10%;
    padding-right: 20px;
    padding-top: 5%;
}

.banner-content h1 {
  margin: 0;
  font-family: 'orlean';
  font-size: 78px;
  font-weight: 300;
  line-height: 1.1;
  color: #F6ECA4;
  letter-spacing: 0.9px;
}

/* Tablet */
@media (max-width: 991px) {
  .permanent-homes-banner {
    min-height: 260px;
  }

  .banner-content {
    padding-left: 90px;
  }

  .banner-content h1 {
    font-size: 56px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .permanent-homes-banner {
    min-height: 220px;
  }

  .banner-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .banner-content h1 {
            font-size: 28px;
        line-height: 1.2;
        word-break: break-word;
        margin-top: 17%;
    }
  
  .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
}
/* Load More Button Styling */
.btn-load-more {
    padding: 12px 40px;
    background-color: #9a7156; /* Vertex Bronze */
    color: #fff;
    border: 2px solid #9a7156;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

.btn-load-more:hover {
    background-color: transparent;
    color: #9a7156;
}

/* Hide extra cards by default via JS, but we define the flex state here */
.vx-blog-card.hidden {
    display: none !important;
}


/* =========================================
   LOAD MORE BUTTON WRAP
   ========================================= */
.load-more-wrap {
    text-align: center;
}

/* =========================================
   SCROLL ENTRANCE ANIMATION
   ========================================= */
.vx-blog-card,
.featured-post-wrap {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
}

.vx-blog-card.is-visible,
.featured-post-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger cards inside each row */
.vx-blog-card:nth-child(2) { transition-delay: 0.1s; }
.vx-blog-card:nth-child(3) { transition-delay: 0.2s; }


.fp-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-top: 2px solid transparent;  /* Initially transparent border for top */
    border-left: 2px solid transparent; /* Initially transparent border for left */
    border-radius: 10px; /* Optional rounded corners */
    transition: border-top 0.3s ease, border-left 0.3s ease; /* Smooth transition for top and left borders */
}

.fp-image:hover {
    border-top-color: #a67852; /* Apply the border color to the top on hover */
    border-left-color: #a67852; /* Apply the border color to the left on hover */
    padding: 1% 0 0 1%;
}

.fp-image img {
    width: 100%; /* Ensure the image fits inside the container */
    height: 100%;
    object-fit: cover; /* Ensures the image maintains its aspect ratio */
    border-radius: 10px; /* Optional rounded corners for the image */
}