/* ==================================
   VARIABLES & DESIGN TOKENS
   ================================== */
:root {
    /* Colors matches provided PDF & Logo */
    --primary: #3d261d;
    --primary-light: #523428;
    --primary-dark: #2a1a14;
    --secondary: #d4b58e;
    --secondary-light: #e6con;
    --secondary-dark: #b8976b;
    --gold: #d4b58e;
    
    /* Backgrounds */
    --bg-main: #fcfbf9;
    --bg-surface: #ffffff;
    --bg-dark: #3d261d;
    
    /* Text Colors */
    --text-main: #4a4a4a;
    --text-dark: #2a1a14;
    --text-light: #ffffff;
    --text-muted: #888888;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Material Elevations (Shadows) */
    --elevation-1: 0 2px 4px rgba(61, 38, 29, 0.08);
    --elevation-2: 0 4px 8px rgba(61, 38, 29, 0.12);
    --elevation-3: 0 8px 16px rgba(61, 38, 29, 0.15);
    --elevation-hover: 0 12px 24px rgba(61, 38, 29, 0.2);
    
    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================================
   RESET & BASE STYLES
   ================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--trans-fast);
}

ul {
    list-style: none;
}

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

/* ==================================
   UTILITIES
   ================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-gold {
    color: var(--gold) !important;
}

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

.bg-surface {
    background-color: var(--bg-surface);
}

.italic {
    font-style: italic;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
}

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

/* Typography styles */
.subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-title span {
    color: var(--gold);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 48px auto;
    color: var(--text-muted);
}

/* Material UI Components */
.material-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--elevation-1);
    transition: transform var(--trans-normal), box-shadow var(--trans-normal);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-hover);
}

.material-image {
    border-radius: var(--radius-md);
    box-shadow: var(--elevation-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--trans-fast);
    position: relative;
    overflow: hidden;
}

.btn-icon span {
    margin-right: 8px;
    font-size: 20px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light) !important;
    box-shadow: var(--elevation-1);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: var(--elevation-2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(61, 38, 29, 0.05);
}

.btn-text {
    background: transparent;
    padding: 12px 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Ripple effect mechanics */
.ripple {
    position: relative;
    overflow: hidden;
}
.ripple-ink {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
}
.btn-outline .ripple-ink {
    background-color: rgba(61, 38, 29, 0.1);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================================
   NAVIGATION
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--elevation-1);
    transition: padding var(--trans-normal);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link.btn-primary {
    padding: 10px 24px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* ==================================
   HERO SECTION
   ================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px; /* Offset for nav */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 32px;
}

.hero-text-box {
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    padding: 32px 64px;
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-3);
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(40px);
    z-index: 10;
    position: relative;
}

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

.stat-item h2 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--gold);
    opacity: 0.3;
}

/* ==================================
   QUOTE SECTION
   ================================== */
.quote-section {
    padding: 120px 0 60px 0;
    text-align: center;
}

.grand-quote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
}

.grand-quote::before {
    content: '"';
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: -20px;
    font-family: var(--font-heading);
}

/* ==================================
   SERVICES SECTION
   ================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    border-top: 4px solid var(--gold);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.service-highlight {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.service-desc {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 1px;
    background-color: var(--gold);
}

/* ==================================
   ABOUT & VALUES SECTION
   ================================== */
.about-content {
    flex: 1 1 400px;
    padding-right: 48px;
}

.about-desc {
    margin-top: 24px;
    font-size: 1.1rem;
}

.values-grid {
    flex: 1 1 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.full-width {
    grid-column: 1 / -1;
    margin-bottom: -16px;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==================================
   FOUNDER SECTION
   ================================== */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}

.founder-card {
    text-align: center;
    background: var(--bg-main);
    border: 1px solid rgba(212, 181, 142, 0.3);
}

.founder-lettermark {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1;
}

.founder-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.founder-role {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.founder-creds p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.founder-creds p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.founder-bio .section-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 32px;
}

.bio-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.founder-img {
    width: 100%;
    margin-top: 32px;
}

/* ==================================
   PUBLICATIONS SECTION (MATERIAL)
   ================================== */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.publication-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 32px;
    border-top: 4px solid var(--primary);
}

.pub-badge {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.pub-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.pub-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.pub-actions {
    margin-top: auto;
}

/* ==================================
   CLIENTS/SECTORS SECTION
   ================================== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 48px;
}

.sector-item {
    padding: 32px 16px;
    background: transparent;
    border: 1px solid rgba(212, 181, 142, 0.3);
    border-radius: var(--radius-sm);
    transition: var(--trans-normal);
}

.sector-item:hover {
    background: var(--bg-main);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--elevation-1);
}

.sector-icon {
    font-size: 40px !important;
    margin-bottom: 16px;
}

.sector-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sector-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================================
   FOOTER CTA
   ================================== */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    overflow: hidden;
}

.footer-top {
    padding: 100px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: center;
}

.footer-cta {
    flex: 1 1 400px;
}

.cta-title {
    font-size: 4rem;
    color: var(--text-light);
}

.footer-cta-text {
    flex: 1 1 400px;
}

.footer-cta-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.cta-actions .btn-primary {
    background-color: var(--gold);
    color: var(--primary) !important;
}

.cta-actions .btn-primary:hover {
    background-color: #e8cca6;
}

.footer-bottom {
    padding: 48px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1); /* makes the logo white if it is transparent png */
    opacity: 0.9;
}

.contact-details {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
    opacity: 0.8;
    flex-wrap: wrap;
}

.contact-details a:hover {
    color: var(--gold);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ==================================
   ANIMATIONS & RESPONSIVE
   ================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.in-view {
    opacity: 1 !important;
    transform: translate(0) !important;
}

@media (max-width: 992px) {
    .hero-title { font-size: 4rem; }
    .founder-grid { grid-template-columns: 1fr; }
    .hero-stats-card { flex-direction: column; gap: 32px; text-align: center; }
    .stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        transition: var(--trans-normal);
    }
    .nav-links.active { left: 0; }
    .mobile-menu-toggle { display: block; }
    .hero-title { font-size: 3rem; }
    .cta-title { font-size: 2.5rem; }
    .flex-row { flex-direction: column; }
    .footer-top { flex-direction: column; text-align: left; }
    .footer-info { flex-direction: column; align-items: flex-start; gap: 24px; }
    .contact-details { flex-direction: column; gap: 12px; }
}
