/* ==========================================================================
   Hong Fok Group - Refactored Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Serif+4:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. Design Tokens (CSS Custom Properties)
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #30343E;
    --color-secondary: #9C928D;
    --color-accent: #d4a574;
    --color-dark: #1a2332;
    --color-dark-section: #3a4149;
    --color-footer: #2a2f35;
    --color-light: #ffffff;
    --color-light-bg: #F0EEF0;
    --color-text: #333333;
    --color-text-muted: #6b7280;
    --color-text-light: rgba(255, 255, 255, 0.85);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Serif 4', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.5rem;
    --text-7xl: 4rem;
    --text-8xl: 5.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-full: 50%;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 1050;
}

/* ==========================================================================
   2. Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.3;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */

/* Typography Utilities */
.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.text-light {
    color: var(--color-light);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.tracking-wide {
    letter-spacing: 0.5px;
}

.tracking-wider {
    letter-spacing: 1px;
}

/* Background Utilities */
.bg-light {
    background-color: var(--color-light-bg) !important;
}

.bg-dark {
    background-color: var(--color-dark-section);
}

.bg-footer {
    background-color: var(--color-footer);
}

/* Transition Utilities */
.transition-base {
    transition: all var(--transition-base);
}

/* Responsive Visibility */
.show-mobile {
    display: none !important;
}


/* ==========================================================================
   4. Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   4.1 Navigation
   -------------------------------------------------------------------------- */
.navbar {
    background: transparent;
    box-shadow: none;
    padding: var(--space-4) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--color-light);
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.navbar>.container {
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-dark);
    transition: color var(--transition-base);
}

.navbar-brand img {
    margin: 10px 0;
    width: 200px;
    transition: all var(--transition-base);
}

.navbar-offset {
    padding-top: 90px;
}

.scrolled .navbar-brand img {
    margin: 10px 0;
    width: 150px;
}

/* Nav Links */
.nav-link a,
.nav-link span {
    color: var(--color-light);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: var(--space-2) 0;
    transition: color var(--transition-base);
}

.content_wrapper .wrap_1000 {
    padding: 40px 0 40px 0;
}

.navbar.scrolled .nav-link a,
.navbar.scrolled .nav-link span {
    color: var(--color-dark);
}

.header-section {
    /* height: 40vh; */
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), url('../images/ir-banner.png');
    background-position: center;
}

.header-section__title {
    font-size: var(--text-6xl);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 0;
    margin-top: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Nav Link Color Override removed */

.nav-link:hover {
    color: var(--color-accent) !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: rgba(26, 35, 50, 0.5);
    align-self: center;
    padding: 10px 14px;
}

.navbar-toggler-icon {
    /* White icon by default (for transparent navbar) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    /* Dark icon when scrolled */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 35, 50, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M24 6L6 24'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 35, 50, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M24 6L6 24'/%3e%3c/svg%3e");
}

/* Dropdown */
.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.dropdown-toggle {
    padding: 12px 0;
}

.dropdown-toggle .bi-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.connection-icon {
    transition: transform var(--transition-base);
}

.dropdown-item .connection-icon {
    transform: rotate(180deg);
}

.dropdown-item.collapsed .connection-icon {
    transform: rotate(0deg);
}

.nav-item.dropdown:hover .dropdown-toggle>.nav-link-text {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.dropdown-toggle>.nav-link-text.active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--space-2) 0;
    margin-top: 0;
    min-width: 200px;
    display: block;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    top: 100%;
    transform: translate3d(0, -20px, 0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    border-radius: 0;
    backface-visibility: hidden;
}

.dropdown-item {
    color: var(--color-dark);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: var(--space-2) var(--space-5);
    transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(212, 165, 116, 0.15);
    color: var(--color-accent);
}

.dropdown-item:hover>.nav-link-text {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.dropdown-item-active {
    background-color: rgba(212, 165, 116, 0.15);
    color: var(--color-accent) !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: var(--space-2) 0;
}

.dropdown-item-collapse {
    padding-left: 5px;
}

.investment_calculator_table {
    table-layout: fixed;
    width: 100%;
}

.investment_calculator_table tr td:first-child,
.investment_calculator_table tr th:first-child {
    width: 70%;
    white-space: normal;
    word-break: break-word;
}

.stats-grid {
    display: flex;
}

/* --------------------------------------------------------------------------
   4.2 Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background-image: url('../images/home.jpg');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: 50% 30%;
    padding-top: 80px;
    overflow: hidden;
}

.home-hero-section {
    height: 140vh;
    background-image: url('../images/home.jpg');
}

.hero-section-half {
    min-height: 40vh;
}

.hero-section-half .row {
    min-height: 40vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.1) 15%, transparent);
    z-index: 1;
}

.hero-section-portfolio {
    background-image: url('../images/portfolio.png');
}

.hero-section-contact-us {
    background-image: url('../images/contact-us.jpg');
}

.hero-section-ir-home {
    background-image: url('../images/ir-home.png');
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.home-hero-title {
    font-size: var(--text-8xl);
    font-weight: 600;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.hero-building-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   4.3 Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--color-light-bg);
    padding: var(--space-32) 0;
}

.stat-row {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-7xl);
    line-height: 1;
    color: var(--color-secondary);
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.stat-value .currency {
    font-size: 0.5em;
    vertical-align: super;
    margin-right: 0.2rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   4.4 Buttons & Links
   -------------------------------------------------------------------------- */

/* Arrow Button (shared base) */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.btn-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    border-radius: var(--radius-full);
    margin-left: var(--space-4);
    font-size: var(--text-xl);
    font-weight: 300;
    transition: all var(--transition-base);
}

.btn-arrow:hover i {
    background: currentColor;
}

/* Button Variants */
.btn-arrow--dark {
    color: var(--color-dark);
}

.btn-arrow--dark:hover {
    color: #000;
}

.btn-arrow--dark:hover i {
    background: var(--color-dark);
    color: var(--color-light);
}

.btn-arrow--secondary {
    color: var(--color-secondary);
}

.btn-arrow--secondary:hover i {
    background: var(--color-secondary);
    color: var(--color-light);
}

.btn-arrow--light {
    color: var(--color-light);
}

.btn-arrow--light i {
    border-color: var(--color-light);
}

/* Legacy support for existing classes */
.learn-more-btn,
.arrow-icon-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-base);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.learn-more-btn i,
.arrow-icon-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-dark);
    border-radius: var(--radius-full);
    margin-left: var(--space-6);
    font-size: var(--text-xl);
    font-weight: 300;
    transition: all var(--transition-base);
}

