:root {
    --primary: #1a4331;
    --muted: #9ca3af;
    --hover: #4b5563;
    --border: #e5e7eb;
}

body {
    font-family: "Playfair Display", serif;
}

.mainbg {
    background: #F3F5F2;
}

.container1 {
    padding: 2rem 7% 0 5vw;
    ;
}



:root {
    --primary: #1a4331;
    --muted: #8e8e8e;
    --border: #e0e0e0;
    --font-serif: 'Georgia', serif;
}

.novelle-navbar {
    background: #F8FAFC;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-serif);
    padding-top: 0px;
    padding-bottom: 0;
}

.navbar-brand img {
 height: 70px;
  width: 50px;

}


.novelle-navbar .nav-link {
    color: #8F8F8F;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.novelle-navbar .nav-link:hover {
    color: var(--primary);
}

.novelle-navbar .nav-link.active {
    color: var(--primary) !important;
}

.novelle-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.novelle-navbar .nav-link.active::after {
    width: 100%;
}


.dropdown-toggle::after {
    display: none;
}


.btn-novelle {
    background-color: var(--primary);
    color: #fff;
    /* padding: 10px 30px; */
    border-radius: 4px;
    border: 1px solid var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-novelle:hover {
    background-color: #123023;
    color: #fff;
}

.btn-outline-novelle {
    background: transparent;
    color: var(--muted);
    /* padding: 10px 30px; */
    border-radius: 4px;
    border: 1px solid #cccccc;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-novelle:hover {
    background-color: #f8f9fa;
    border-color: var(--muted);
    color: var(--primary);
}


@media (max-width: 991.98px) {
    .novelle-navbar .nav-link::after {
        display: none;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        border-bottom: 1px solid #f8f9fa;
    }
}



.novelle-footer {
    background: linear-gradient(135deg, #1f4d3a 0%, #0f2818 100%);
    color: #ffffff;
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 60px;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.footer-brand {
    gap: 20px;
}

.footer-logo {
    width: 105px;
    height: 145px;
    object-fit: contain;
}

.footer-brand-title {
    font-family: 'Algerian';
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 100%;
    font-style: regular;
    color: #ffffff;
}

.footer-brand-text {
    font-family: 'lora' serif;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.85);
    font-style: regular;
    font-weight: 400;
}


.footer-section-heading {
    font-family: 'lora', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 150%;
    font-style: semibold;
}


.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  margin-left: 0;
}


.footer-links li {
  margin-left: 0;
  padding-left: 0;
}

.footer-links a {
    font-family: 'lora';
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    font-style: regular;
    transition: opacity 0.3s ease;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0%;

}

.footer-links a:hover {
    opacity: 0.7;
}


.footer-social-container {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}

.social-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    opacity: 0.7;
}



.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}



.footer-divider {
    width: 1250px;
    align-items: center;
    height: 3px;
    background-color: #3e3e3e;
    
}


