/*
Theme Name: Verun Terra Mining
Theme URI: https://example.com/verun-terra
Author: Antigravity
Author URI: https://google.com
Description: Custom theme for Verun Terra Mining.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verun-terra
*/

:root {
    --primary-color: #FC6315;
    /* Orange */
    --secondary-color: #0C2742;
    /* Navy Blue */
    --cool-grey: #707F8C;
    --light-grey: #8F9FAF;
    --light-slate-grey: #DEE4E9;
    --pale-grey: #ECECEC;
    --white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --section-padding: 100px 0;
}

/* Body Background Update */
body {
    font-family: var(--font-main);
    color: var(--secondary-color);
    margin: 0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #F8F8F8;
    /* Requested global bg */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #d14f10;
    border-color: #d14f10;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    padding: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Floating White Bar for Nav */
.header-container {
    background: var(--white);
    border-radius: 12px;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    box-sizing: border-box;
    transition: border-radius 0.4s ease, max-width 0.4s ease, box-shadow 0.4s ease;
}

/* Remove floating bar style on scroll — background comes from .site-header */
.site-header.scrolled .header-container {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-title a img {
    max-height: 54px;
    /* Specific height from feedback (140x54) */
    width: auto;
    display: block;
}

/* Hide text text if logo is present, or style it to look like the logo text */
.site-title a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    /* Specific weight */
    font-size: 13px;
    /* Specific size */
    line-height: 35px;
    /* Specific line-height */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Active page highlight */
.main-navigation li.current-menu-item>a,
.main-navigation li.current_page_item>a {
    color: var(--primary-color);
}

/* Mobile active state */
.mobile-navigation li.current-menu-item>a,
.mobile-navigation li.current_page_item>a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
    /* Slide in */
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--secondary-color);
    line-height: 1;
}

.mobile-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-navigation a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Media Queries */
@media (max-width: 900px) {

    /* Adjust breakpoint as needed */
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Header adjustments - flush to top, no rounded corners */
    .site-header,
    .site-header.scrolled {
        padding: 0 !important;
    }

    .header-container {
        border-radius: 0;
        max-width: 100%;
    }
}

.hero-section {
    position: relative;
    /* Removed 100vh to stop it from taking full screen on large displays if content is smaller, 
       but keeping min-height to ensure impact */
    min-height: 800px;
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    /* Allow card to overlap the next section */
    overflow: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Overlay to ensure text readability */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    max-width: 800px;
}

.hero-content p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
}

/* ============================================
   Shared Chamfered Button Styles 
   ============================================ */
.hero-content .btn,
.btn-chamfered-orange {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    text-decoration: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;

    /* Variables overridden by specific modifiers */
    --btn-bg: var(--primary-color);
    --btn-outline: var(--primary-color);
    --btn-text: var(--white);

    color: var(--btn-text);
    background:
        linear-gradient(135deg, transparent 12px, var(--btn-bg) 0) left / 51% 100% no-repeat,
        linear-gradient(-45deg, transparent 12px, var(--btn-bg) 0) right / 51% 100% no-repeat;
}

/* The Chamfered Outlines */
.hero-content .btn::before,
.btn-chamfered-orange::before {
    content: '';
    position: absolute;
    inset: -6px;
    pointer-events: none;
    background:
        /* Top-Left Diagonal */
        linear-gradient(135deg, transparent 11.7px, var(--btn-outline) 11.7px, var(--btn-outline) 13.7px, transparent 13.7px) top left / 30px 30px no-repeat,
        /* Top-Left Horizontal */
        linear-gradient(to right, transparent 18px, var(--btn-outline) 18px, var(--btn-outline) 100%) top left / 60% 1px no-repeat,
        /* Top-Left Vertical */
        linear-gradient(to bottom, transparent 18px, var(--btn-outline) 18px, var(--btn-outline) 100%) top left / 1px 60% no-repeat,

        /* Bottom-Right Diagonal */
        linear-gradient(-45deg, transparent 11.7px, var(--btn-outline) 11.7px, var(--btn-outline) 13.7px, transparent 13.7px) bottom right / 30px 30px no-repeat,
        /* Bottom-Right Horizontal */
        linear-gradient(to left, transparent 18px, var(--btn-outline) 18px, var(--btn-outline) 100%) bottom right / 60% 1px no-repeat,
        /* Bottom-Right Vertical */
        linear-gradient(to top, transparent 18px, var(--btn-outline) 18px, var(--btn-outline) 100%) bottom right / 1px 60% no-repeat;
    transition: all 0.3s ease;
}