.learn-more-btn-overlay i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-light);
    border-radius: var(--radius-full);
}

.arrow-icon-btn i {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.learn-more-btn:hover,
.arrow-icon-btn:hover {
    color: #000;
}

.learn-more-btn:hover i {
    background: var(--color-dark);
    color: var(--color-light);
}

.arrow-icon-btn:hover i {
    background: var(--color-secondary);
    color: var(--color-light);
}

/* .arrow-icon-btn.testimonial-link {
    color: var(--color-light);
} */

/* .arrow-icon-btn.testimonial-link i {
    color: var(--color-light);
    border-color: var(--color-light);
} */

/* View Portfolio Link */
.view-portfolio-link {
    color: #3b434e;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-8);
    transition: all var(--transition-base);
}

.view-portfolio-link i {
    font-size: var(--text-2xl);
    font-weight: 300;
    margin-left: var(--space-4);
    transition: transform var(--transition-base);
}

.view-portfolio-link:hover {
    color: var(--color-accent);
}

.view-portfolio-link:hover i {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   4.5 Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-section {
    padding: var(--space-32) 0;
    background-color: var(--color-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.portfolio-item {
    position: relative;
    /* overflow: hidden; - Removed to allow hit-area extension */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    will-change: transform;
}

/* Extend hit area to prevent flickering when item moves up */
.portfolio-item::after {
    content: '';
    position: absolute;
    inset: -20px;
    z-index: -1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: #f5f5f5;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    /* Reduced scale slightly for subtler effect */
}

.portfolio-label {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: #3b434e;
    text-align: center;
    margin-top: var(--space-8);
    margin-bottom: 0;
    transition: color var(--transition-base);
}

.portfolio-item:hover .portfolio-label {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   4.6 Testimonial Section
   -------------------------------------------------------------------------- */
.testimonial-section {
    background-color: #F1EEF1;
    padding: var(--space-20) 0;
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before,
.testimonial-section::after {
    z-index: 0;
    content: '';
    position: absolute;
    width: 260px;
    height: 220px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-section .container {
    position: relative;
    z-index: 2;
}

.testimonial-section::before {
    opacity: 1;
    top: 0%;
    left: 0%;
    background-image: url('../images/quotes-open.svg');
}

.testimonial-section::after {
    opacity: 1;
    bottom: -4%;
    right: 0%;
    background-image: url('../images/quotes-close.svg');
}

.quote-icon {
    color: #E7E7E7;
}

.quote-icon path {
    fill: currentColor;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: var(--text-4xl);
    font-style: italic;
    line-height: 1.4;
    color: #444851;
    margin-bottom: var(--space-16);
    border-left: none;
    padding-left: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 0;
}

.author-name {
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: 1px;
    color: #444851;
    margin-bottom: var(--space-1);
}

.author-title {
    font-size: var(--text-2xl);
    color: #444851;
    font-weight: 400;
}

.arrow-icon {
    font-size: var(--text-5xl);
    color: var(--color-secondary);
}

.testimonial-link {
    color: #444851;
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-base);
}

.testimonial-link:hover {
    color: #444851;
}

.testimonial-link-wrapper {
    text-align: end;
}

.project-link-wrapper {
    margin-top: var(--space-8);
    text-align: center;
}

/* --------------------------------------------------------------------------
   4.7 Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-footer);
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-top-wrapper {
    padding: var(--space-16) 0;
}

.footer-column img {
    width: 80%;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-size: var(--text-2xl);
}

.footer-heading {
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-light);
    margin-bottom: var(--space-3);
}

.footer-subheading {
    font-size: 1.7rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-3);
}

.footer-text {
    font-size: var(--text-base);
    line-height: 2;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.footer-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-quick-links li {
    margin-bottom: var(--space-2);
}

.footer-quick-links a {
    font-size: var(--text-base);
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-quick-links a:hover {
    color: var(--color-light);
}

.footer-copyright-wrapper {
    background-color: var(--color-secondary);
    padding: var(--space-8) 0;
}

.footer-copyright {
    font-size: var(--text-base);
    color: #000000;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    font-size: var(--text-base);
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links span {
    color: #766C67;
}

.footer-links a:hover {
    color: var(--color-light);
}

/* --------------------------------------------------------------------------
   4.8 Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb-section {
    padding: var(--space-8) 0 var(--space-4);
    background-color: var(--color-light);
}

.breadcrumb-item {
    font-family: var(--font-body);
    font-size: var(--text-base);
}

.breadcrumb-item+.breadcrumb-item::before {
    font-family: 'bootstrap-icons';
    content: "\F285";
    font-size: 0.8rem;
    color: var(--color-secondary);
    vertical-align: middle;
    padding-top: 3px;
}

.breadcrumb-item a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item.active {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}
/* --------------------------------------------------------------------------
   4.10 Contact Page
   -------------------------------------------------------------------------- */
.contact-content-section {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
}

.contact-company-name {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-4);
}

.contact-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-4);
}

.contact-desc {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-secondary);
    line-height: 1.6;
}

.contact-info-row {
    margin-top: var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    text-align: left;
}

.contact-icon {
    font-size: var(--text-3xl);
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-icon i {
    font-weight: 300;
}

.contact-label {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-value {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-value--regular {
    font-weight: 400;
}

.contact-email-link {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
}

.contact-email-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form {
    font-family: var(--font-body);
}

.contact-form-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.text-required {
    color: #b35c4b;
}

.contact-form-control {
    border-radius: 0;
    border: 1px solid #d3cec9;
    padding: 0.6rem 0.9rem;
    font-size: var(--text-sm);
    color: var(--color-primary);
    background-color: transparent;
}

.contact-form-control::placeholder {
    color: #c0b7b1;
}

.contact-form-control:focus {
    box-shadow: none;
    border-color: var(--color-secondary);
    background-color: transparent;
}

.contact-form-textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
}

.contact-consent .form-check-input {
    border-radius: 0;
    border-color: #d3cec9;
    margin-top: 0.2rem;
}

.contact-consent .form-check-input:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.contact-consent-label {
    font-size: var(--text-xs);
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

.contact-inline-link {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-inline-link:hover {
    color: var(--color-primary);
}

.contact-required-note {
    font-size: var(--text-xs);
    color: var(--color-secondary);
}

.contact-submit-btn {
    border-radius: 40px;
    border: 1px solid #d3cec9;
    padding: 0.5rem 2.5rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--color-secondary);
}

.contact-submit-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
    border-color: var(--color-secondary);
}

.contact-us-success-section {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
    text-align: center;
}

/* --------------------------------------------------------------------------
   4.11 Investor Relations Page
   -------------------------------------------------------------------------- */

/* Welcome Section */
.ir-welcome-section {
    padding: var(--space-20) 0;
    background-color: var(--color-light);
}

.ir-welcome-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-secondary);
    line-height: 1.8;
}

/* News Section */
.ir-news-section {
    padding: var(--space-8) 0 var(--space-24);
    background-color: var(--color-light);
}

.section-heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    color: var(--color-primary);
    margin-bottom: 0;
}

.news-card {
    display: flex;
    align-items: center;
    padding: var(--space-6);
    border: 1px solid #f0f0f0;
    background: var(--color-light);
    height: 100%;
    transition: all var(--transition-base);
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
    transform: translateY(-5px);
}

.news-date-box {
    padding-right: var(--space-6);
    text-align: center;
    min-width: 90px;
    border-right: 1px solid #eee;
}

.news-day {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    line-height: 1;
    color: var(--color-secondary);
}

.news-month-year {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.news-content {
    flex: 1;
    padding-left: var(--space-6);
}

.news-link {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 4px;
    line-height: 1.5;
    transition: all var(--transition-base);
    display: block;
}

.news-link:hover {
    color: var(--color-accent);
    text-decoration-color: var(--color-accent);
}

/* Annual Report Section */
.ir-annual-report-section {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.ir-annual-report-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(60deg, #fafafa 25%, transparent 25.5%, transparent 75%, #fafafa 75%, #fafafa),
        linear-gradient(60deg, #fafafa 25%, transparent 25.5%, transparent 75%, #fafafa 75%, #fafafa);
    background-size: 60px 100px;
    background-position: 0 0, 30px 50px;
    opacity: 0.6;
    z-index: 0;
}

.ir-annual-report-section .container {
    position: relative;
    z-index: 1;
}

.annual-report-img-wrapper {
    position: relative;
    box-shadow: var(--shadow-lg);
    display: inline-block;
    background: var(--color-light);
    padding: 0 15px 15px 0;
    transition: transform var(--transition-slow);
}

.annual-report-img-wrapper:hover {
    transform: translateY(-10px);
}

.annual-report-title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-8);
}

.download-link {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.2rem;
    transition: color var(--transition-base);
}

.download-link:hover {
    color: var(--color-accent);
}

.file-size {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: #888;
}

/* Resources Section */
.ir-resources-section {
    padding: var(--space-24) 0;
    position: relative;
    background: url('../images/home.jpg') center/cover fixed;
}

.ir-resources-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(210, 199, 188, 0.85);
}

.ir-resources-card {
    position: relative;
    background: #f0ebe6;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.resource-col {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-col:last-child {
    border-right: none;
}

.resource-content {
    padding: var(--space-16) var(--space-12);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resource-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #4a4a4a;
    margin-bottom: var(--space-8);
}

.resource-desc {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: #666;
    line-height: 1.6;
    margin-bottom: auto;
    min-height: 80px;
}

.resource-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: var(--space-8) 0;
    opacity: 1;
}

