/* Universal reset to ensure padding and borders do not affect element width */
* {
    box-sizing: border-box;
}

/* Load custom heading fonts */
@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/JosefinSans/josefinSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../Assets/fonts/josefinSans/JosefinSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../Assets/fonts/josefinSans/JosefinSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("../Assets/fonts/josefinSans/JosefinSans-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

/* Base styles for the entire website */
body {
    font-family: "DM Sans", sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4 {
     font-family: 'Josefin Sans';
}

/* Navigation bar that stays fixed at the top of the screen */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 64px;
    background: #FAFAF8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Standard sizing for the main logo */
.logoContainer img {
    height: 45px;
    width: auto;
    display: block;
}

/* Larger sizing for the alternative logo used in the footer */
.altLogoContainer img {
    height: 100px;
    width: auto;
    display: block;
}

/* Horizontal list layout for navigation links */
nav ul {
    display: flex;
    list-style: none;
    gap: 40px; 
}

nav ul li a {
    text-decoration: none;
    color: #5c6e61;
    font-weight: 360;
}

/* Highlight style for the current active page link */
nav ul li a.active {
    color: #2F6F3E;
    font-weight: 600;
}

/* Centralized content wrapper used across all pages */
.contentArea {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px; 
}

/* Horizontal alignment for call-to-action buttons */
.ctaWrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Dark themed primary action button */
.btnPrimary {
    background: #1F2933; 
    color: #FAFAF8;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
}

/* Transparent themed secondary action button */
.btnSecondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #FAFAF8;
    padding: 14px 28px;
    border: 1px solid #FAFAF8;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

/* Hover effect for buttons to provide visual feedback */
.btnPrimary:hover { 
    transform: scale(1.05); 
    background: #333; 
}

.btnSecondary:hover { 
    background: #FAFAF8; 
    color: #1F2933; 
}

/* Auto-responsive grid system for cards and team members */


/* Styling for content boxes with a lift-up effect on hover */
.previewBox {
    padding: 40px;
    background: #FAFAF8;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.previewBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Global footer styling */
footer {
    background: #FAFAF8;
    padding: 60px 5% 20px;
    border-top: 1px solid #eee;
}

/* Layout for footer columns */
.footerGrid {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 50px;
}

.footerBrand {
    flex: 2; 
}

.footerBrand h2 {
    color: #2F6F3E;
    margin-bottom: 15px;
}

.footerLinks {
    margin-right: 40px;
}

.footerLinks h4 {
    margin-bottom: 20px;
    font-size: 16px; 
    color: #1F2933;
}

.footerLinks ul {
    list-style: none;
    padding: 0;
}

.footerLinks li {
    margin-bottom: 10px;
}

.footerLinks a {
    text-decoration: none;
    color: #666;
    font-size: 14.4px; 
    transition: 0.3s;
}


/* Bottom copyright bar */
.footerBottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 13.6px; 
}