/* Home Made Happiness - Custom Premium Styling */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --hm-sage-green: #6B8E78;
    --hm-dark-green: #3A4D3F;
    --hm-terra-cotta: #D2947F;
    --hm-beige: #F5F1E6;
    --hm-sand: #E8E2D2;
    /* Paper color */
    --hm-text-dark: #2C2C2C;
    --hm-text-light: #595959;
    --hm-white: #FFFFFF;
    --hm-paper-bg: #E8DCC4;
    /* New darker paper bg */

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--hm-text-dark);
    background-color: var(--hm-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--hm-text-dark);
    /* Changed to dark for better contrast on paper */
    font-weight: 700;
}

/* Utilities */
.hm-text-sage {
    color: var(--hm-sage-green);
}

.hm-text-terra {
    color: var(--hm-terra-cotta);
}

.hm-bg-beige {
    background-color: var(--hm-beige);
}

/* Buttons */
.hm-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.hm-btn-primary {
    background-color: var(--hm-dark-green);
    color: var(--hm-white);
    border: 1px solid var(--hm-dark-green);
}

.hm-btn-primary:hover {
    background-color: transparent;
    color: var(--hm-dark-green);
}

.hm-btn-outline {
    background-color: transparent;
    color: var(--hm-dark-green);
    border: 1px solid var(--hm-dark-green);
}

.hm-btn-outline:hover {
    background-color: var(--hm-dark-green);
    color: var(--hm-white);
}

/* Hero Section */
.hm-hero-area {
    /* background-color: var(--hm-paper-bg); fallback */
    background-image: url('../images/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hm-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hm-hero-top-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--hm-text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 400;
}

.hm-hero-image-container {
    margin: 0 auto 40px;
    max-width: 600px;
}

.hm-hero-image {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: blend mode if image has white bg */
    mix-blend-mode: multiply;
}

.hm-hero-main-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hm-text-dark);
    margin-bottom: 25px;
    line-height: 1;
}

.hm-hero-divider {
    width: 120px;
    height: 1px;
    background-color: var(--hm-text-dark);
    margin: 0 auto 30px;
    opacity: 0.6;
}

.hm-hero-bottom-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--hm-text-dark);
    line-height: 1.5;
}

/* 
.hm-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
} 
*/

/* About Section */
.hm-about-area {
    padding: 100px 0;
    background-color: var(--hm-white);
}

.hm-section-label {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hm-sage-green);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.hm-section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--hm-dark-green);
}

.hm-about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--hm-text-light);
    margin-bottom: 30px;
}

.hm-about-area .about-thumb img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.hm-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.hm-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--hm-dark-green);
}

/* Promise / Services Section */
.hm-promise-area {
    padding: 100px 0;
    background-color: var(--hm-beige);
}

.hm-promise-card {
    background: var(--hm-white);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hm-promise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hm-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.hm-card-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.hm-card-text {
    color: var(--hm-text-light);
    line-height: 1.6;
}

/* Why Choose Us */
.hm-why-area {
    padding: 100px 0;
    position: relative;
}

.hm-why-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.hm-why-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--hm-sand);
    font-size: 18px;
    color: var(--hm-dark-green);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hm-why-list li:before {
    content: '✓';
    color: var(--hm-sage-green);
    font-weight: bold;
}

.hm-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    color: var(--hm-sage-green);
    border-left: 3px solid var(--hm-terra-cotta);
    padding-left: 20px;
    margin-top: 40px;
}

/* CTA */
.hm-cta-area {
    padding: 80px 0;
    background-color: var(--hm-sage-green);
    text-align: center;
    color: var(--hm-white);
}

.hm-cta-title {
    color: var(--hm-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hm-cta-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Footer override */
.footer-area {
    background-color: var(--hm-dark-green) !important;
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--hm-beige);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hm-hero-title {
        font-size: 2.5rem;
    }

    .hm-section-title {
        font-size: 2rem;
    }

    .hm-hero-buttons {
        flex-direction: column;
    }

    .hm-cta-title {
        font-size: 2.5rem;
    }
}

/* Minimal Section Styles */
.hm-minimal-section {
    text-align: center;
    padding: 120px 0;
    background-color: var(--hm-white);
}

.hm-minimal-top-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--hm-text-light);
    margin-bottom: 40px;
    line-height: 1.4;
    font-weight: 400;
}