.download-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: #5d5d5d;
}

.download-item i {
    font-size: var(--text-4xl);
    color: #6d665e;
}

.download-item .font-weight-bold {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: #555;
}

.file-size-sm {
    font-size: 0.85rem;
    color: #888;
    display: block;
}

.signup-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: #555;
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   4.14b AGM/EGM Documents Page
   -------------------------------------------------------------------------- */
.agm-documents-section {
    padding: var(--space-16) 0;
    background-color: var(--color-light);
}

.agm-year-heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 600;
    color: var(--color-dark);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-dark);
    line-height: 1.2;
}

.agm-document-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-16) 0;
}

.agm-document-item {
    border-bottom: 1px dashed #b0b0b0;
    padding: var(--space-5) 0;
}

.agm-document-link {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 500;
    color: #2a7a8c;
    text-decoration: none;
    transition: color var(--transition-base);
    display: block;
}

.agm-document-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   4.14c Previous Years Annual Report Grid
   -------------------------------------------------------------------------- */
.ar-previous-heading {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--space-10);
    text-align: center;
}

.ar-previous-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.ar-previous-card {
    text-align: center;
}

.ar-previous-link {
    text-decoration: none;
    display: block;
    transition: transform var(--transition-base);
}

.ar-previous-link:hover {
    transform: translateY(-8px);
}

.ar-previous-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

.ar-previous-link:hover .ar-previous-cover {
    box-shadow: var(--shadow-lg);
}

.ar-previous-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.ar-previous-link:hover .ar-previous-cover img {
    transform: scale(1.05);
}

.ar-previous-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.ar-previous-year {
    font-family: var(--font-body);
    font-size: var(--text-3xl);
    font-weight: 400;
    color: #2a7a8c;
    transition: color var(--transition-base);
    line-height: 1.2;
}

.ar-previous-link:hover .ar-previous-year {
    color: var(--color-accent);
}

.ar-previous-interactive {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-base);
}

.ar-previous-interactive:hover {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .ar-previous-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .ar-previous-heading {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 576px) {
    .ar-previous-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* --------------------------------------------------------------------------
   4.15 Careers Page
   -------------------------------------------------------------------------- */
.career-section {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
}

.career-heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    color: var(--color-secondary);
    line-height: 1.15;
    margin-bottom: var(--space-4);
}

.career-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-6);
}

