* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html::-webkit-scrollbar {
  width: 8px;              
  height: 8px;             
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3); 
  border-radius: 10px;      
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;    
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #f8fafc 0%, #eff3f8 100%);
    color: #0a1a2f;
    line-height: 1.4;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(200%) blur(16px);
    -webkit-backdrop-filter: saturate(250%) blur(16px);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(30,111,63,0.08);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 100px;
    height: auto;
    object-fit: contain;
    clip-path: inset(0 20% 0 0);
    margin-right: -16px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e6f3f, #0f4c2c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
    line-height: 1.1;
}

.logo-text > span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b6b8f;
    display: block;
    margin: 0;            
    margin-top: 2px;      
}

.logo-text a{
    text-decoration: none;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #1f3a4b;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #1e6f3f;
}

.btn-outline {
    border: 1.5px solid #1e6f3f;
    background: transparent;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    color: #1e6f3f;
    transition: 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    background: #0f5833;
    color: white !important;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #1f3a4b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 18px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(30, 111, 63, 0.08);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
}

.nav-links.active {
    max-height: 1000px;
    opacity: 1;
}

@media (max-width: 900px) {
    .navbar {
        align-items: flex-start;
        position: relative;
        padding: 0.45rem 3.3rem 0.65rem 0.75rem;
        width: calc(100% + 2rem);
        margin: 0 0 0 -1rem;
        border-radius: 0 0 28px 28px;
        border-left: none;
        border-right: none;
        box-shadow: 0 24px 45px -30px rgba(0, 0, 0, 0.12);
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 54px);
        gap: 0.35rem;
        margin-left: -0.35rem;
        align-items: flex-start;
    }

    .logo-text {
        margin-top: 0.42rem;
    }

    .logo img {
        width: 90px;
        clip-path: inset(0 18px 0 14px);
        margin-left: -14px;
        margin-right: -18px;
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        top: 0.35rem;
        right: 0.55rem;
        order: 2;
        align-self: flex-start;
        justify-content: center;
        align-items: center;
        flex: 0 0 auto;
        margin-left: auto;
        margin-top: 18px;
        margin-bottom: 0;
    }

    .nav-links {
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding: 0 0.65rem;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(30,111,63,0.14);
        border-radius: 24px;
        box-shadow: 0 16px 30px -22px rgba(0,0,0,0.08);
        margin-top: 0.65rem;
    }

    .nav-links.active {
        padding: 0.65rem;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 0.95rem;
        border-radius: 30px;
        background: transparent;
        text-align: center;
    }

    .nav-links a:hover {
        background: #eef7f0;
    }

    .logo-text h1 {
        line-height: 0.98;
    }

    .logo-text h1 a,
    .brand-main,
    .brand-sub {
        display: block;
    }

    .brand-sub {
        text-align: center;
    }
}