/* Specific Hero Overrides */
.hero-content .btn {
    --btn-bg: var(--white);
    --btn-outline: var(--white);
    --btn-text: var(--secondary-color);
    padding: 16px 36px;
    font-size: 15px;
    text-transform: none;
}

.hero-content .btn:hover {
    --btn-bg: var(--primary-color);
    --btn-outline: var(--primary-color);
    --btn-text: var(--white);
    transform: translateY(-2px);
}

/* Bottom-Right Section - Flush to edges of content wrapper, diagonal left, fixed width */
/* Bottom-Right Section - Flush to edges of content wrapper, diagonal left, fixed width */
/* Bottom-Right Section - Flush to edges of content wrapper, diagonal left, fixed width */
.hero-card-wrapper {
    position: absolute;
    bottom: -150px;
    /* Deep overlap (approx half of 429px height) */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    /* Match content padding */
    display: flex;
    justify-content: flex-end;
    /* Align card to right */
    pointer-events: none;
    /* Let clicks pass through wrapper areas */
    z-index: 100;
}

.hero-card {
    position: relative;
    /* Relative to wrapper */
    bottom: auto;
    right: auto;
    pointer-events: auto;
    /* Re-enable clicks on card */

    /* 5-sided shape with rounded corners:
       Bold "Dog Ear" cut (120px) on top-left.
    */
    background: linear-gradient(135deg, transparent 120px, var(--white) 120px);

    color: var(--secondary-color);
    /* Increased top padding to 100px to ensure text clears the 120px cut */
    padding: 40px;

    /* Exact dimensions from Figma key reference */
    width: 453px;
    min-height: 429px;
    height: auto;
    /* Dynamic based on content */

    display: none;
    border-radius: 30px;
    /* Matches visual */

    /* Soft, diffuse shadow */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    box-sizing: border-box;
    /* Ensure padding is included in width */
}

.card-divider {
    height: 1px;
    background-color: #e1e1e1;
    /* Subtle divider color */
    margin: 16px 0px;
    /* consistent spacing */
    width: 100%;
}

@media (min-width: 992px) {
    .hero-card {
        display: block;
    }
}

/* Hero Card Typography Updates */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 300px;
    /* Ensure internal layout stretches */
    gap: 20px;
}

/* Card Header (Company Name) */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center aligns logo and text */
    margin-bottom: 30px;
}

.card-header span {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--secondary-color);
}

/* Logo in Card */
.card-icon {
    width: 80px !important;
    /* Larger logo as per visual */
    height: auto;
    object-fit: contain;
}

/* Card Body Text */
.card-content p {
    font-size: 23px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    color: var(--secondary-color);
    margin-bottom: 20px !important;
}

/* Card CTA / Bottom Text */
.card-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding-top: 200px;
    /* Space for hero card overlap */
    padding-bottom: 100px;
    /* ensure background matches body if set explicitly, or transparent */
    background-color: transparent;
}

/* About Us Block */
.about-us-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.about-label-col {
    width: 150px;
    /* Fixed width for label column to align */
    flex-shrink: 0;
}