.career-copy {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-secondary);
    line-height: 1.7;
    max-width: 260px;
}

.career-link {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.career-link:hover {
    color: var(--color-primary);
}

.career-list {
    border-top: 1px solid #e3dfdb;
}

.career-list-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid #e3dfdb;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-primary);
}

.career-role-number {
    min-width: 2rem;
    font-family: var(--font-body);
    color: var(--color-secondary);
}

.career-role-title {
    color: var(--color-primary);
    text-decoration: none;
}

.career-role-title:hover {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.career-role-icon {
    font-size: var(--text-xl);
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .career-section {
        padding: var(--space-16) 0;
    }

    .career-heading {
        font-size: var(--text-4xl);
        margin-bottom: var(--space-3);
    }

    .career-subtitle {
        font-size: var(--text-lg);
        margin-bottom: var(--space-4);
    }

    .career-copy {
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   4.11 Portfolio Listing Page
   -------------------------------------------------------------------------- */
.portfolio-listing-section {
    padding: var(--space-10) 0 var(--space-20);
    background-color: var(--color-light);
}

.portfolio-filters {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.filter-item {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.filter-item i {
    font-size: var(--text-xl);
    font-weight: 300;
}

.filter-item.active,
.filter-item:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: var(--space-4);
}

/* Property Cards */
.property-card {
    display: block;
    border: none;
    transition: transform var(--transition-base);
    height: 100%;
    text-decoration: none;
}

.property-card:hover {
    transform: translateY(-5px);
    background-color: #4a5058;
}

.property-card:hover h4,
.property-card:hover span {
    color: var(--color-light);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 3;
}

.top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .top-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card:hover .card-overlay {
    opacity: 1;
}

.learn-more-btn-overlay {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-light);
    /* border: 1px solid var(--color-light); */
    padding: var(--space-3) var(--space-6);
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.card-body {
    padding: var(--space-8);
}

.property-title {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
    font-weight: 600;
}

.property-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-row {
    display: flex;
}

.detail-label {
    min-width: 100px;
    font-family: var(--font-display);
    color: inherit;
    opacity: 0.8;
    font-size: 1.1rem;
}

.detail-value {
    font-family: var(--font-body);
    color: inherit;
    font-size: 1rem;
    flex: 1;
}

/* Card Variants */
.dark-card {
    background-color: #4a5058;
    color: var(--color-light);
}

.dark-card .property-title {
    color: var(--color-light);
}

.light-card {
    background-color: var(--color-light-bg);
    color: var(--color-text);
}

.light-card .property-title {
    color: var(--color-primary);
}

.light-card .detail-label {
    color: #888;
}

.white-card {
    background-color: var(--color-light);
    color: var(--color-text);
}

.white-card .property-title {
    color: var(--color-primary);
}

.white-card .detail-label {
    color: #888;
}

/* --------------------------------------------------------------------------
   4.12 Portfolio Detail Page
   -------------------------------------------------------------------------- */
.portfolio-detail-section {
    padding: 0;
    background-color: #F0EEF0;
    margin: var(--space-12) 0;
}

.detail-img-wrapper {}

.detail-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-intro {
    padding: 0 var(--space-12);
}

/* Enquiry Modal */
.enquiry-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header-custom {
    border: none;
    padding-bottom: 0;
}

.modal-title-custom {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--color-secondary);
    font-weight: 700;
}

.enquiry-label {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
    display: block;
}

.enquiry-label .text-danger {
    color: #dc3545;
}

.enquiry-input {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: #aeaeae;
    background-color: transparent;
    transition: border-color var(--transition-base);
}

.enquiry-input:focus {
    box-shadow: none;
    border-color: var(--color-secondary);
    color: var(--color-text);
}

.enquiry-input::placeholder {
    color: #aeaeae;
}

.enquiry-note {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-secondary);
    display: block;
    margin-bottom: var(--space-4);
}

.btn-submit {
    background-color: #7d726d;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-3);
    border-radius: 8px;
    transition: background-color var(--transition-base);
    margin-top: var(--space-2);
}

.btn-submit:hover {
    background-color: #635a56;
    color: #fff;
}

.detail-topic {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-4);
    font-weight: 400;
}

.detail-heading {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.2;
}

.detail-description {
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    color: #4a5058;
    line-height: 1.7;
}

.section-divider {
    border-top: 1px solid #e0e0e0;
    opacity: 1;
}

.detail-link {
    color: #666;
    text-decoration: none;
    transition: color var(--transition-base);
}

.detail-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Detail Info Blocks */
.detail-block .detail-label {
    min-width: auto;
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary);
    opacity: 1;
}

.detail-block .detail-value {
    display: block;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.detail-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4.13 Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
    background-color: #f5f5f5;
    /* Light gray background */
    padding: var(--space-20) 0;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-12);
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 5;
    /* Vertical aspect ratio based on design */
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 5px;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Arrow Button Overlay for last item */
.gallery-arrow-overlay {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-arrow-overlay {
    background-color: #fff;
    color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   4.14 Gallery Slick Slider
   -------------------------------------------------------------------------- */
.gallery-slider-wrapper {
    position: relative;
}

.gallery-slider .slick-list {
    overflow: hidden;
}

.gallery-slide {
    padding: 0 var(--space-3);
}

/* Custom arrow buttons */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: 1px solid white;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition-base);
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hide default slick arrow styles */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
    display: none !important;
}

/* --------------------------------------------------------------------------
   4.X Awards Section
   -------------------------------------------------------------------------- */
.awards-section {
    padding: var(--space-24) 0;
    background-color: var(--color-light);
}

.award-item {
    padding: var(--space-8);
    transition: transform var(--transition-base);
}

.award-item:hover {
    transform: translateY(-6px);
}

.award-img {
    width: 100%;
    max-width: 220px;
    height: 200px;
    object-fit: contain;
    margin-bottom: var(--space-6);
    filter: grayscale(20%);
    transition: filter var(--transition-base);
}

