/* css/global.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Lato:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --vine-green: #2E5948;
  --uptown-navy: #1B3B5F;
  --golden-hour: #C5A065;
  --clean-slate: #F4F6F8;
  --white: #FFFFFF;
  --charcoal: #333333;
  --border-light: #e0e0e0;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--clean-slate);
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4 { 
  font-family: 'Montserrat', sans-serif; 
  margin-top: 0; 
}

a { 
  text-decoration: none; 
  transition: 0.3s; 
}

/* Updated for Full Screen / Responsive Design */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0 0 0;
}

/* --- Navigation Button --- */
.back-nav { margin-bottom: 20px; }
.btn-back {
  text-decoration: none;
  color: var(--uptown-navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}
.btn-back i { margin-right: 8px; font-size: 0.9rem; }
.btn-back:hover { color: var(--golden-hour); transform: translateX(-3px); }

/* --- Page Headers --- */
.header-section {
  text-align: center;
  margin-bottom: 40px;
}
.header-section h1 {
  color: var(--vine-green);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.header-section p {
  color: var(--uptown-navy);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Shared Grid & Cards --- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--vine-green);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box; /* <--- This prevents the padding from expanding the card */
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-top-color: var(--golden-hour);
}
.card h3 { color: var(--uptown-navy); margin-bottom: 10px; }

/* --- FOOTER STYLES (Slimmed Down) --- */
.footer-container {
  background-color: var(--uptown-navy);
  font-family: 'Lato', sans-serif;
  color: var(--white);
  padding: 25px 5% 15px 5%; /* Reduced top/bottom padding */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
  width: 92%;
  max-width: 1400px; 
  margin: 40px auto 20px auto;
  border-radius: var(--radius);
}
.footer-container h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--golden-hour);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 10px; /* Tighter spacing */
  font-size: 14px;
  border-bottom: 1px solid var(--vine-green);
  padding-bottom: 5px;
  display: inline-block;
}
.footer-container p, .footer-container a {
  font-size: 13px; /* Slightly smaller text */
  line-height: 1.4; /* Tighter line height */
  color: var(--clean-slate);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 6px; /* Tighter spacing between links */
  display: block;
}
.footer-container p strong {
  display: inline-block;
  margin-top: 4px;
}
.footer-container a:hover { color: var(--golden-hour); border-bottom: none; }
.footer-container .col { 
  flex: 1; 
  min-width: 200px; 
  margin-bottom: 15px; 
  padding-right: 20px; 
}
.footer-container .col ul { list-style: none; padding: 0; margin: 0; }
.footer-container .col li { margin-bottom: 4px; }
.portal-btn {
  background-color: var(--vine-green);
  color: var(--white) !important;
  padding: 8px 16px; /* Slimmer button */
  border-radius: 4px;
  display: inline-block !important;
  font-weight: bold;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
}
.portal-btn:hover { background-color: var(--golden-hour); color: var(--uptown-navy) !important; }
.copyright {
  width: 100%;
  text-align: center;
  margin-top: 15px; /* Reduced from 30px */
  padding-top: 15px; /* Reduced from 20px */
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #aaa;
}