.hm-minimal-image-container {
    margin: 0 auto 50px;
    max-width: 500px;
}

.hm-minimal-image {
    width: 100%;
    /* border-radius: 50%; remove this if image is rectangular or let it be if we want round */
    border-radius: 20px;
    box-shadow: none;
}

.hm-minimal-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hm-text-dark);
    margin-bottom: 30px;
}

.hm-minimal-bottom-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--hm-text-light);
    line-height: 1.6;
}

.hm-minimal-hr {
    width: 100px;
    border: none;
    border-top: 1px solid var(--hm-text-light);
    margin: 20px auto;
}

/* Reminder Section */
.hm-reminder-area {
    padding: 120px 0;
    background-color: var(--hm-paper-bg);
    position: relative;
    text-align: center;
}

.hm-reminder-label {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    color: var(--hm-sage-green);
    margin-bottom: 50px;
    font-weight: 600;
}

.hm-reminder-poem {
    margin-bottom: 70px;
}

.hm-reminder-poem p {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--hm-text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 400;
}

.hm-poem-divider {
    width: 40px;
    height: 1px;
    background-color: var(--hm-terra-cotta);
    margin: 30px auto;
    opacity: 0.7;
}

.hm-poem-highlight {
    font-style: italic;
    color: var(--hm-dark-green) !important;
    font-size: 3rem !important;
    font-weight: 600;
}

.hm-reminder-elaboration {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.hm-reminder-elaboration::before {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background-color: var(--hm-sage-green);
    margin: 0 auto 30px;
}

.hm-reminder-elaboration p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--hm-text-light);
    line-height: 1.8;
}

/* Manifesto / Pillars Section */
.hm-manifesto-grid {
    margin-top: 80px;
}

.hm-manifesto-item {
    padding: 0 30px;
    border-right: 1px solid rgba(107, 142, 120, 0.2);
    /* faint sage green border */
    text-align: left;
}

.hm-manifesto-item:last-child {
    border-right: none;
}

.hm-big-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--hm-terra-cotta);
    opacity: 0.15;
    line-height: 0.8;
    margin-bottom: -30px;
    margin-left: -10px;
}

.hm-manifesto-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--hm-dark-green);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.hm-manifesto-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--hm-text-light);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .hm-manifesto-item {
        border-right: none;
        border-bottom: 1px solid rgba(107, 142, 120, 0.2);
        padding: 30px 20px;
        text-align: center;
    }

    .hm-big-number {
        margin-bottom: -20px;
        margin-left: 0;
    }
}

/* Bilingual Minimalist Section - Single Screen Optimized */
.hm-minimalist-wrapper {
    height: 100vh;
    width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Background with overlay to ensure text readability */
    background: linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)), url('../images/home1/globe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 2vh 2vw;
    overflow: hidden;
    /* Force no scroll */
    box-sizing: border-box;
}

/* Container for content to ensure it centers perfectly */
.hm-minimal-content-box {
    max-height: 96vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.hm-minimal-heading {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2.2vh, 1.5rem);
    letter-spacing: 0.2vw;
    text-transform: uppercase;
    color: var(--hm-text-light);
    margin-bottom: 2.5vh;
    font-weight: 600;
}

.hm-bilingual-block {
    margin-bottom: 2vh;
}

.hm-bilingual-block:last-child {
    margin-bottom: 0;
}

.hm-hindi-strong {
    font-size: clamp(1.2rem, 2.6vh, 1.9rem);
    font-weight: 700;
    color: var(--hm-dark-green);
    margin-bottom: 0.5vh;
    line-height: 1.3;
}

.hm-hindi-text {
    font-size: clamp(1.05rem, 2.3vh, 1.65rem);
    font-weight: 400;
    color: var(--hm-dark-green);
    margin-bottom: 0.5vh;
    line-height: 1.3;
}

.hm-english-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vh, 1.75rem);
    color: var(--hm-dark-green);
    font-style: italic;
    line-height: 1.25;
    font-weight: 600;
}

.hm-spacer-mini {
    height: 0.5vh;
}