.section-label-secondary {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content-col {
    max-width: 800px;
}

.about-big-text {
    font-size: 32px;
    font-weight: 400;
    line-height: 45px;
    color: var(--secondary-color);
    margin: 0;
}

/* Grid for Who We Are + Images */
.who-we-are-and-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* Spacer for grid can be hidden on mobile */
.about-grid-spacer {
    display: none;
}

@media (min-width: 992px) {
    .about-grid-spacer {
        display: block;
        border-top: 1px solid #E5E5E5;
    }

    /* Alignment Fix: 3-column layout (Spacer | Images | Who We Are) */
    .who-we-are-and-images-grid {
        margin-left: 0;
        width: 100%;

        /* 3 Columns: 1fr 1fr 1fr */
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
        gap: 0;
        /* Ensure no gap on desktop either */

        /* Add margin top to separate from the big text above, effectively replacing the divider top margin */
        margin-top: 40px;
    }

    .about-images-block {
        border-top: 1px solid #E5E5E5;
        padding-top: 60px;
        /* Space between line and images */
        /* Padding to prevent images from touching the edges if needed, though they are centered in flex */
    }

    /* Add padding to separating content from images since gap is gone */
    .who-we-are-block {
        padding-left: 60px;
    }
}

/* Who We Are Block */
.who-we-are-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
}

/* Label Alignment */
.who-we-are-block .section-label-secondary {
    margin-bottom: 25px;
    display: block;
}

.who-we-are-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: var(--secondary-color);
    margin-bottom: 35px;
    max-width: 450px;
}

/* Specific Orange Overrides */
.btn-chamfered-orange {
    --btn-bg: var(--primary-color);
    --btn-outline: var(--primary-color);
    --btn-text: var(--white);
}

.btn-chamfered-orange:hover {
    --btn-bg: #e55a13;
    --btn-outline: #e55a13;
    transform: translateY(-2px);
}

/* Images Block */
.about-images-block {
    position: relative;
    /* Center the image grouping */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* New Wrapper for overlapping images */
.about-images-single-wrapper {
    position: relative;
    width: 410px;
    height: 509px;
    /* Ensure it doesn't overflow if we have negative margins? No, we want overlap. */
}

/* Large Image */
.about-large-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: absolute;
    /* Fill parent */
    top: 0;
    right: 0;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Small Team Card/Image - Overlapping Bottom Left */
.about-team-card-wrapper {
    position: absolute;
    bottom: 40px;
    /* Up from bottom edge slightly? Or stick out? */
    /* "lower left of large image, overlapping" 
       If it overlaps, it might stick out. 
       Let's try bottom: -40px, left: -60px
    */
    bottom: -40px;
    left: -60px;
    z-index: 2;
    background: var(--white);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    width: auto;
    max-width: 250px;
}

.team-img-wrapper {
    width: 215px;
    height: 215px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

.about-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    text-align: left;
}

.team-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.team-content {
    font-size: 14px;
    font-weight: 300;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-us-block {
        flex-direction: column;
        gap: 10px;
    }

    .about-big-text {
        font-size: 24px;
        line-height: 1.4;
    }

    .about-images-block {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .about-large-image-wrapper,
    .about-team-card-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
    }

    .about-large-image-wrapper {
        height: 300px;
    }

    .team-img-wrapper {
        width: 100%;
        height: 200px;
    }
}


/* Services Section */
.services-section {
    background-color: #F8F9FA;
    padding: 100px 0;
}

#services h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 45px;
    color: var(--secondary-color);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-grey {
    color: #90A0B0;
}

#services .section-label-secondary {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Container & Columns */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 992px) {
    .services-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
        /* Space between image and content */
    }
}

.services-left-col {
    width: 100%;
}

.services-right-col {
    width: 100%;
}

@media (min-width: 992px) {
    .services-left-col {
        width: 48%;
        /* Adjust for 2-col layout */
    }

    .services-right-col {
        width: 48%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 745px;
        /* Match image height */
    }
}

/* Large Image & Overlay */
.service-large-image-wrapper {
    width: 100%;
    height: 500px;
    /* Mobile height */
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Context for overlay */
}

@media (min-width: 992px) {
    .service-large-image-wrapper {
        height: 745px;
        /* Exact spec */
    }
}

.service-large-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Image Overlay */
/* Overlay styles */
.service-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through overlay container if needed, but child elements should catch them */
}

.service-img-overlay h3 {
    font-size: clamp(20px, 3.5vw, 42px);
    /* Slightly smaller min/max for better fit */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff !important;
    /* Force white color */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    word-wrap: break-word;
    /* Ensure long words wrap */
    max-width: 100%;
}