@media (max-width: 780px) {
    .container {
        padding: 0 0.8rem 0.8rem;
    }
    .navbar {
        width: calc(100% + 1.6rem);
        margin: 0 0 0.5rem -0.8rem;
        padding: 0.35rem 3.2rem 0.45rem 0.45rem;
        border-radius: 0 0 26px 26px;
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .navbar {
        align-items: flex-start;
        padding: 0 10px;
    }
    .logo-text {
        margin-top: 1.2rem;
    }
    .logo img {
        transform: translateY(2px);
    }
    .logo-text h1 {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }
    .logo-text > span {
        font-size: clamp(0.64rem, 2.7vw, 0.75rem);
    }
    .hero {
        flex-direction: column;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text p,
    .blog-teaser-content p,
    .blog-header p,
    .section-sub {
        max-width: 100%;
    }
    .featured-section,
    .pros-section,
    .contact-form,
    .newsletter-box,
    .blog-card,
    .service-card {
        width: 100%;
        margin: 0 auto;
    }
    .featured-section,
    .blog-grid,
    .services-grid,
    .pros-stats,
    .flex-2col {
        flex-direction: column;
        align-items: stretch;
    }
    .pros-section {
        padding: 1.5rem;
        gap: 1.25rem;
        align-items: stretch;
    }
    .pros-text {
        width: 100%;
        text-align: center;
    }
    .pros-stats {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    .stat {
        min-width: 150px;
        width: 100%;
    }
    .pros-text h3 {
        font-size: 1.5rem;
    }
    .blog-grid,
    .services-grid {
        gap: 1.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-form input,
    .newsletter-form button,
    .input-group input,
    .input-group textarea {
        width: 100%;
    }
    .nav-links {
        border: none;
        box-shadow: none;
        background: transparent;
    }
}

/* Modal overlay */
.guidance-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 47, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 10000;
    padding: 20px;
}

.guidance-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal container */
.guidance-modal-box {
    max-width: 800px;
    width: 90%;
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 24px 50px -24px rgba(10, 26, 47, 0.35);
    animation: modalPop 0.25s ease;
}

/* Close button */
.guidance-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f2f7f5;
    color: #1f3a4b;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    transition: 0.2s;
}

.guidance-modal-close:hover {
    background: #e2eee8;
    color: #1e6f3f;
}

/* Icon */
.guidance-modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e7f5ed;
    color: #1e6f3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* Typography */
.guidance-modal-box h2 {
    color: #0f4c2c;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.guidance-modal-intro {
    color: #4b6f86;
    margin-bottom: 1.4rem;
}

/* Form layout */
.guidance-form {
    display: grid;
    gap: 1rem;
}

/* Steps */
.guidance-step {
    display: none;
    gap: 1rem;
}

.guidance-step-active {
    display: grid;
}

/* Questions */
.guidance-question {
    background: #f8fbfa;
    border: 1px solid #e2edeb;
    border-radius: 16px;
    padding: 1rem;
}

.guidance-question span,
.guidance-question > label {
    display: block;
    color: #0a2b2e;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Radio options */
.guidance-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.guidance-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #cfdfd9;
    border-radius: 40px;
    padding: 0.55rem 0.9rem;
    color: #1f3a4b;
    cursor: pointer;
    background: #ffffff;
}

.guidance-options input {
    accent-color: #1e6f3f;
}

/* Input fields */
#monthlyCost,
#guidanceName,
#guidanceEmail,
#guidancePhone,
#guidanceNote {
    width: 100%;
    border: 1px solid #cfdfd9;
    padding: 0.75rem 1rem;
    font-family: inherit;
    color: #0a1a2f;
}

#monthlyCost,
#guidanceName,
#guidanceEmail,
#guidancePhone {
    border-radius: 60px;
}

#guidanceNote {
    border-radius: 22px;
    resize: vertical;
    min-height: 96px;
}

#monthlyCost:focus,
#guidanceName:focus,
#guidanceEmail:focus,
#guidancePhone:focus,
#guidanceNote:focus {
    outline: none;
    border-color: #1e6f3f;
    box-shadow: 0 0 0 3px rgba(30, 111, 63, 0.15);
}

/* Submit buttons */
.guidance-submit {
    width: 360px;
    margin: auto;
    border: none;
    border-radius: 60px;
    background: #1e6f3f;
    color: #ffffff;
    padding: 0.85rem 1.2rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.2s;
}

.guidance-submit:hover {
    background: #0f5833;
}

#guidanceFeedback {
    font-size: 0.8rem;
    margin-top: 0.8rem;
    text-align: center;
    min-height: 1.1rem;
}

/* Animation */
@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .guidance-modal-box {
        padding: 1.5rem;
    }
    
    .guidance-submit {
        width: 100%;
    }
    
    .guidance-modal-box h2 {
        font-size: 1.5rem;
    }
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.hero-text {
    flex: 1.2;
}

.hero-text .badge {
    background: #e7f5ed;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e6f3f;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0a2b2e;
}

.hero-text p {
    font-size: 1.15rem;
    color: #2c4e6e;
    margin-bottom: 1.8rem;
    max-width: 90%;
}

.btn-primary {
    background: #1e6f3f;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 48px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 12px 20px -10px rgba(30,111,63,0.4);
    transition: 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0f5833;
    transform: scale(1.02);
}

.hero-image {
    flex: 0.9;
    background: #ffffffd9;
    border-radius: 44px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
    border: 1px solid #e0f0e5;
}

.hero-image i {
    font-size: 8rem;
    color: #1e6f3f;
    opacity: 0.9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #0b2c2f;
}

.section-sub {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    color: #4b6f86;
    font-size: 1.05rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    flex: 1 1 270px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.05);
    border: 1px solid #e2f0e8;
    text-align: left;
    display: inline;
    align-items: flex-start;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #bdddcf;
    box-shadow: 0 20px 28px -12px rgba(0,0,0,0.1);
}

.service-icon {
    background: #eef7f0;
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: #1e6f3f;
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: #0a2b2e;
}

.service-content p {
    color: #47647c;
    line-height: 1.5;
    font-size: 0.92rem;
    margin: 0;
}