@media (max-width: 768px) {
    .hm-minimalist-wrapper {
        padding: 2vh 3vw;
        height: 100vh;
        max-height: 100vh;
        /* Overlay + Mobile Globe + Texture - same transparency as desktop */
        background-image:
            linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)),
            url('../images/home1/mobile-globe.png'),
            url('../images/background.webp');
        background-size: cover, 100% auto, cover;
        background-position: center, center center, center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .hm-minimal-heading {
        margin-bottom: 2vh;
        font-size: clamp(0.75rem, 1.8vh, 1.1rem);
    }

    .hm-hindi-strong {
        font-size: clamp(1rem, 2.3vh, 1.55rem);
    }

    .hm-hindi-text {
        font-size: clamp(0.9rem, 2.1vh, 1.45rem);
    }

    .hm-english-text {
        font-size: clamp(0.95rem, 2.2vh, 1.65rem);
    }

    .hm-bilingual-block {
        margin-bottom: 1.8vh;
    }
}

/* Narrative Scroll Section Styles */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.hm-minimalist-wrapper {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hm-narrative-container {
    width: 100%;
    position: relative;
    z-index: 10;
}

.hm-narrative-screen {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Background with texture and transparency - same as first section */
    background: linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)), url('../images/home1/globe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 40px 20px;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hm-narrative-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    padding-bottom: 5vh;
    /* Ensure some bottom clearance */
}

.hm-narrative-block {
    margin-bottom: 0;
    /* Spacing handled by mt utilities mostly, or we can add small gap */
}

.hm-narrative-hindi {
    font-family: var(--font-body);
    /* Match first section Hindi (Inter) */
    font-size: clamp(1.2rem, 2.6vh, 1.9rem);
    color: var(--hm-dark-green);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.5vh;
}

.hm-narrative-hindi-normal {
    font-weight: 400; /* Normal weight, not bold */
}

.hm-narrative-bold {
    font-weight: 700 !important; /* Bold weight - override base styles */
}

.hm-narrative-hindi-sm.hm-narrative-bold {
    font-weight: 700 !important;
}

.hm-narrative-english-sm.hm-narrative-bold {
    font-weight: 700 !important;
}

.hm-narrative-english {
    font-family: var(--font-heading);
    /* Match first section English (Garamond) */
    font-size: clamp(1.1rem, 2.4vh, 1.75rem);
    color: var(--hm-dark-green);
    line-height: 1.3;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0;
}

.hm-narrative-hindi-sm {
    font-family: var(--font-body);
    /* Match first section Hindi */
    font-size: clamp(1.05rem, 2.3vh, 1.65rem);
    color: var(--hm-dark-green);
    line-height: 1.3;
    font-weight: 400;
    /* Adjusted to match hm-hindi-text weight */
    margin-bottom: 0.5vh;
}

.hm-narrative-english-sm {
    font-family: var(--font-heading);
    /* Match first section English */
    font-size: clamp(1.1rem, 2.4vh, 1.75rem);
    color: var(--hm-dark-green);
    line-height: 1.25;
    font-weight: 600;
    /* Adjusted to match hm-english-text */
    font-style: italic;
    margin-bottom: 0;
}

.hm-mt-md {
    margin-top: clamp(40px, 6vh, 70px);
}

.hm-mt-lg {
    margin-top: clamp(70px, 12vh, 140px);
}

.hm-narrative-gap {
    height: clamp(60px, 10vh, 120px);
}

/* Screen 1 specific removed */

@media (max-width: 768px) {
    .hm-narrative-content {
        width: 100%;
        padding: 0 10px;
    }

    .hm-narrative-text {
        font-weight: 500;
    }

    /* Mobile backgrounds - same as first section with same transparency as desktop */
    .hm-narrative-screen {
        background-image:
            linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)),
            url('../images/home1/mobile-globe.png'),
            url('../images/background.webp');
        background-size: cover, 100% auto, cover;
        background-position: center, center center, center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}

/* Join Movement Form Modal Styles */
.hm-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.hm-form-modal.active {
    display: flex;
}

.hm-form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.hm-form-modal-content {
    position: relative;
    background: var(--hm-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.hm-form-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--hm-dark-green);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hm-form-close:hover {
    color: var(--hm-terra-cotta);
    transform: rotate(90deg);
}

.hm-form-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--hm-dark-green);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.hm-join-form {
    margin-top: 20px;
}

.hm-form-group {
    margin-bottom: 25px;
}

