/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

/* Body Configuration */
body {
    background-color: #F5F0E6;
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
}

/* Hero Background Section */
.home-bg {
    width: 100%;
    max-width: 1728px;
    height: auto;
    aspect-ratio: 1728 / 1117;
    position: relative;
    background: 
        /* linear-gradient(0deg, rgba(50, 27, 7, 0.4), rgba(50, 27, 7, 0.4)), */
        /* linear-gradient(180deg, rgba(232, 222, 208, 0.2) 0%, rgba(102, 102, 102, 0.2) 10.1%),url('/images/homeimg1.png'); */
        linear-gradient(rgba(232, 222, 208, 0.2) 0%, rgba(102, 102, 102, 0.2) 10.1%), url("/images/homeimg1.webp") center 60% / cover no-repeat, linear-gradient(rgba(50, 27, 7, 0.4), rgba(50, 27, 7, 0.4));
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Hero Content Centering Logic */
.hero-container {
    width: 100%;
    max-width: 1728px;
    height: auto;
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3.2vw, 56px);
    text-align: center;
    padding: 0 clamp(20px, 4vw, 64px);
}

.hero-title {
    width: 100%;
    max-width: 800px;
    font-family: 'Cormorant Garamond';
    font-weight: 400;
    /* font-size: clamp(32px, 3.94vw, 68px); */
    font-size: clamp(40px, 3.6vw, 50px);
    line-height: 100%;
    color: #F2ECE7;
    margin: 0;
    line-height: 1.3;
    
}

.gold-line {
    width: 200px;
    max-width: 40vw;
    height: 0px;
    border: 1.3px solid #B69B7C;
}

.hero-details {
    width: 100%;
    max-width: 900px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(10px, 1.62vw, 20px);
    line-height: 218%;
    color: #F2ECE7;
    text-transform: uppercase;
}

.separator {
    display: block;
    margin: 10px 0;
}

.hero-est {
    margin-top: clamp(20px, 9.3vw, 100px);
    width: 100%;
    height: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.04vw, 18px);
    line-height: 100%;
    letter-spacing: 8%;
    text-align: center;
    text-transform: uppercase;
    color: #F2ECE7;
    position: relative;
    top: 10px; 
}

/* Legacy Section Styling */
.legacy-section {
    width: 100%;
    max-width: 1728px;
    height: auto;
    min-height: 400px;
    background: #E8DED0;
    /* padding: clamp(60px, 6.83vw, 118px) clamp(24px, 26.27vw, 454px); */
    padding: 118px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    line-height: 1.3;
}

.legacy-container {
    width: 100%;
    max-width: 1260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(32px, 3.7vw, 64px); 
    text-align: center;
    max-height: none;
}

.legacy-title {
    width: 100%;
    max-width: 1260px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(30px, 3.24vw, 56px);
    line-height: 100%;
    color: #2C2C2C;
    margin: 0;
    /* white-space: nowrap; */
}

.legacy-desc {
    width: 100%;
    max-width: 1260px;
    font-family: 'Source Serif Pro', serif;
    font-weight: 400;
    font-size: clamp(16px, 1.39vw, 24px);
    line-height: 1.4;
    color: #2C2C2C;
    margin: 0;
    line-height: 1.6;
}

.legacy-divider {
    width: 200px;
    max-width: 40vw;
    height: 0px;
    border: 1px solid #716251;
}

.legacy-footer {
    width: 100%;
    max-width: 820px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(13px, 1.04vw, 18px);
    line-height: 100%;
    letter-spacing: 8%;
    text-transform: uppercase;
    color: #2C2C2C;
}

/* Pillars Section Configuration */
.pillars-section {
    width: 100%;
    max-width: 1728px;
    height: auto;
    min-height: 720px;
    background: #F5F0E6;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(60px, 5.79vw, 100px);
    padding-bottom: clamp(40px, 5.79vw, 100px);
}

.pillars-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(38px, 3.94vw, 68px);
    line-height: 100%;
    color: #2C2C2C;
    margin-bottom: clamp(50px, 6.94vw, 120px);
}