.service-img-overlay .btn-chamfered-orange {
    pointer-events: auto;
    display: inline-block;
    /* Ensure it respects padding/margin */
}

/* Navigation Controls */
.service-nav-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Active Content - Right Column */
.service-active-content {
    margin-bottom: 60px;
}

.active-meta,
.active-title,
.active-subtitle {
    text-align: center;
    /* Centered as per Figma */
}

.active-meta {
    margin-bottom: 20px;
}

.active-number {
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    display: inline-block;
}

.active-title {
    font-size: 23px;
    font-weight: 400;
    line-height: 38px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.active-subtitle {
    font-size: 23px;
    font-weight: 400;
    line-height: 38px;
    color: #90A0B0;
    margin-bottom: 40px;
    margin-top: 0;
}

.active-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    color: var(--secondary-color);
}

/* List Styling with Dividers */
.active-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns */
    gap: 0 40px;
    /* Horizontal gap only */
}

.active-body li {
    border-bottom: 1px solid #E5E5E5;
    /* Divider */
    padding: 15px 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

/* Custom Arrow/Bullet */
.active-body li::before {
    content: '›';
    /* Simple chevron */
    position: absolute;
    left: 0;
    color: #90A0B0;
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
}

/* Thumbnails Row */
.services-thumbnails-row {
    display: flex;
    flex-wrap: nowrap;
    /* Horizontal scroll */
    gap: 20px;
    /* Reduced gap */
    overflow-x: auto;
    padding-bottom: 5px;
    /* Reduced space */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox & IE/Edge - hide scrollbar */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-behavior: smooth;
    width: 100%;
}

/* Hide Scrollbar for Webkit */
.services-thumbnails-row::-webkit-scrollbar {
    width: 0;
    /* Remove scrollbar space */
    height: 0;
    background: transparent;
    /* Optional: just make scrollbar invisible */
    display: none;
    /* Safari and Chrome */
}

.service-thumb-card {
    cursor: pointer;
    flex: 0 0 auto;
    /* Prevent shrinking */
    width: 200px;
    max-width: none;
    /* Override max-width */
    transition: transform 0.3s;
}

.service-thumb-card:hover {
    transform: translateY(-5px);
}

.thumb-img-wrapper {
    width: 100%;
    height: 129px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.thumb-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.thumb-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: none;
    /* Hide number in thumb if not needed, design shows text */
}

.thumb-text {
    font-size: 16px;
    font-weight: 400;
    color: #90A0B0;
    line-height: 1.4;
}




/* Community Section */
.community-section {
    padding: 100px 0;
}

/* Community Header: heading + arrows side by side */
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}

.community-heading {
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: var(--secondary-color);
    margin: 0;
    max-width: 700px;
}

.community-nav-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
    padding-top: 10px;
}

.community-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #D0D5DD;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.community-nav-btn:hover {
    border-color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.03);
}

/* Community Carousel */
.community-carousel-wrapper {
    overflow: hidden;
}

.community-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.community-carousel::-webkit-scrollbar {
    display: none;
}

/* Community Card: horizontal layout inside a card container */
.community-card {
    display: flex;
    gap: 25px;
    align-items: stretch;
    flex: 0 0 auto;
    max-width: 700px;
    min-width: 600px;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.community-card-img {
    width: 230px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.community-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 12px;
}

/* Card Content */
.community-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.community-card-title {
    font-weight: 400;
    font-size: 23px;
    line-height: 34px;
    color: var(--secondary-color);
    margin: 0 0 15px 0;
}

.community-card-divider {
    width: 100%;
    height: 1px;
    background: #E0E0E0;
    margin-bottom: 15px;
}

.community-card-excerpt {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #707F8D;
    margin: 0 0 20px 0;
}

.community-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.community-card-cta:hover {
    color: var(--primary-color);
}

.cta-arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

/* Responsive: Community */
@media (max-width: 768px) {
    .community-header {
        flex-direction: column;
        gap: 20px;
    }

    .community-heading {
        font-size: 24px;
        line-height: 36px;
    }

    .community-card {
        flex-direction: column;
        min-width: 280px;
        max-width: 100%;
    }

    .community-card-img {
        width: 100%;
        height: 200px;
    }
}


/* News & Updates Section */
.news-section {
    padding: 100px 0;
}

.news-wrapper {
    background-color: #EDEDED;
    border-radius: 12px;
    padding: 60px 50px 70px;
}

/* News Header */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

.news-header-text {
    flex: 1;
}

.news-header-text .section-label-secondary {
    display: block;
    margin-bottom: 15px;
}

.news-heading {
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: var(--secondary-color);
    margin: 0;
}

.news-header-cta {
    flex-shrink: 0;
    align-self: center;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 25px;
    }
}