.hm-form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--hm-dark-green);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(58, 77, 63, 0.2);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--hm-text-dark);
    background-color: var(--hm-white);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.hm-form-group input:focus {
    outline: none;
    border-color: var(--hm-dark-green);
    box-shadow: 0 0 0 3px rgba(58, 77, 63, 0.1);
}

.hm-form-group input::placeholder {
    color: var(--hm-text-light);
    opacity: 0.6;
}

.hm-form-submit {
    width: 100%;
    margin-top: 10px;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
}

.hm-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 77, 63, 0.3);
}

.hm-form-status {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 14px;
    text-align: center;
    display: none;
}

.hm-form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.hm-form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .hm-form-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .hm-form-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .hm-form-group {
        margin-bottom: 20px;
    }
}

/* Footer Styles */
.hm-footer {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)), url('../images/home1/globe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.hm-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hm-footer-content p {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vh, 1.4rem);
    color: var(--hm-dark-green);
    margin: 0;
    line-height: 1.6;
}

.hm-footer-content strong {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--hm-dark-green);
}

@media (max-width: 768px) {
    .hm-footer {
        padding: 25px 15px;
    }

    .hm-footer-content p {
        font-size: clamp(1rem, 1.8vh, 1.2rem);
    }
}

/* Join the Movement Page Styles */
.hm-join-page {
    width: 100%;
    min-height: 100vh;
}

.hm-join-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)), url('../images/home1/globe2.jpeg'), url('../images/background.webp');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: fixed, fixed, fixed;
    position: relative;
    padding: 60px 20px;
    box-sizing: border-box;
}

.hm-join-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    width: 100%;
}

.hm-join-block {
    margin-bottom: 0;
}

.hm-join-mt-md {
    margin-top: clamp(50px, 8vh, 100px);
}

.hm-join-hindi {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 3vh, 2.2rem);
    color: var(--hm-dark-green);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1vh;
}

.hm-join-english {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.8vh, 2rem);
    color: var(--hm-dark-green);
    line-height: 1.3;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0;
}

.hm-join-hindi-sm {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.4vh, 1.7rem);
    color: var(--hm-dark-green);
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 1vh;
}

.hm-join-english-sm {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vh, 1.7rem);
    color: var(--hm-dark-green);
    line-height: 1.4;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0;
}

.hm-join-hindi-sm strong,
.hm-join-english-sm strong {
    font-weight: 800 !important;
    font-style: normal !important;
}

/* Pledge Section Styles */
.hm-pledge-section {
    background: linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)), url('../images/home1/globe2.jpeg'), url('../images/background.webp');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: fixed, fixed, fixed;
    min-height: 100vh;
    padding: clamp(30px, 4vh, 50px) 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hm-pledge-section .hm-join-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hm-pledge-header {
    margin-bottom: clamp(30px, 4vh, 50px);
    text-align: center;
}

.hm-pledge-title-english {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vh, 3rem);
    color: var(--hm-dark-green);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hm-pledge-title-hindi {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 3.5vh, 2.5rem);
    color: var(--hm-dark-green);
    font-weight: 700;
    margin-bottom: 0;
}

.hm-pledge-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hm-pledge-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 50px);
    align-items: start;
}

.hm-pledge-vows-column {
    display: flex;
    flex-direction: column;
}

.hm-pledge-vows {
    margin-bottom: 0;
}

.hm-pledge-vow-item {
    margin-bottom: clamp(15px, 2.5vh, 25px);
}

.hm-pledge-vow-item:last-child {
    margin-bottom: 0;
}

.hm-pledge-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: clamp(20px, 3vh, 30px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hm-pledge-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(58, 77, 63, 0.3);
}

.hm-pledge-checkbox {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    margin-top: 5px;
    cursor: pointer;
    accent-color: var(--hm-dark-green);
    flex-shrink: 0;
}

.hm-pledge-checkbox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hm-pledge-vow-hindi {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vh, 1.6rem);
    color: var(--hm-dark-green);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
}

.hm-pledge-vow-english {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vh, 1.75rem);
    color: var(--hm-dark-green);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.3;
    display: block;
}

/* Checkbox checked state */
.hm-pledge-checkbox:checked + .hm-pledge-checkbox-content .hm-pledge-vow-hindi,
.hm-pledge-checkbox:checked + .hm-pledge-checkbox-content .hm-pledge-vow-english {
    color: var(--hm-dark-green);
}