.award-item:hover .award-img {
    filter: grayscale(0%);
}

.award-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.award-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Base Styles */
/* ==========================================================================
   5. Desktop Navigation (min-width: 992px)
   ========================================================================== */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex;
        align-self: stretch;
    }

    .navbar-nav {
        height: 100%;
        flex-direction: row;
        gap: var(--space-4);
    }

    .nav-item {
        display: flex;
        align-items: stretch;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
        height: 100%;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .nav-menu {
        display: block;
        margin-left: auto;
    }
}

/* ==========================================================================
   6. Tablet Styles (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .navbar>.container {
        padding: 0 15px;
    }

    /* Dropdown */
    .dropdown-menu {
        display: none;
        backdrop-filter: none;
        background: var(--color-light);
        border: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        transform: translate3d(0, 0, 0);
        z-index: var(--z-dropdown);
        backface-visibility: hidden;
        transition: none;
    }

    .dropdown-menu.show {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .dropdown-item {
        padding: var(--space-3) var(--space-8);
    }

    .dropdown-item-collapse {
        padding-left: 15px;
    }

    /* Navbar */
    .navbar-collapse .navbar-nav {
        padding: var(--space-2) 0;
        padding-bottom: var(--space-4);
        border-radius: 0;
        margin-top: 10px;
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
    }

    .nav-link {
        color: var(--color-dark);
    }

    .portfolio-item {
        margin-bottom: var(--space-8);
    }

    .milestone-timeline {
        --milestone-year-width: 90px;
        --milestone-rail-gap: 36px;
        gap: var(--space-12);
    }

    .milestone-year {
        font-size: var(--text-3xl);
    }

    .milestone-card {
        gap: var(--space-6);
    }

    .milestone-image {
        width: 140px;
    }

    .navbar-brand img {
        width: 150px;
    }

    .header-section {
        height: 50vh;
    }

    .header-section__title {
        margin: 65px 15px 0;
    }

    .nav-link a,
    .nav-link span {
        color: var(--color-dark);
    }

    @media (max-width: 991.98px) {
        /* Smoother collapse easing — override Bootstrap's default linear */
        .collapsing {
            transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .navbar-collapse {
            position: absolute;
            top: 99%;
            left: 0;
            right: 0;
            width: 100%;
            background: var(--color-light);
            padding-left: calc(var(--bs-gutter-x) * .5);
            padding-right: calc(var(--bs-gutter-x) * .5);
            max-height: calc(100dvh - 60px);
            overflow-y: auto;
        }

        /* Full-screen white backdrop — fades in/out with menu */
        .navbar::after {
            content: '';
            position: fixed;
            inset: 0;
            background: var(--color-light);
            z-index: -1;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }

        .navbar.menu-open::after {
            opacity: 1;
        }

        /* Hide nav items during height animation, stagger them in after */
        .navbar-collapse.collapsing .nav-item {
            opacity: 0;
            transform: translateY(8px);
        }

        .navbar-collapse.show .nav-item {
            animation: mobileNavItemIn 0.25s ease forwards;
        }

        .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.03s; }
        .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.09s; }
        .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.15s; }
        .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.20s; }
        .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.25s; }

        /* Ensure content inside aligns nicely */
        .navbar-collapse .navbar-nav {
            width: 100%;
            max-width: 1320px;
            margin: 0 auto;
        }
    }

    /* Stats */
    .stat-row {
        flex-direction: row;
        align-items: flex-end;
        gap: var(--space-2);
    }

    .stat-label {
        margin-bottom: var(--space-4);
        font-size: var(--text-base);
    }

    .stat-value {
        font-size: var(--text-6xl);
    }

    .learn-more-btn {
        margin-top: var(--space-8);
    }

    /* Sections */
    .stats-section,
    .portfolio-section,
    .testimonial-section {
        padding: var(--space-20) 0;
    }

    .testimonial-quote {
        font-size: 1.8rem;
        margin-bottom: var(--space-8);
    }

    .footer-column {
        margin-bottom: var(--space-8);
    }

    .footer-column-center {
        text-align: center;
    }

    /* Hero */
    .hero-title-wrapper {
        padding: 0;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-image-container {
        height: 50vh;
        margin-top: var(--space-12);
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .section-title,
    .section-heading {
        font-size: var(--text-2xl);
    }

    .section-title {
        margin-bottom: 0;
    }

    .footer-links {
        text-align: left;
        margin-top: var(--space-4);
    }

    /* IR Page */
    .annual-report-content {
        text-align: center;
        margin-top: var(--space-12);
        padding-left: 0;
    }

    .download-box .d-flex {
        justify-content: center;
    }

    .annual-report-title {
        font-size: var(--text-4xl);
    }

    .news-day {
        font-size: var(--text-4xl);
    }

    /* Resources */
    .resource-col {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .resource-col:last-child {
        border-bottom: none;
    }

    .resource-content {
        padding: var(--space-12) var(--space-6);
    }

    /* Portfolio Detail */
    .detail-heading {
        font-size: var(--text-4xl);
        margin-top: var(--space-8);
    }

    .detail-img-wrapper {
        margin-bottom: var(--space-4);
    }

    .footer-top-wrapper {
        padding: var(--space-16) var(--space-4);
    }
}

/* ==========================================================================
   7. Mobile Styles (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        padding-top: 100px;
    }

    .home-hero-section {
        background-image: url('../images/home-mobile.png');
        height: 100vh;
        background-size: cover;
    }

    .home-hero-section .container .row {
        min-height: 85vh !important;
        align-items: flex-end !important;
        justify-content: center;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .home-hero-title {
        text-align: center;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-10) var(--space-8);
    }

    .stat-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .stat-value {
        font-size: var(--text-5xl);
        margin-bottom: var(--space-2);
    }

    .stat-label {
        margin: 0;
        font-size: var(--text-sm);
    }

    .detail-intro {
        padding: var(--space-2) var(--space-6);
    }

    .detail-topic {
        font-size: var(--text-sm);
        margin-bottom: 0;
    }

    .detail-heading {
        font-size: var(--text-2xl);
        margin: var(--space-3) 0;
    }

    .detail-description {
        font-size: var(--text-sm);
    }

    .detail-value {
        font-size: var(--text-sm) !important;
    }

    /* Contact Page */
    .contact-content-section {
        padding: var(--space-16) 0;
    }

    .contact-company-name {
        font-size: var(--text-3xl);
    }

    .contact-subtitle {
        font-size: var(--text-lg);
    }

    .contact-info-row {
        margin-top: var(--space-8);
    }

    .contact-required-note {
        display: block;
        margin-top: var(--space-2);
        text-align: left;
    }

    .gallery-title {
        font-size: var(--text-2xl);
    }

    .gallery-section {
        padding: var(--space-12) 0;
    }

    .milestone-timeline {
        --milestone-year-width: 0px;
        --milestone-rail-gap: 24px;
        gap: var(--space-12);
    }

    .milestone-timeline::before {
        left: 12px;
    }

    .milestone-item {
        grid-template-columns: 24px 1fr;
        column-gap: var(--space-6);
    }

    .milestone-item::before {
        left: 7px;
        top: 14px;
    }

    .milestone-year {
        grid-column: 2 / -1;
        margin-top: 0;
        font-size: var(--text-2xl);
    }

    .milestone-card {
        grid-column: 2 / -1;
        flex-direction: column;
        gap: var(--space-4);
    }

    .milestone-image {
        width: 100%;
        max-width: 240px;
    }

    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        font-size: .9rem;
    }

    .footer-links span {
        display: none;
    }

    .footer-copyright {
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .dropdown-toggle.show {
        position: relative;
        padding: 12px 0;
    }

    /* Contact Page */
    .contact-company-name {
        font-size: var(--text-3xl);
    }

    .contact-subtitle {
        font-size: var(--text-lg);
    }

    .contact-content-section {
        padding: var(--space-16) 0;
    }

    .footer-column-arrow {
        display: none;
    }

    .show-mobile {
        display: block !important;
    }

    .portfolio-row-section .mb-4 {
        margin-bottom: 0.5rem !important;
    }

    .btn-arrow.mt-4 {
        margin-top: 0 !important;
    }

    .btn-arrow-detail-wrapper {
        display: flex;
        justify-content: end;
        margin-bottom: 2rem;
    }

    /* Awards Page */
    .awards-section {
        padding: var(--space-16) 0;
    }

    .award-img {
        max-width: 180px;
        height: 160px;
    }
}

/* ==========================================================================
   8. Small Mobile Styles (max-width: 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .hero-title-wrapper {
        padding: 0 15px;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .stat-item {
        margin-bottom: var(--space-8);
    }

    .stat-value {
        font-size: var(--text-5xl);
    }

    .testimonial-section {
        padding: var(--space-16) var(--space-10)
    }

    .testimonial-quote {
        font-size: 1.5rem;
        margin-bottom: var(--space-8);
        font-weight: 600;
        line-height: 36px;
    }

    .author-name {
        font-size: var(--text-lg);
    }

    .author-title {
        font-size: var(--text-sm);
    }

    .testimonial-link-wrapper {
        margin-top: var(--space-8);
        text-align: left;
    }

    .project-link-wrapper {
        margin-top: var(--space-6);
    }

    .testimonial-link {
        font-size: var(--text-sm);
    }

    .portfolio-label {
        font-size: var(--text-2xl);
        font-weight: 400;
    }
}

/* ==========================================================================
   9. Custom Mobile Menu
   ========================================================================== */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    padding: 0;
    cursor: pointer;
    z-index: calc(var(--z-modal) + 1);
    position: relative;
    border: none;
    background: transparent;
}

