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

html, body {
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

button, input, select, textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-light-beige: #F5F5ED;   
    --bg-dark-beige: #E6E6DA;    
    --cobblestone-grey: #8A8D8F; 
    --cobblestone-dark: #636668;
    --black: #111111;            
    --text-color: #333333;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--bg-light-beige);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

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

ul {
    list-style: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NavBar */
.navbar {
    background: var(--bg-dark-beige);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .main-menu ul {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    color: var(--black);
}

.navbar ul li a:hover {
    color: var(--cobblestone-grey);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

/* Page Header */
.page-header {
    padding: 80px 20px 40px;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Balance Sheets Layout */
.balance-sheets {
    padding: 40px 0 100px;
}

.balance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.balance-card {
    background: transparent;
    padding: 20px;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--black);
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

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

.balance-card i.fa-file-pdf {
    font-size: 3rem; 
    color: var(--cobblestone-grey);
    margin-bottom: 15px;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.balance-card:hover i.fa-file-pdf {
    color: var(--black);
    transform: scale(1.05);
}

.balance-card h3 {
    margin: 0;
    transition: color var(--transition-speed) ease;
}

.balance-card:hover h3 {
    color: var(--cobblestone-dark);
}

.balance-card .text-sm {
    color: var(--cobblestone-grey);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--black);
    color: #ccc;
    padding: 60px 0;
    margin-top: auto; 
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer h4 { 
    color: #fff;
    margin-bottom: 20px; 
    font-size: 1.2rem; 
}

.footer ul li { 
    line-height: 2.5; 
}

.footer ul li i {
    width: 20px;
    color: var(--cobblestone-grey);
    margin-right: 10px;
}

.footer a { 
    color: #ccc; 
    transition: color var(--transition-speed); 
}

.footer a:hover { 
    color: var(--bg-dark-beige); 
}

/* Utilities */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.container-sm { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.text-xxl { 
    font-size: 3.5rem; 
    line-height: 1.2; 
    font-weight: 700; 
    margin: 20px 0; 
    color: var(--black); 
}

.text-xl { font-size: 2.2rem; font-weight: 600; margin: 20px 0; color: var(--black); }
.text-lg { font-size: 1.5rem; font-weight: 400; margin: 15px 0; }
.text-md { font-size: 1.2rem; margin: 15px 0; }
.text-sm { font-size: 0.9rem; margin: 10px 0; }
.text-center { text-align: center; }
.text-cobblestone { color: var(--cobblestone-grey); }

/* Mobile Menu */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line { 
    width: 30px; 
    height: 3px; 
    background: var(--black); 
    margin: 6px 0; 
    transition: 0.3s; 
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    z-index: 1000;
    background: var(--bg-dark-beige);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding-top: 80px;
}

.mobile-menu.active {
     right: 0;
}

.mobile-menu ul li {
     margin: 20px 30px; 
     border-bottom: 1px solid rgba(0,0,0,0.1); 
     padding-bottom: 10px;
}

.mobile-menu ul li a {
    color: var(--black);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Media Queries */
@media (max-width: 960px) {
  .text-xxl { font-size: 2.8rem; }
  .text-xl { font-size: 1.8rem; }
}

@media(max-width: 768px) {
    .navbar .main-menu { display: none; }
    .navbar .hamburger-button { display: block; }
    
    .footer-grid { 
        text-align: center; 
    }
}

@media (max-width: 500px) {
   .text-xxl { font-size: 2.2rem; }
}