/* ===== CSS Variables ===== */
:root {
    --navy: #1a2744;
    --navy-light: #2a3f5f;
    --gold: #c9a84c;
    --gold-light: #e6c96e;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --text: #2d3436;
    --text-light: #636e72;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--navy);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 5px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23c9a84c" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== Page Banner ===== */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features {
    padding: 80px 0;
    background-color: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ===== About Preview ===== */
.about-preview {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 10px;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
}

/* ===== Trust Structure ===== */
.trust-structure {
    padding: 80px 0;
    background-color: var(--off-white);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.structure-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}

.structure-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

/* ===== Org Chart ===== */
.org-chart {
    max-width: 900px;
    margin: 0 auto;
}

.org-root {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.org-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.org-line-down {
    width: 2px;
    height: 30px;
    background-color: var(--gold);
}

.org-line-horizontal {
    width: 50%;
    height: 2px;
    background-color: var(--gold);
    position: relative;
}

.org-line-horizontal::before,
.org-line-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 30px;
    background-color: var(--gold);
}

.org-line-horizontal::before {
    left: 0;
}

.org-line-horizontal::after {
    right: 0;
}

.org-children {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.org-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.org-trust {
    border-top: 4px solid var(--gold);
    max-width: 500px;
}

.org-company {
    border-top: 4px solid var(--navy-light);
}

.org-badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.org-company .org-badge {
    background-color: var(--navy);
    color: var(--white);
}

.org-card h3 {
    margin-bottom: 8px;
}

.org-reg {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.org-card p:last-child {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.governance-note {
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.governance-note h3 {
    margin-bottom: 10px;
}

.governance-note p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .org-children {
        grid-template-columns: 1fr;
    }

    .org-line-horizontal {
        width: 2px;
        height: 30px;
    }

    .org-line-horizontal::before,
    .org-line-horizontal::after {
        display: none;
    }
}

/* ===== Team Section ===== */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow);
}

.team-photo {
    margin-bottom: 20px;
}

.team-role {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ===== Properties ===== */
.properties-section {
    padding: 80px 0;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gold);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    margin-bottom: 8px;
}

.property-location {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Services ===== */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-list {
    margin-top: 15px;
}

.service-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ===== Contact ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper h2 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.contact-info-card {
    background: var(--off-white);
    padding: 35px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.contact-info-card h3 {
    margin-bottom: 25px;
    color: var(--navy);
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
}

.contact-detail p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.map-placeholder {
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
}

.form-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--gray-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3,
.footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Placeholder Images ===== */
.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, var(--gray-light) 0%, #ddd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
}

.placeholder-image.small {
    min-height: 150px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--navy);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid,
    .structure-grid,
    .properties-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.5rem; }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-banner {
        padding: 120px 0 40px;
    }
}