.ct-navbar-toggler {
    background-color: transparent;
    outline: none;
    border: 1px solid black;
    padding: 1rem;
    display: none;
}

.navbar-toggler-icon {
    width: 1.2rem;
    height: 1.2rem;
}

@media (max-width: 991.98px) {
    .nav-toggle-label {
        display: block;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--color-light);
        height: 2px;
        width: 24px;
        position: relative;
        transition: all var(--transition-base);
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .ct-navbar-toggler {
        display: inline-block;
    }

    .nav-toggle-label span::before {
        top: -8px;
    }

    .nav-toggle-label span::after {
        top: 8px;
    }

    .navbar.scrolled .nav-toggle-label span,
    .navbar.scrolled .nav-toggle-label span::before,
    .navbar.scrolled .nav-toggle-label span::after {
        background: var(--color-dark);
    }

    .nav-toggle:checked~.nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked~.nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
        background: var(--color-light);
    }

    .nav-toggle:checked~.nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
        background: var(--color-light);
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(26, 35, 50, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: var(--z-modal);
        height: 100vh;
        overflow-y: auto;
    }

    .nav-toggle:checked~.nav-menu {
        transform: translateX(0);
    }

    .nav-menu .navbar-nav {
        width: 100%;
        text-align: center;
        flex-direction: column;
        gap: var(--space-4);
    }

    .nav-menu .nav-item {
        width: 100%;
    }

    .nav-menu .dropdown-menu {
        background: transparent;
        border: none;
        text-align: center;
        position: static;
        display: none;
        padding: 0;
        margin-top: var(--space-2);
    }

    .nav-menu .dropdown-menu.show {
        display: block;
        animation: fadeInUp var(--transition-base);
    }

    .nav-menu .nav-link {
        font-size: var(--text-xl);
        padding: var(--space-3) 0;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-nav .dropdown-menu.show {
        position: relative;
    }

    /* Scrolled state text colors */
    .navbar.scrolled .nav-menu .nav-link,
    .navbar.scrolled .nav-menu .dropdown-item {
        color: var(--color-text-light);
    }

    .navbar.scrolled .nav-menu .nav-link:hover,
    .navbar.scrolled .nav-menu .dropdown-item:hover {
        color: var(--color-accent);
    }

    #nav-toggle:checked~.nav-toggle-label span::before,
    #nav-toggle:checked~.nav-toggle-label span::after {
        background: var(--color-light);
    }
}

@keyframes mobileNavItemIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition-property: height, visibility;
        transition-duration: .35s;
    }

    .navbar-collapse.show .nav-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.milestone-section {
    padding: 5rem 0;
    overflow-x: hidden;
}