@media (max-width: 768px) {
  .novelle-footer {
    padding-top: 60px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-social-container {
    position: static;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    width: 100%;
    grid-column: 1 / -1;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-title {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .footer-section-heading {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .social-link {
    font-size: 20px;
  }

  .footer-divider {
    width: 80%;
    height: 3px;
    margin: 25px auto;
  }
}

@media (max-width: 480px) {
  .novelle-footer {
    padding-top: 50px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-wrapper {
    gap: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 10px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-logo {
    width: 100px;
  }

  .footer-brand-title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .footer-brand-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-section-heading {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-social-container {
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .social-link {
    font-size: 18px;
  }

  .footer-divider {
    width: 90%;
    height: 2.5px;
    margin: 20px auto;
  }


  .footer-copyright p {
    font-size: 14px;
  }
}

@media (min-width: 800px) and (max-width: 1050px) {
  .footer-divider {
    width: 90%;      
    max-width: 700px; 
    height: 3px;
    margin: 25px auto;
  }
}

@media (min-width: 850px) and (max-width: 1070px) {
  .footer-divider {
    width: 85%;         
    max-width: 650px;   
    height: 3px;       
    margin: 25px auto;  
  }
}


a {
    text-decoration: none;
}

.bi {
    display: inline-block;
}


@media print {
    .novelle-footer {
        page-break-inside: avoid;
    }
}


:root {
    --novelle-green: #1a4331;
    --input-bg: #f3f4f6;
    --text-dark-blue: #1a3044;
    --orange-icon: #fb923c;
}

.contact-page-bg {
    background-color: #f9fafb;
}


.hero-section {
    padding: 2rem 0;
    background-color: #f3f2ee;
    position: relative;
}


.hero-container {
    padding-left: 3.5rem;
    
    padding-right: 3.5rem;
    
}


.hero-blob {
    position: absolute;
    top: -15%;
    left: -20%;
    width: 45%;
    height: 130%;
    background-color: #efede8;
    border-radius: 0 50% 50% 0;
    z-index: 0;
}


.hero-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 60px;
    font-style: semibold;
    letter-spacing: 0%;
}

.hmb {
    margin-bottom: 5px;
}

.hero-subtitle {
    font-family: 'lora', "serif";
    line-height: 1.4;
    font-weight: 500;
    font-size: 24px;
    line-height: 150%;
    white-space: nowrap;
    color: rgb(83, 82, 82);
}


.hero-img-container img {
    max-width: 100%;
    height: auto;
    transform: scale(1.05);
}


@media (max-width: 991px) {
    .hero-subtitle {
        white-space: normal;
        text-align: center;
        color: rgb(83, 82, 82);
    }

    .hero-section {
        padding: 1.75rem 0;
    }

    .hero-container {
        padding-left: 2.5rem;
        
        padding-right: 2.5rem;
        
    }

    .hero-img-container img {
        transform: scale(1);
    }
}


.cta-section {
    
    background: white;
    padding: 100px 0;
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
}


.bg-curve-left {
    box-sizing: border-box;
    position: absolute;
    width: 723px;
    height: 453px;
    left: -69px;
    top: 0px;
    background: #E6E5E5;
    border-radius: 4px 374px 4px 4px;
    z-index: 0;
}

.bg-curve-right {
    position: absolute;
    width: 800px;
    height: 800px;
    background-color: #E6E5E5;
    
    border-radius: 50%;
    bottom: -200px;
    right: -300px;
    z-index: 0;
}


.cta-heading {
    font-family: 'lora', serif;
    color: #1E293B;
    font-size: 48px;
    font-weight: 600;
    position: relative;
    line-height: 100%;
    z-index: 2;
}


/* .btn-novelle {
    background-color: #1f4237;
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 600;
    border: none;
    z-index: 2;
    position: relative;
} */


.shape {
    position: absolute;
    z-index: 1;
}


.shape-blue-top {
    width: 100px;
    height: 50px;
    background-color: #0052a5;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    top: 0;
    left: 80px;
    
}

.shape-gold-left {
    width: 50px;
    height: 100px;
    background-color: #e5ab31;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    top: 35px;
    
    left: 55px;
    
}


.shape-gold-right {
    width: 50px;
    height: 100px;
    background-color: #e5ab31;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    bottom: 35px;
    
    right: 55px;
}

.shape-blue-bottom {
    width: 100px;
    height: 50px;
    background-color: #0052a5;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    bottom: 0;
    right: 80px;
}


@media (max-width: 768px) {

    .bg-curve-left,
    .bg-curve-right {
        width: 400px;
        height: 400px;
    }

    .shape-blue-top,
    .shape-blue-bottom {
        left: 20px;
        right: 20px;
    }

    .shape-gold-left {
        left: 0;
        top: 10px;
    }

    .shape-gold-right {
        right: 0;
        bottom: 10px;
    }
}


.what-happens {
    font-family: 'Source Sans Pro', sans-serif;
    overflow: hidden;
}

.section-tag {
    color: #4c4c4c;
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
    font-family: 'lora', serif;
}

.section-title {
    font-family: 'lora', "serif";
    font-size: 48px;
    font-weight: 600;
    line-height: 100%;
    color: #4c4c4c;
    margin: 0 auto;
}


.feature-card {
    border-radius: 1.5rem;
    
    padding: 2.5rem 2rem;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    font-family: serif;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


.card-beige {
    background-color: #EDE0D4 !important;
}

.card-cream {
    background-color: #FFF4EA !important;
}




.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #4c4c4c;
    letter-spacing: 0%;
    margin-bottom: 1.2rem;
    line-height: 150%;
}

.feature-text {
    font-size: 20px;
    color: #4c4c4c;
    line-height: 150%;
    font-weight: 400;
}


.collage-img {
    max-width: 100%;
    height: auto;
    /* Optional: If you need to match the specific cropping 
       seen in the collage image reference */
    object-fit: contain;
}


@media (max-width: 768px) {
    .feature-card {
        padding: 2rem;
        min-height: auto;
    }

    .section-title {
        font-size: 2rem;
    }
}


.join-btn {
    display: inline-block;
    font-family: serif;
    background-color: #166534;
    
    color: #ffffff;
    padding: 12px 32px;
    font-size: 1.35rem;
    
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}


.join-btn:hover {
    background-color: #14532d;
    
    transform: translateY(-2px);
    text-decoration: none;
}


@media (max-width: 768px) {
    .join-btn {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .join-btn {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 12px;
    }
}


/* Join Community Model  */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 39, 39, 0.914);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 5px 5px;
    z-index: 2000;
}

.modal-overlay.show {
    display: flex;
}

.modal-overlay.show .modal-content {
    transform: translateY(40px);
}



.modal-content {
    background: #fff;
    width: 100%;
    max-height: 78vh;

    border-radius: 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.modal-compact {
    max-width: 620px;
}


.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 2;
}


.modal-scroll-container {
    overflow-y: auto;
    padding: 1.4rem 2rem 1rem;
    flex: 1;
}


.modal-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}



.modal-header {
    display: flex;
    
    align-items: baseline;
    
    gap: 0.8rem;
    
    flex-wrap: wrap;
    
    margin-bottom: 1.2rem;
}


.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    
}


.modal-header .subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #292828;
    margin: 0;
    white-space: nowrap;
}


@media (max-width: 768px) {
    .modal-header {
        flex-direction: column;
        
        align-items: flex-start;
        gap: 0.3rem;
    }

    .modal-header h2 {
        font-size: 1.6rem;
        white-space: normal;
    }

    .modal-header .subtitle {
        font-size: 0.95rem;
        white-space: normal;
    }
}



.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.4rem;
}

.field-group {
    margin-bottom: 1rem;
}

label {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    display: block;
}

.instruction {
    font-size: 0.95rem;
    color: #292828;
    margin-bottom: 0.8rem;
}


.input-field {
    width: 100%;
    background: #f5f6f3;
    border: none;
    padding: 0.5rem;
    font-size: 0.95rem;
    border-radius: 2px;
    outline: none;
    color: #444;
}


.select-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}


.form-footer {
    padding: 1.2rem 2.6rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: #1a4332;
    color: #fff;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 3px;
    font-size: 0.95rem;
    cursor: pointer;
}


@media (max-width: 768px) {
    .modal-compact {
        max-width: 96%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-scroll-container {
        padding: 1.6rem 1.4rem;
    }

    .form-footer {
        padding: 1rem 1.4rem;
    }

    .btn-submit {
        width: 100%;
    }
}


.cta-btn {
    display: inline-block;
    font-family: serif;
    background-color: #166534;
    
    color: #ffffff;
    padding: 12px 32px;
    font-size: 1.25rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.cta-btn:hover {
    background-color: #14532d;
    
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .cta-btn {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .cta-btn {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 12px;
    }
}


.about-bg-blob::before {
    content: '';
    position: absolute;
    width: 367px;
    height: 328px;
    left: 17px;
    top: 70px;
    background: #EDE0D4;
    border-radius: 410px 158px 160px 80px;
    z-index: 0;
    transform: rotate(23deg);
}

.about-bg-blob::after {
    content: '';
    position: absolute;
    width: 342.1px;
    height: 285.78px;
    left: 1226px;
    top: -32px;
    background: #EDE0D4;
    border-radius: 240px 348px 110px 109px;
    z-index: 0;
    transform: rotate(48deg);
}

.about-novelle {
    position: relative;
}

.input-field.invalid {
    border: 1px solid red;
}

.error-message {
    color: red;
    font-size: 0.8rem;
    display: none;
}

.input-field.invalid + .error-message {
    display: block;
}


.toaster {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toaster-message {
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.toaster-message.show {
    opacity: 1;
    transform: translateX(0);
}

.toaster-message.success {
    background-color: #28a745;
}

.toaster-message.error {
    background-color: #dc3545;
}

/* Join community css */

/* Highlight invalid input */
.input-field.error {
  border: 1.5px solid #dc3545;
  background: #fff5f5;
}

/* Error message style */
.error-message {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 4px;
}   