.hm-pledge-form-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(25px, 3vh, 40px);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.hm-pledge-form-header {
    margin-bottom: clamp(20px, 3vh, 30px);
}

.hm-pledge-form-hindi {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vh, 1.3rem);
    color: var(--hm-dark-green);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.hm-pledge-form-english {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vh, 1.5rem);
    color: var(--hm-dark-green);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.3;
}

.hm-pledge-form {
    margin-top: clamp(20px, 3vh, 30px);
}

.hm-form-fields-column {
    display: flex;
    flex-direction: column;
}

.hm-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hm-form-fields .hm-form-group {
    margin-bottom: 0;
}

.hm-pledge-form .hm-form-group {
    margin-bottom: 25px;
    text-align: left;
}

.hm-pledge-form .hm-form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--hm-dark-green);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-pledge-form .hm-form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(58, 77, 63, 0.2);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--hm-text-dark);
    background-color: var(--hm-white);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.hm-pledge-form .hm-form-group input:focus {
    outline: none;
    border-color: var(--hm-dark-green);
    box-shadow: 0 0 0 3px rgba(58, 77, 63, 0.1);
}

.hm-pledge-form .hm-form-group input::placeholder {
    color: var(--hm-text-light);
    opacity: 0.6;
}

.hm-pledge-form .hm-form-submit {
    width: 100%;
    margin-top: clamp(20px, 3vh, 30px);
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
}

.hm-pledge-form .hm-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 77, 63, 0.3);
}

@media (max-width: 768px) {
    .hm-join-section {
        padding: 40px 15px;
        background-image:
            linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)),
            url('../images/home1/globe2.jpeg'),
            url('../images/background.webp');
        background-size: cover, contain, cover;
        background-position: center, center, center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .hm-pledge-section {
        background-image:
            linear-gradient(rgba(232, 220, 196, 0.8), rgba(232, 220, 196, 0.8)),
            url('../images/home1/globe2.jpeg'),
            url('../images/background.webp');
        background-size: cover, contain, cover;
        background-position: center, center, center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        padding: 30px 15px;
        min-height: 100vh;
    }

    .hm-pledge-header {
        margin-bottom: 25px;
    }

    .hm-pledge-title-english {
        font-size: clamp(1.5rem, 3vh, 2rem);
        margin-bottom: 15px;
    }

    .hm-pledge-title-hindi {
        font-size: clamp(1.3rem, 2.8vh, 1.8rem);
    }

    .hm-pledge-form-section {
        padding: 20px 15px;
    }

    .hm-pledge-form-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }

    .hm-pledge-vow-item {
        margin-bottom: 15px;
    }

    .hm-pledge-checkbox-label {
        padding: 15px;
    }

    .hm-pledge-form-header {
        margin-bottom: 20px;
    }

    .hm-pledge-form {
        margin-top: 20px;
    }
}

/* Floating Scroll Buttons */
.hm-back-to-top,
.hm-scroll-down {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--hm-dark-green);
    color: var(--hm-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(58, 77, 63, 0.35);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.hm-scroll-down {
    bottom: 24px;
}

.hm-back-to-top.visible,
.hm-scroll-down.visible {
    opacity: 1;
    visibility: visible;
}

.hm-back-to-top:hover,
.hm-scroll-down:hover {
    background-color: var(--hm-sage-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(58, 77, 63, 0.4);
}

.hm-back-to-top i,
.hm-scroll-down i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hm-back-to-top,
    .hm-scroll-down {
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .hm-back-to-top {
        bottom: 74px;
    }

    .hm-scroll-down {
        bottom: 20px;
    }

    .hm-back-to-top i,
    .hm-scroll-down i {
        font-size: 1.1rem;
    }
}

/* Form Success Message Styles */
.hm-form-success-message {
    max-width: 800px;
    margin: 40px auto 0;
    padding: clamp(40px, 6vh, 60px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hm-success-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hm-success-hindi {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.4vh, 1.7rem);
    color: var(--hm-dark-green);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 0;
}

.hm-success-english {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vh, 1.7rem);
    color: var(--hm-dark-green);
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hm-form-success-message {
        padding: 30px 20px;
        margin: 30px auto 0;
    }

    .hm-success-hindi,
    .hm-success-english {
        font-size: clamp(1rem, 2.2vh, 1.5rem);
    }
}