.timeline-year {
    font-size: 2.5rem;
    color: #e0e0e0;
    /* Inactive color */
    line-height: 1;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: right;
    /* Default align right against the dot */
}

.timeline-year.active {
    color: #cc0000;
    /* Active Red */
}

.timeline-content .row {
    padding: 3rem;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    /* Use white center if ring style, or solid */
    /* Let's make it consistent: filled dot for inactive, solid red for active */
    background-color: #e0e0e0;
    border-radius: 50%;
    z-index: 2;
    margin-top: 0;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    /* Small gap simulation if on top of line */
}

.timeline-dot.active {
    background-color: #cc0000;
    border-color: #fff;
    box-shadow: 0 0 0 1px #cc0000;
    /* Outer ring for emphasis */
}

/* Vertical Line */
/* We create the line on the column wrapper to handle responsive grid changes */
.timeline-item .col-lg-1::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    /* Perfectly center 2px line */
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* 
Logic for connected lines:
- The line runs top to bottom on every item.
- We rely on the column stretching to fill height.
- We move padding inside the row to ensure stretch.
*/

.timeline-item {
    position: relative;
    padding-bottom: 0;
    /* Remove wrapper padding to avoid gaps */
}

.timeline-item>.row {
    align-items: stretch;
    /* Ensure cols stretch */
}

.timeline-item .col-lg-2,
.timeline-item .col-lg-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-item .col-lg-1 {
    align-items: center;
}

.timeline-item .col-lg-2 {
    align-items: flex-end;
}

/* Last Item Line Cap */
.timeline-item:last-child .col-lg-1::before {
    top: 0;
    height: 50%;
}

/* First Item Line Cap */
/* Start the line at the dot level to avoid protruding top */
.timeline-item:first-child .col-lg-1::before {
    top: 22px;
    /* 15px margin + 7px half dot ~ center */
    /* Wait, if it connects to nothing above, it should start at dot center. */
    /* Dot margin-top: 15px. height: 14px. Center: 15 + 7 = 22px. */
    top: 22px;
}

/* Last Item Line Cap */
/* Removed to allow line to extend */
/* .timeline-item:last-child .col-lg-1::before {
    bottom: auto;
    height: 22px;
} */

.timeline-date {
    font-weight: 700;
    color: #8c8c8c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-item:first-child .timeline-date {
    color: #555;
    /* Darker for active */
}

.timeline-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-image {
    transition: filter 0.3s ease;
    border-radius: 2px;
    width: 100%;
}

.timeline-image.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
}

.about-section {
    padding: 3rem 0;
}

.about-text {
    line-height: 32px;
    text-align: justify
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .timeline-year {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-item .col-12 {
        padding-left: 2rem;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.playfair-font {
    font-family: 'Playfair Display', serif;
}

/* Scroll Indicator */
.scroll-indicator-wrapper {
    display: inline-block;
    cursor: pointer;
}

.scroll-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #999;
    transition: all 0.3s ease;
}

.scroll-indicator-wrapper:hover .scroll-circle {
    border-color: #333;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-year {
        font-size: 1.8rem;
        text-align: left !important;
        margin-bottom: 0.5rem;
    }

    .timeline-item .col-12 {
        padding-left: 2rem;
    }

    /* Adjust the line and dot for mobile if columns stack */
    /* If they stack, the dot column becomes a row. 
       We might need to hide the vertical line or adjust layout.
       Bootstrap 'col-md-1' means it stays side-by-side on >=768px.
       Below that, it stacks.
    */
}

/* ==========================================================================
   About Section (Corporate Profile)
   ========================================================================== */
.about-section {
    background-color: #F0EEF0;
    padding: var(--space-20) 0;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.about-image-wrapper img {
    display: block;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.building-pin {
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 40px;
    height: 40px;
    background-color: #317ce4;
    /* Blue matching the design */
    border-radius: 50% 50% 5px 50%;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.building-pin:hover {
    transform: rotate(45deg) scale(1.1);
}

.building-pin span {
    transform: rotate(-45deg);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2px;
    margin-right: 2px;
}

.about-content {
    position: relative;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #555;
    line-height: 2;
    margin-bottom: 0;
    text-align: justify;
}

/* Helper for section padding if not defined */
.section-padding {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
}

/* ==========================================================================
   Board of Directors
   ========================================================================== */
.board-directors-section {
    padding-bottom: var(--space-20);
    padding-top: var(--space-10);
}

.custom-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    border-radius: 0;
}

.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}

/* Accordion Header (Button) */
.custom-accordion .accordion-button {
    background-color: transparent;
    box-shadow: none;
    padding: 30px 0;
    color: var(--color-primary);
    font-weight: normal;
    transition: all 0.3s ease;
}

/* Remove default focus ring and background */
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    background-color: transparent;
}

/* Custom Icon using ::after */
.custom-accordion .accordion-button::after {
    background-image: none !important;
    font-family: 'bootstrap-icons';
    content: "\F138";
    /* bi-arrow-right */
    font-size: 1.5rem;
    font-weight: 300;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    color: #999;
    transition: all 0.3s ease;
    transform: none !important;
    margin-left: 20px;
    flex-shrink: 0;
}

.custom-accordion .accordion-button:hover::after {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Expanded State for Button */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 30px 40px;
    border-radius: 12px 12px 0 0;
    margin-top: 20px;
    /* Create visual separation */
    box-shadow: 0 -10px 0 10px white;
    /* Hack to cover top border overlap if needed, or just relying on margin */
}

/* Hide the border-bottom of the item (via header covering) if needed, 
   but since we added margin-top to the button, the item's border is visible above it.
   Ideally we want to hide the border-bottom of the *element above it*. 
   This is hard with CSS alone. 
   Alternative: Put the border on the button itself when collapsed.
*/

.custom-accordion .accordion-item {
    border-bottom: none;
}

.custom-accordion .accordion-button.collapsed {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "\F148";
    /* bi-arrow-up */
    color: #fff;
    border-color: #fff;
}

/* Text Styles */
.director-header-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.director-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.director-role {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-secondary);
    transition: color 0.3s;
}