.blog-teaser {
    background: linear-gradient(115deg, #eef7f0 0%, #ffffff 100%);
    border-radius: 2rem;
    padding: 2rem 2rem;
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
    border: 1px solid #d0e9dd;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.05);
}

.blog-teaser-content {
    flex: 2;
}

.blog-teaser-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f422b;
    margin-bottom: 0.5rem;
}

.blog-teaser-content p {
    color: #2a5a45;
    font-size: 1rem;
    max-width: 90%;
}

.blog-teaser-btn {
    background: #1e6f3f;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 48px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 16px -8px rgba(30,111,63,0.4);
}

.blog-teaser-btn i {
    font-size: 1.1rem;
}

.blog-teaser-btn:hover {
    background: #0f5833;
    transform: scale(1.02);
}

@media (max-width: 700px) {
    .blog-teaser-content p {
        max-width: 100%;
    }
}

.pros-section {
    background: linear-gradient(145deg, #0a2a2a 0%, #062020 100%);
    border-radius: 2.5rem;
    padding: 3rem 3rem;
    margin: 1.5rem 0 3rem 0;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(117, 202, 151, 0.12);
}

.pros-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse at 70% 30%, rgba(30, 111, 63, 0.10) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.pros-text {
    flex: 1.2;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.pros-text h3 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #b9f5cf 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.pros-text > div:first-of-type {
    font-size: 1.35rem;
    font-weight: 600;
    color: #75ca97;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.pros-text > div:first-of-type p {
    margin: 0;
}

.pros-text > div:first-of-type p:first-child {
    color: #a8d5bb;
    font-weight: 500;
}

.pros-text > div:first-of-type p:last-child {
    color: #75ca97;
    font-weight: 700;
}

.pros-text > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 92%;
    margin-top: 0.4rem;
}

.pros-stats {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    flex: 1.2;
    min-width: 280px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    min-width: 130px;
    flex: 1 1 0;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    padding: 1.5rem 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.25);
}

.stat:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(117, 202, 151, 0.2);
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}

.stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #75ca97;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.stat .number i {
    font-size: 1.5rem;
    color: #75ca97;
    background: rgba(117, 202, 151, 0.12);
    border-radius: 50%;
    padding: 0.5rem;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat:hover .number i {
    background: rgba(117, 202, 151, 0.25);
    transform: scale(1.08) rotate(-3deg);
}

.stat h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.4rem 0 0.35rem 0;
    letter-spacing: -0.01em;
}