/* Left column: stacked text cards */
.news-left-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-text-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s;
    min-height: 180px;
}

.news-text-card:hover {
    transform: translateY(-3px);
}

.news-card-date {
    font-weight: 400;
    font-size: 13px;
    line-height: 26px;
    color: var(--secondary-color);
}

.news-card-title {
    margin: 0;
}

.news-text-card .news-card-title a {
    font-weight: 400;
    font-size: 23px;
    line-height: 34px;
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.news-text-card .news-card-title a:hover {
    color: var(--primary-color);
}

/* Arrow icon in bottom-right */
.news-link-icon {
    position: absolute;
    bottom: 25px;
    right: 25px;
    border: 2px solid #eee;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 20px;
    transition: all 0.3s;
}

.news-link-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Right column: Featured card with image */
.news-featured-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.news-featured-card:hover {
    transform: translateY(-3px);
}

.news-featured-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.news-featured-content {
    padding: 25px 30px 60px;
    position: relative;
}

.news-featured-title {
    margin: 5px 0 10px;
}

.news-featured-title a {
    font-weight: 400;
    font-size: 23px;
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.news-featured-title a:hover {
    color: var(--primary-color);
}

.news-featured-excerpt {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #707F8D;
    margin: 0;
}

.news-featured-content .news-link-icon {
    bottom: 20px;
    right: 25px;
}

/* Responsive: News */
@media (max-width: 768px) {
    .news-wrapper {
        padding: 40px 25px 50px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-heading {
        font-size: 24px;
        line-height: 36px;
    }
}



/* Thumbnails Slider Wrapper (Services Section) */
.services-thumbs-slider {
    position: relative;
    width: 100%;
    display: block;
}

.thumb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.thumb-nav-btn.prev {
    left: 0;
}

.thumb-nav-btn.next {
    right: 0;
}

.thumb-nav-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: var(--primary-color);
}

.thumb-nav-btn:hover svg path {
    stroke: #fff;
}

/* Footer */
.site-footer {
    background-color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        /* Logo, Menu, Explore, Social */
    }
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-branding p {
    font-size: 16px;
    color: #666;
    max-width: 250px;
    line-height: 1.6;
}

.footer-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-column li {
    margin-bottom: 15px;
}

.footer-menu-column a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-menu-column a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #F5F7FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

.site-info {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: #999;
}

@media (min-width: 768px) {
    .site-info {
        flex-direction: row;
        justify-content: space-between;
    }
}


.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #999;
    text-decoration: none;
}

/* Footer Styles */
.site-footer {
    background-color: #fff;
    padding: 100px 0 40px;
    font-size: 16px;
    color: var(--secondary-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    /* Reduced from 80px */
    gap: 40px;
}

/* Footer Columns */
.footer-col-1 {
    flex: 0 0 40%;
    /* Approx 40% for the first column */
    max-width: 450px;
}

.footer-middle-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "address email"
        "phone social";
    gap: 0 40px;
    align-items: start;
}

.footer-address {
    grid-area: address;
}

.footer-email {
    grid-area: email;
}

.footer-phone {
    grid-area: phone;
}

.footer-social {
    grid-area: social;
}

.footer-col-4 {
    flex: 0 0 10%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    margin-bottom: 30px;
}

.footer-description {
    line-height: 1.6;
    color: #999;
    /* Grey text for description */
    font-size: 13px;
    font-weight: 400;
}

.footer-info-group {
    margin-bottom: 30px;
}

.footer-phone,
.footer-social-group {
    margin-bottom: 0;
}

.footer-label {
    font-size: 14px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.footer-info-group p,
.footer-info-group a {
    font-size: 16px;
    color: #999;
    line-height: 1.5;
    text-decoration: none;
    margin: 0;
}

.footer-info-group a:hover {
    color: var(--primary-color);
}

.footer-social-group .footer-label {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.social-icon:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.arrow-circle {
    width: 48px;
    height: 48px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top:hover .arrow-circle {
    background-color: var(--secondary-color);
    color: #fff;
}

.back-to-top:hover span {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    border-top: none;
    flex-direction: column;
    gap: 20px;
    /* Further reduced from 30px */
}

.footer-navigation {
    width: 100%;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    /* Evenly spaced */
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
    width: 100%;
}

.footer-navigation a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--primary-color);
}



/* Remove column alignment to satisfy "evenly spaced" request */
/* On mobile, stack them */
@media (max-width: 900px) {
    .footer-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #b0b0b0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col-1,
    .footer-middle-grid,
    .footer-col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-middle-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "address"
            "email"
            "phone"
            "social";
        gap: 40px;
    }

    .footer-col-4 {
        justify-content: flex-start;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        text-align: left;
    }
}

/* Mission & Vision Section */
.mv-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 690px;
    /* Based on rectangle height */
    position: relative;
    /* Ensure it sits correctly in the flow */
    margin-top: 0;
}