.custom-accordion .accordion-button:not(.collapsed) .director-role {
    color: rgba(255, 255, 255, 0.9);
}

/* Expanded Content Body */
.director-body {
    background-color: var(--color-secondary);
    padding: 0 40px 40px 40px;
    border-radius: 0 0 12px 12px;
}

.director-details-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    color: var(--color-text);
}

/* Detail Content Styles */
.detail-group {
    margin-bottom: 30px;
}

.detail-group:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-text {
    font-family: var(--font-body);
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.detail-sublabel {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #444;
    font-style: italic;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.detail-list li {
    font-family: var(--font-body);
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .director-name {
        font-size: 1.5rem;
    }

    .custom-accordion .accordion-button:not(.collapsed) {
        padding: 20px 20px;
    }

    .director-body {
        padding: 0 20px 20px 20px;
    }

    .director-details-card {
        padding: 20px;
    }

    .custom-accordion .accordion-button {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .director-name {
        font-size: 1.3rem;
    }

    .custom-accordion .accordion-button::after {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-left: 10px;
    }
}

/* 1. Grid Container */
.timeline-grid {
    display: grid;
    /* Desktop Layout (Based on Bootstrap 12-column: 2 | 1 | 9) */
    grid-template-columns: 16.6666% 8.3333% 75%;
    gap: 0;
    grid-template-rows: auto;
    grid-template-areas: "year divider content";
    margin-bottom: 0;
    /* Handled by padding in styles */
    position: relative;
    width: 100%;
}

.timeline-year {
    transition: transform 0.4s ease, color 0.4s ease;
    transform-origin: center right;
    display: inline-block;
    /* Required for transform */
}

.timeline-year.active {
    color: #cc0000;
    transform: scale(1.3);
    font-weight: 600;
    /* Optional: make it bolder */
}

.timeline-content {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center left;
}

.timeline-content.active {
    transform: scale(1.05);
}

/* 2. Grid Areas */
.grid-year {
    grid-area: year;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-block: 2.5rem;
    /* Symmetric padding for true centering */
}

.grid-divider {
    grid-area: divider;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-block: 2.5rem;
    /* Symmetric padding for true centering */
}

.grid-content {
    grid-area: content;
    padding-block: 2.5rem;
    /* Spacing between items */
    padding-left: 1rem;
}

/* 3. Divider Elements (Dot & Line) */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-dot {
    position: relative;
    z-index: 2;
    margin-top: 0;
    /* Visual alignment with Year/Content top */
    /* Styles from style.css should apply (width/height/border) */
    width: 14px;
    height: 14px;
    background-color: #e0e0e0;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-dot.active {
    background-color: #cc0000 !important;
    /* Force override */
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.2);
    transform: scale(1.5);
}

/* Animated Active Line */
.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #cc0000;
    transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-line.active::after {
    height: 100%;
}

/* Ensure the last item can reach the center of the viewport */
.timeline-item:last-child {
    margin-bottom: 40vh;
}

/* 4. Fix First/Last Line Caps */
/* 4. Fix First/Last Line Caps */
/* 4. Fix First/Last Line Caps */
.timeline-item:first-child .timeline-line {
    top: 50%;
    /* Start at exact vertical center */
}

.timeline-item:last-child .timeline-line {
    bottom: auto;
    height: 50%;
    /* End at exact vertical center */
}

/* ==========================================================================
   Mobile / Tablet Layout (< 992px)
   ========================================================================== */
@media (max-width: 991px) {
    .timeline-grid {
        /* Mobile Layout: Shifted Left for more content space */
        /* Columns: [Year Fixed 80px] [Divider 40px] [Content 1fr] */
        /* FIXED WIDTH for Year is required because each row is an independent Grid. 
           If use min-content, varying year widths (e.g. 1 vs 100) would misalign the Divider line. */
        grid-template-columns: 80px 40px 1fr;
        grid-template-areas: "year divider content";
        grid-template-rows: auto;
    }

    .grid-year {
        text-align: right;
        padding-right: 0;
        white-space: nowrap;
        /* Align self start removed to allow flex center from desktop styles to persist */
    }

    .grid-divider {
        /* Dot is centered horizontally by flex in style.css, here we ensure it sits right */
        justify-content: center;
    }

    .grid-content {
        padding-left: 10px;
        padding-block: 2.5rem;
    }

    .timeline-year {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .timeline-dot {
        /* Center dot relative to the first line of text (Year height is ~28px) */
        margin-top: 0;
        width: 14px;
        height: 14px;
    }

    /* Fix Lines */
    .timeline-item:first-child .timeline-line {
        top: 50%;
    }

    .timeline-item:last-child .timeline-line {
        height: 50%;
    }

    /* Content Typography adjustment for narrow columns */
    .timeline-date {
        font-size: 1rem;
    }

    .timeline-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ==========================================================================
   Small Mobile Layout (< 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .timeline-grid {
        /* On very small screens, prioritize content width */
        /* Reduce Year width to match smaller font */
        grid-template-columns: 60px 30px 1fr;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-dot {
        margin-top: 0;
        width: 12px;
        height: 12px;
    }

    .timeline-item:first-child .timeline-line {
        top: 50%;
    }

    .timeline-item:last-child .timeline-line {
        height: 50%;
    }
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggering for stats and portfolio */
.stats-grid .stat-row:nth-child(1) { transition-delay: 0.1s; }
.stats-grid .stat-row:nth-child(2) { transition-delay: 0.2s; }
.stats-grid .stat-row:nth-child(3) { transition-delay: 0.3s; }
.stats-grid .stat-row:nth-child(4) { transition-delay: 0.4s; }

.portfolio-section .col-lg-4:nth-child(1) .portfolio-item { transition-delay: 0.1s; }
.portfolio-section .col-lg-4:nth-child(2) .portfolio-item { transition-delay: 0.2s; }
.portfolio-section .col-lg-4:nth-child(3) .portfolio-item { transition-delay: 0.3s; }

.ui-datepicker .ui-datepicker-header {
    background: #e85959;
}