.stat > div:last-child {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    max-width: 180px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .pros-section {
        padding: 2rem 1.75rem;
        gap: 2rem;
        border-radius: 2rem;
    }

    .pros-text h3 {
        font-size: 1.7rem;
    }

    .pros-text > div:first-of-type {
        font-size: 1.2rem;
    }

    .pros-text > p {
        font-size: 0.98rem;
        max-width: 100%;
    }

    .pros-stats {
        justify-content: center;
        gap: 1.2rem;
    }

    .stat {
        min-width: 120px;
        padding: 1.2rem 0.8rem 1rem;
    }

    .stat .number {
        font-size: 1.7rem;
    }

    .stat .number i {
        font-size: 1.3rem;
        width: 2.6rem;
        height: 2.6rem;
        padding: 0.4rem;
    }

    .stat h4 {
        font-size: 0.95rem;
    }

    .stat > div:last-child {
        font-size: 0.82rem;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .pros-section {
        padding: 1.5rem 1.25rem;
        gap: 1.5rem;
        border-radius: 1.6rem;
        margin: 1rem 0 2.5rem 0;
    }

    .pros-text h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .pros-text > div:first-of-type {
        font-size: 1.05rem;
        text-align: center;
    }

    .pros-text > p {
        font-size: 0.92rem;
        text-align: center;
    }

    .pros-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        min-width: unset;
        width: 100%;
    }

    .stat {
        min-width: unset;
        width: 100%;
        padding: 1rem 0.8rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.3rem 1rem;
        border-radius: 1.2rem;
        flex: 1 1 auto;
    }

    .stat .number {
        font-size: 1.4rem;
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    .stat .number i {
        font-size: 1.1rem;
        width: 2.2rem;
        height: 2.2rem;
        padding: 0.3rem;
    }

    .stat h4 {
        font-size: 0.9rem;
        margin: 0;
        flex: 0 0 auto;
    }

    .stat > div:last-child {
        font-size: 0.78rem;
        max-width: 100%;
        flex: 1 1 100%;
        margin-top: 0.2rem;
    }

    .stat:hover {
        transform: translateY(-3px);
    }
}

.contact-form {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid #e2edeb;
}

.flex-2col {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

.contact-info h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-detail i {
    width: 30px;
    color: #1e6f3f;
    font-size: 1.3rem;
}

.contact-detail a {
    color: #0a1a2f;
    text-decoration: none;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.contact-detail a:hover {
    color: #1e6f3f;
    text-shadow: 0.5px 0 0 #1e6f3f, -0.5px 0 0 #1e6f3f;
}

.contact-detail-person {
    display: flex;
    justify-content: center; 
    width: 100%;           
    margin-top: 30px;        
    margin-bottom: 15px;    
}

.contact-detail-person i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;         
    width: 9rem;             
    height: 9rem;            
    color: #001a00;          
    background-color: #3a943a6e; 
    border-radius: 50%;      
    box-sizing: border-box;
}

.form-fields {
    flex: 1.2;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 60px;
    border: 1px solid #cfdfd9;
    font-family: 'Inter', sans-serif;
}

.input-group textarea {
    border-radius: 28px;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #1e6f3f;
    box-shadow: 0 0 0 3px rgba(30,111,63,0.15);
}

.btn-submit {
    background: #1e6f3f;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 48px;
    font-weight: 700;
    color: white;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.footer {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid #d0e2da;
    padding-top: 0.70rem;
    font-size: 0.8rem;
    color: #5e7b91;
}

.designer p {
    margin-top: 0.5rem;
    border-top: 1px solid #d0e2da;
    padding-top: 1rem;
    font-size: 0.95rem;
    color: #3c6680;
}

.designer a {
    color: #1e6f3f;
    text-decoration: none;
    font-weight: 600;
}

.legal-links {
    margin-bottom: 1rem;
    font-size: 0.8rem;
}
.legal-links a {
    color: #1e6f3f;
    text-decoration: none;
    font-weight: 500;
}
.legal-links a:hover {
    text-decoration: underline;
}
.separator {
    margin: 0 0.5rem;
    color: #b0c4bd;
}

.social-links {
   display: inline-flex;       
   align-items: center; 
   gap: 12px;         
}

.social-links p {
    font-size: 1.2rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a {
    color: #bd163a;
    text-decoration: none;
}

.instagram-link, .tiktok-link {
  display: inline-flex;
  text-decoration: none; 
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.instagram-link:hover, .tiktok-link:hover, .social-links p:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.fa-instagram {
  background: #833ab4;
  background: linear-gradient(
    to right,
    #833ab4, #fd1d1d, #fcb045
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 1.7rem; 
}

.fa-tiktok {
  background: #69c9d0;
  background: linear-gradient(
    to right,
    #69c9d0, #ee1d52
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 1.7rem; 
}


@media (max-width: 780px) {
    .container {
        padding: 0 0.8rem 0.8rem;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text p {
        max-width: 100%;
    }
    .navbar {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Blog Page */
.blog-header {
    text-align: center;
    margin: 1rem 0 2rem;
}
.blog-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e6f3f, #0f4c2c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}
.blog-header p {
    color: #4b6f86;
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}
/* Featured section */
.featured-section {
    background: #f6fbf8;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    border: 1px solid #ddeee5;
}
.featured-img {
    flex: 1;
    min-width: 200px;
    border-radius: 1.8rem;
    overflow: hidden;
    background: #e8f0ec;       
}
.featured-img img {
    width: 100%;
    height: 100%;              
    max-height: 280px;         
    aspect-ratio: 16 / 9;      
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease; 
}
.featured-img:hover img {
    transform: scale(1.03);
}
.featured-text {
    flex: 1.5;
}
.featured-text p {
    max-height: 155px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-gutter: stable;
}
.featured-text .badge-feat {
    background: #1e6f3f20;
    border-radius: 40px;
    padding: 0.2rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    color: #1e6f3f;
    margin-bottom: 0.8rem;
}
.featured-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0a2b2e;
}
.btn-feat {
    margin-top: 1rem;
    background: #1e6f3f;
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-feat:hover {
    background: #0f5833;
}
/* Blog grid */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #0b2c2f;
}
.section-sub {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    color: #4b6f86;
    font-size: 1.05rem;
}
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0 3rem;
}
.blog-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    flex: 1 1 320px;
    max-width: 360px;
    transition: transform 0.25s ease, box-shadow 0.2s;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
    border: 1px solid #e0f0e5;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 32px -16px rgba(0,0,0,0.12);
}
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.blog-content {
    padding: 1.6rem 1.5rem 1.8rem;
}
.blog-category {
    display: inline-block;
    background: #eef4ea;
    border-radius: 40px;
    padding: 0.2rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e6f3f;
    margin-bottom: 0.8rem;
}
.blog-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #0f2f2a;
}
.blog-meta {
    font-size: 0.8rem;
    color: #7090a3;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.blog-excerpt {
    color: #47647c;
    line-height: 1.45;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-gutter: stable;
}
.read-more {
    color: #1e6f3f;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: 0.2s;
    cursor: pointer;
    background: none;
    border: none;
}
.read-more:hover {
    gap: 0.7rem;
    color: #0f5833;
}
/* Newsletter */
.newsletter-box {
    background: #ffffff;
    border-radius: 2rem;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid #e2edeb;
}
.newsletter-box h3 {
    color: #1e6f3f;
    margin-bottom: 0.5rem;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    max-width: 550px;
    margin: 1rem auto 0;
}
.newsletter-form input {
    flex: 2;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    border: 1px solid #cfdfd9;
    font-family: inherit;
    min-width: 200px;
}
.newsletter-form button {
    background: #1e6f3f;
    border: none;
    padding: 0 1.8rem;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.blog-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 9999;
    padding: 20px;
}

.blog-modal.active {
    opacity: 1;
    visibility: visible;
}

.blog-modal-box {
    background: white;
    width: 100%;
    max-width: 700px;
    border-radius: 18px;
    padding: 35px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;          /* Changed from hidden to auto */
    animation: modalPop .25s ease;
    scroll-behavior: smooth;   /* Added for smooth scrolling */
}

/* Add custom scrollbar for the modal box */
.blog-modal-box::-webkit-scrollbar {
    width: 6px;
}

.blog-modal-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.blog-modal-box::-webkit-scrollbar-thumb {
    background: #1e6f3f;
    border-radius: 10px;
}

.blog-modal-box::-webkit-scrollbar-thumb:hover {
    background: #0f5833;
}

#blogModalContent {
    line-height: 1.9;
    color: #444;
    white-space: pre-line;
    max-height: none;          /* Remove the 45vh limit */
    overflow: visible;         /* Changed from auto to visible */
    padding-right: 0;          /* Remove padding since parent handles scroll */
    scrollbar-gutter: auto;    /* Remove the stable gutter */
}

.blog-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    font-size: 28px;
    transition: .2s ease;
}

.blog-modal-close:hover {
    background: #e5e5e5;
    transform: rotate(90deg);
}

.blog-modal-image {
    width: 100%;
    height: auto;               /* Height adjusts to natural aspect ratio */
    max-height: 500px;          /* Optional: cap max height */
    object-fit: contain;        /* Shows full image without cropping */
    border-radius: 14px;
    margin-bottom: 20px;
    display: block;
    background: #f0f4f2;
}

@keyframes modalPop {

    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 780px) {
    .blog-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.2rem 0 2rem;
    }

    .blog-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        border-radius: 1.4rem;
    }

    .blog-img {
        height: 170px;
    }

    .blog-content {
        padding: 1.05rem 1rem 1.15rem;
    }

    .blog-content h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 0.45rem 0.75rem;
        font-size: 0.78rem;
    }

    .blog-excerpt {
        max-height: none;
        overflow: visible;
        padding-right: 0;
        margin-bottom: 0.85rem;
    }

    .read-more {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 0.9rem;
        border: 1px solid #cfe3d7;
        border-radius: 999px;
        background: #f6fbf8;
        white-space: nowrap;
    }

    .btn-feat {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .blog-content h3 {
        font-size: 1.08rem;
    }

    .read-more {
        font-size: 0.88rem;
    }
}

@media (max-width: 780px) {
    .blog-modal {
        padding: 12px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .blog-modal-box {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        padding: 1rem 0.9rem 0.9rem;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;          /* Keep this */
        margin-top: 0.35rem;
        scroll-behavior: smooth;
    }

    .blog-modal-box h2 {
        font-size: 1.3rem;
        line-height: 1.35;
        margin-bottom: 0.75rem;
        padding-right: 2rem;
    }

    .blog-modal-image {
        height: 180px;
        margin-bottom: 0.8rem;
    }

    #blogModalContent {
        max-height: none;          /* Keep this */
        overflow: visible;         /* Keep this */
        padding-right: 0;
        line-height: 1.7;
        font-size: 0.96rem;
    }

    .blog-modal-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
        line-height: 1;
    }
}