.mv-col {
    flex: 0 0 50%;
    /* Force 50% width */
    /* max-width: 50%; */
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 80px 0;
    box-sizing: border-box;
}

.mv-vision {
    background-color: #EDEDED;
    justify-content: flex-end;
    /* Push content to the right (toward center) */
    padding-right: 80px;
    padding-left: 40px;
}

.mv-mission {
    background-color: #FFFFFF;
    justify-content: flex-start;
    /* Content starts from left (toward center) */
    padding-left: 80px;
    padding-right: 40px;
}

.mv-content-wrapper {
    max-width: 516px;
    width: 100%;
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fixed width to align text if needed, or just let it flow */
    width: 60px;
}

.mv-title {
    font-family: 'Inter', sans-serif;
    /* Fallback to Inter found in theme */
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #0C2742;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-divider {
    width: 100%;
    height: 1px;
    background-color: #DFE5EA;
    /* Vector 10/11 color */
    margin-bottom: 25px;
}

.mv-text {
    font-family: 'Plain', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    /* 167% */
    color: #0C2742;
    margin: 0;
}

.mv-text-primary {
    color: #0C2742;
    /* Dark navy */
}

.mv-text-secondary {
    color: #8F9FAF;
    /* Light gray - matches design */
}

/* Responsive */
@media (max-width: 1100px) {
    .mv-section {
        flex-direction: column;
        min-height: auto;
    }

    .mv-col {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 60px 20px;
        justify-content: center;
    }

    .mv-vision {
        padding-right: 20px;
        padding-left: 20px;
    }

    .mv-mission {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mv-content-wrapper {
        max-width: 100%;
    }
}

/* ─────────────────────────────────────────── */
/* Core Values Section                         */
/* ─────────────────────────────────────────── */
.cv-section {
    padding: 80px 0 100px;
    width: 100%;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.cv-header {
    text-align: center;
    margin-bottom: 60px;
}

.cv-label {
    font-family: 'Plain', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #0C2742;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 30px;
}

.cv-headline {
    font-family: 'Plain', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 45px;
    margin: 0;
}

.cv-headline-primary {
    color: #0C2742;
}

.cv-headline-secondary {
    color: #8F9FAF;
}

/* Core Values Grid */
.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
}

/* Individual Value Item */
.cv-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
}

.cv-item-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.cv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
}

.cv-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.cv-item-title {
    font-family: 'Plain', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 45px;
    color: #0C2742;
    margin: 0;
}

.cv-item-desc {
    font-family: 'Plain', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #707F8D;
    margin: 0;
    max-width: 540px;
}

/* Core Values Responsive */
@media (max-width: 768px) {
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cv-headline {
        font-size: 24px;
        line-height: 36px;
    }

    .cv-item-title {
        font-size: 24px;
        line-height: 36px;
    }

    .cv-container {
        padding: 0 20px;
    }
}

