
body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    color: #4b5563; 
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #1a237e; 
    margin: 0;
}

p, a, span, div {
    font-family: inherit;
}


.hero-text-fullscreen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.dynamic-text-container {
    will-change: transform, opacity;
    max-width: 80rem;
    margin: 0 auto;
}

.dynamic-text-container h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.dynamic-text-container p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.about-section {
    padding: 8rem 2rem;
    max-width: 85rem;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pillar-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 35, 126, 0.1);
    border-color: rgba(26, 35, 126, 0.2);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pillar-card p {
    color: #666;
    line-height: 1.6;
}

.stats-container {
    background-color: var(--accent);
    padding: 6rem 2rem;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 70rem;
    margin: 0 auto;
}

.stat-item h4 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #a3b1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.roots-section {
    background-color: #F9FAFB;
    padding: 6rem 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.roots-content {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.roots-content h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.roots-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.legacy-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-vibrant));
    padding: 8rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: white;
    color: var(--accent);
    text-decoration: none;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 64rem) {
    .story-grid { grid-template-columns: 1fr; }
    .story-image { order: -1; }
    .about-section { padding: 4rem 2rem; }
}
/* HERITAGE GALLERY LAYOUT */
.heritage-gallery {
    padding: 8rem 2rem;
    background-color: #f9fafb;
    overflow-x: hidden;
}

.gallery-heading {
    font-size: clamp(3rem, 7vw, 5rem);
    color: #1a237e;
    font-weight: 900;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem auto;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.heritage-gallery .story-image {
    width: 60%;
    position: relative;
    z-index: 1;
}

.heritage-gallery .story-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 48px; 
    filter: saturate(110%);
    box-shadow: 0 30px 60px -15px rgba(26, 35, 126, 0.2);
    position: relative;
    z-index: 1;
    
    transform: translateZ(0); 
    backface-visibility: hidden;
    will-change: transform;
}
.heritage-gallery .story-content {
    width: 45%;
    margin-top: 4rem;
    margin-left: -5rem;
    position: relative;
    z-index: 10; 
}

.narrative-block {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 2.5rem;
}

.narrative-block p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.narrative-block .highlight {
    font-weight: 700;
    color: #1a237e;
    font-size: 1.1em;
}

.heritage-gallery .story-content .second {
    margin-left: 3rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .gallery-container {
        flex-direction: column;
        gap: 0;
    }
    .heritage-gallery .story-image,
    .heritage-gallery .story-content {
        width: 100%;
    }
    .heritage-gallery .story-image {
        margin-bottom: 0;
    }
    .heritage-gallery .story-content {
        margin-top: -4rem;
        margin-left: 0;
    }
    .heritage-gallery .story-image img {
        border-radius: 60px;
    }
    .narrative-block {
        border-radius: 24px;
        padding: 2rem;
    }
    .heritage-gallery .story-content .second {
        margin-left: 0;
        width: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0px !important; 
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    overflow-x: hidden; 
}