.pillars-container {
    width: 100%;
    max-width: 1728px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(28px, 7.06vw, 122px);
    padding: 0 clamp(24px, 4.63vw, 80px);
}

/* Individual Pillar Card */
.pillar-card {
    flex: 1 1 260px;
    max-width: 368.74px;
    width: 100%;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.03vw, 35px);
}

.pillar-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(70px, 6.94vw, 120px);
    line-height: 1;
    color: #2C2C2C;
}

.pillar-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(34px, 3.24vw, 56px);
    line-height: 100%;
    color: #2C2C2C;
    margin: 0;
}

.pillar-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.04vw, 18px);
    letter-spacing: 8%;
    text-transform: uppercase;
    color: #7C6346;
    margin-top: 5px;
}

.pillar-desc {
    font-family: 'Source Serif Pro', serif;
    font-weight: 400;
    font-size: clamp(16px, 1.33vw, 23px);
    line-height: 1.5;
    color: #6B6258;
    height: auto;
}

.pillar-line {
    width: 102.42px;
    max-width: 25vw;
    height: 0px;
    border: 1px solid #B69B7C;
}

.pillar-explore {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2C2C2C;
    cursor: pointer;
}

/* Award & Recognition Section */
.award-section {
    width: 100%;
    max-width: 1728px;
    background: #E8DED0;
    margin: 0 auto;
    padding: clamp(60px, 6.83vw, 118px) clamp(24px, 4vw, 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

/* Decorative Nested Circles */
.outer-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #E2D7CB;
    border-radius: 20px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.middle-circle {
    width: 24px;
    height: 24px;
    border: 1px solid #B69B7C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

.inner-dot {
    width: 10px;
    height: 10px;
    background: #B69B7C;
    border-radius: 50%;
    opacity: 0.4;
}

/* Award Image Wrapper */
.award-wrapper {
    width: 100%;
    max-width: 613px;
    height: auto;
    aspect-ratio: 613 / 882;
    border: 6px solid #B69B7C;
    border-radius: 32px;
    overflow: hidden;
    flex-shrink: 0;
}

.award-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.award-recognition-text {
    width: 100%;
    max-width: 1728px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.04vw, 18px);
    line-height: 100%;
    letter-spacing: 8%;
    text-align: center;
    text-transform: uppercase;
    color: #6B6258;
    margin-top: 50px;
}





/* ===== 1024px ===== */
@media (max-width: 1024px) {
    .hero-container {
        width: 100% !important;
        padding: 0 40px !important;
        gap: 40px !important;
    }

    .hero-title {
        font-size: 52px !important;
    }

    .hero-details {
        font-size: 20px !important;
    }

    .legacy-section {
        padding: 80px 100px !important;
        height: auto !important;
    }

    .legacy-title {
        width: 100% !important;
        font-size: 44px !important;
    }

    .pillars-container {
        gap: 60px !important;
    }

    .pillar-card {
        width: 280px !important;
        flex: 0 1 280px !important;
    }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
    .home-bg {
        height: 700px !important;
        aspect-ratio: unset !important;
        background-size: cover !important;
    }

    .hero-container {
        width: 100% !important;
        height: auto !important;
        padding: 0 32px !important;
        gap: 28px !important;
    }

    .hero-title {
        font-size: 40px !important;
        line-height: 115% !important;
    }

    .hero-details {
        font-size: 14px !important;
        line-height: 160% !important;
    }

    .separator {
        display: block !important;
        margin: 6px 0 !important;
    }

    .hero-est {
        width: 100% !important;
        font-size: 13px !important;
        margin-top: 60px !important;
    }

    .legacy-section {
        height: auto !important;
        padding: 60px 40px !important;
    }

    .legacy-container {
        max-height: none !important;
        gap: 40px !important;
    }

    .legacy-title {
        width: 100% !important;
        font-size: 36px !important;
        line-height: 120% !important;
    }

    .legacy-desc {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    .pillars-section {
        height: auto !important;
        padding: 60px 32px !important;
    }

    .pillars-main-title {
        font-size: 52px !important;
        margin-bottom: 60px !important;
    }

    .pillars-container {
        flex-direction: column !important;
        gap: 60px !important;
        padding: 0 !important;
    }

    .pillar-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        height: auto !important;
        gap: 16px !important;
    }

    .pillar-num {
        font-size: 90px !important;
        line-height: 90px !important;
    }

    .pillar-title {
        font-size: 48px !important;
    }

    .pillar-subtitle {
        font-size: 14px !important;
    }

    .pillar-desc {
        height: auto !important;
        font-size: 20px !important;
    }

    .award-section {
        padding: 60px 32px !important;
        gap: 32px !important;
    }

    .award-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 613 / 882 !important;
    }

    .award-recognition-text {
        font-size: 14px !important;
    }
}

/* ===== 480px ===== */
@media (max-width: 480px) {
    body {
        max-width: 100% !important;
    }

    .home-bg {
        height: 580px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .hero-container {
        width: 100% !important;
        height: auto !important;
        padding: 0 24px !important;
        gap: 20px !important;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 115% !important;
        max-width: 100% !important;
    }

    .gold-line {
        width: 120px !important;
    }

    .hero-details {
        font-size: 11px !important;
        line-height: 160% !important;
        max-width: 100% !important;
    }

    .separator {
        display: block !important;
        margin: 4px 0 !important;
    }

    .hero-est {
        width: 100% !important;
        font-size: 11px !important;
        margin-top: 30px !important;
        top: 0 !important;
    }

    /* LEGACY */
    .legacy-section {
        height: auto !important;
        padding: 48px 24px !important;
    }

    .legacy-container {
        max-height: none !important;
        gap: 28px !important;
    }

    .legacy-title {
        width: 250px !important;
        font-size: 28px !important;
        line-height: 120% !important;
    }

    .legacy-desc {
        font-size: 15px !important;
        line-height: 26px !important;
        padding: 0px 7px;
    }

    .legacy-footer {
        font-size: 12px !important;
    }

    /* PILLARS */
    .pillars-section {
        height: auto !important;
        padding: 48px 24px !important;
    }

    .pillars-main-title {
        font-size: 42px !important;
        margin-bottom: 40px !important;
    }

    .pillars-container {
        flex-direction: column !important;
        gap: 48px !important;
        padding: 0 !important;
    }

    .pillar-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        height: auto !important;
        gap: 12px !important;
    }

    .pillar-num {
        font-size: 72px !important;
        line-height: 72px !important;
    }

    .pillar-title {
        font-size: 40px !important;
    }

    .pillar-subtitle {
        font-size: 12px !important;
    }

    .pillar-desc {
        height: auto !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* AWARD */
    .award-section {
        padding: 48px 24px !important;
        gap: 24px !important;
    }

    .award-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 613 / 882 !important;
        border-width: 4px !important;
    }

    .award-recognition-text {
        font-size: 12px !important;
        margin-top: 16px !important;
    }
}

/* ===== 350px ===== */
@media (max-width: 380px) {
    .home-bg {
        height: 520px !important;
    }

    .hero-title {
        font-size: 26px !important;
    }

    .hero-details {
        font-size: 10px !important;
    }

    .hero-est {
        font-size: 10px !important;
    }

    .legacy-divider{
        border: 1px solid #716251;
        width: 128px;
    }

    .legacy-title {
        font-size: 24px !important;
        padding: 0px 22px;
    }

    .legacy-desc {
        font-size: 14px !important;
    }
    .pillars-main-title {
        font-size: 36px !important;
    }


    /* EXPLORE FIX */
    .pillar-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .pillar-explore {
        margin-top: 8px !important;
        display: block !important;
    }

    .pillar-num {
        font-size: 60px !important;
        line-height: 60px !important;
    }

    .pillar-title {
        font-size: 34px !important;
    }

    .pillar-desc {
        font-size: 14px !important;
    }

    .award-wrapper {
        border-width: 3px !important;
        border-radius: 20px !important;
    }


     .award-section {
        display: flex !important;
        flex-direction: column !important;
    }

    .nested-circles-container {
        order: 1 !important;
    }

    .award-recognition-text {
        order: 2 !important;
    }

    .award-wrapper {
        order: 3 !important;
    }


       .pillar-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .pillar-subtitle {
        order: -1 !important;
    }
}