/* About Us Hero Styles */
/* Header Spacer - Hiding to remove whitespace as requested */
.about-header-spacer {
    display: none;
}

.about-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 0;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0px;
}

.about-page-title {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 62px;
    line-height: 78px;
    color: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .about-page-title {
        font-size: 40px;
        line-height: 1.2;
    }
}

/* ─────────────────────────────────────────── */
/* Credential Sections                         */
/* ─────────────────────────────────────────── */
.credential-section {
    padding: 25px 0;
    width: 100%;
}

.credential-card {
    max-width: 1204px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(239, 239, 239, 0.25);
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    padding: 72px 50px 72px 50px;
    gap: 40px;
}

.credential-content {
    flex: 1;
    min-width: 300px;
}

.credential-label {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #0C2742;
    display: block;
    margin-bottom: 24px;
}

.credential-headline {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    margin: 0 0 24px 0;
}

.credential-headline-primary {
    color: #0C2742;
}

.credential-headline-secondary {
    color: #8F9FAF;
}

.credential-description {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #707F8D;
    margin: 0;
    max-width: 678px;
}

.credential-docs {
    flex: 0 0 363px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credential-docs-preview {
    width: 363px;
    height: 292px;
    background: #F4FBFF;
    border: 0.5px solid #0C2742;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 29px 32px;
    gap: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.credential-docs-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.credential-doc-img {
    height: 194px;
    width: auto;
    max-width: 145px;
    border: 1px solid #0C2742;
    border-radius: 10px;
    object-fit: cover;
}

.credential-doc-placeholder {
    width: 136px;
    height: 194px;
    background: #E0E8F0;
    border: 1px solid #B0BEC5;
    border-radius: 10px;
}

.credential-docs-cta {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0.03em;
    color: #0C2742;
    margin-top: 24px;
    text-align: center;
}

/* Bottom Bar (VTGI values) */
.credential-bottom-bar {
    width: calc(100% + 100px);
    margin: 0 -50px -72px -50px;
    margin-top: 20px;
    background: #0C2742;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    gap: 63px;
}

.credential-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 215px;
}

.credential-bar-letter {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #FFFFFF;
    text-align: center;
}

.credential-bar-label {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 45px;
    color: #C9D6E3;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .credential-card {
        flex-direction: column;
        padding: 40px 24px;
    }

    .credential-docs {
        flex: 1 1 auto;
        width: 100%;
    }

    .credential-docs-preview {
        width: 100%;
        max-width: 363px;
    }

    .credential-bottom-bar {
        width: calc(100% + 48px);
        margin: 20px -24px -40px -24px;
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 16px;
    }

    .credential-bar-item {
        width: 45%;
    }

    .credential-docs-list {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ─────────────────────────────────────────── */
/* Document Viewer Modal                       */
/* ─────────────────────────────────────────── */
.credential-doc-link {
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
}

.credential-doc-link:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(12, 39, 66, 0.15);
}

.credential-doc-link:hover .credential-doc-img {
    border-color: #3B7DD8;
}

.credential-doc-pdf-thumb {
    width: 136px;
    height: 194px;
    background: #E8F0F8;
    border: 1px solid #0C2742;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.doc-viewer-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 39, 66, 0.85);
    backdrop-filter: blur(4px);
}

.doc-viewer-container {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.doc-viewer-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: #0C2742;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.doc-viewer-close:hover {
    background: rgba(12, 39, 66, 0.08);
}

.doc-viewer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-viewer-image {
    max-width: 85vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

.doc-viewer-iframe {
    width: 80vw;
    height: 80vh;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .doc-viewer-container {
        max-width: 95vw;
        max-height: 95vh;
        padding: 16px;
    }

    .doc-viewer-iframe {
        width: 90vw;
        height: 85vh;
    }
}

/* ─────────────────────────────────────────── */
/* Shareholders Section                        */
/* ─────────────────────────────────────────── */
.shareholders-section {
    padding: 80px 0;
    max-width: 1204px;
    /* Based on 4 columns * 280 + 3 * 28 */
    margin: 0 auto;
}

.shareholders-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.shareholders-subheading {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #0C2742;
    text-align: center;
    margin-bottom: 24px;
}

.shareholders-heading {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 45px;
    color: #0C2742;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.shareholders-heading-secondary {
    color: #707F8D;
}

.shareholders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    row-gap: 60px;
    /* Vertical gap between rows */
}

.shareholder-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shareholder-img-wrapper {
    width: 100%;
    aspect-ratio: 280 / 313;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #F5F5F5;
}

.shareholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shareholder-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #D9D9D9;
}

.shareholder-name {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #0C2742;
    margin: 0 0 4px 0;
}

.shareholder-position {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #707F8D;
    margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .shareholders-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .shareholders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .shareholders-grid {
        grid-template-columns: 1fr;
    }

    .shareholders-heading {
        font-size: 24px;
        line-height: 32px;
    }
}

/* ============================================
   Homepage Responsive Overrides
   ============================================ */

/* --- Tablet (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Hero */
    .hero-section {
        min-height: 600px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 40px;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 15px;
        max-width: 100%;
    }

    /* About */
    .about-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .about-images-single-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    /* Services Section */
    .services-section {
        padding: 60px 0;
    }

    #services h2 {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 40px;
    }

    .service-large-image-wrapper {
        height: 350px;
    }

    .active-body ul {
        grid-template-columns: 1fr;
    }

    .active-title,
    .active-subtitle {
        font-size: 20px;
        line-height: 30px;
    }

    .service-nav-controls {
        bottom: 30px;
        right: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    /* Community */
    .community-section {
        padding: 60px 0;
    }

    .community-card {
        min-width: 260px;
        max-width: 100%;
    }

    /* News */
    .news-section {
        padding: 60px 0;
    }

    /* Footer */
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        gap: 30px;
        margin-bottom: 40px;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-content .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* About */
    .about-big-text {
        font-size: 20px;
        line-height: 1.4;
    }

    .about-label-col {
        width: auto;
    }

    .about-images-single-wrapper {
        aspect-ratio: 3 / 4;
    }

    .who-we-are-content p {
        max-width: 100%;
    }

    /* Services */
    .service-large-image-wrapper {
        height: 280px;
    }

    .service-img-overlay {
        padding: 20px;
    }

    .service-nav-controls {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }

    .service-thumb-card {
        width: 160px;
    }

    /* Community */
    .community-heading {
        font-size: 20px;
        line-height: 30px;
    }

    .community-card {
        min-width: 240px;
        padding: 15px;
    }

    .community-card-img {
        height: 180px;
    }

    .community-card-title {
        font-size: 18px;
        line-height: 26px;
    }

    .community-card-excerpt {
        font-size: 14px;
        line-height: 24px;
    }

    /* News */
    .news-wrapper {
        padding: 30px 16px 40px;
        border-radius: 8px;
    }

    .news-heading {
        font-size: 20px;
        line-height: 30px;
    }

    .news-text-card {
        padding: 20px;
        min-height: 140px;
    }

    .news-text-card .news-card-title a {
        font-size: 18px;
        line-height: 28px;
    }

    .news-featured-content {
        padding: 20px 20px 50px;
    }

    .news-featured-title a {
        font-size: 18px;
    }

    /* Footer */
    .footer-branding p {
        max-width: 100%;
    }
}

/* ============================================
   Entrance Animations (scroll-triggered)
   ============================================ */

/* Base: hidden until observed */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Variants */
.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

.animate-on-scroll.scale-in {
    transform: scale(0.92);
}

/* Revealed state */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger delays for child elements */
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* Hero section special: animate on load, not scroll */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: heroEntrance 0.8s ease forwards;
}

.hero-animate.delay-1 {
    animation-delay: 0.15s;
}

.hero-animate.delay-2 {
    animation-delay: 0.3s;
}

.hero-animate.delay-3 {
    animation-delay: 0.45s;
}

.hero-animate.delay-4 {
    animation-delay: 0.6s;
}

@keyframes heroEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .animate-on-scroll,
    .hero-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}