/* =================================
   CONSULTING SITE STYLES
   ================================= */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =================================
   NAVIGATION
   ================================= */
nav {
    border-bottom: 1px solid #e0e0e0;
    padding: 2rem 0;
    background: #ffffff;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem; /* Space between nav items */
}

nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

nav a:hover {
    color: #3db13b; /* Green hover for nav links */
}

nav a.active {
    color: #3db13b; /* Green for active page */
    font-weight: 500;
}

/* =================================
   LAYOUT & CONTAINERS
   ================================= */

/* Main content wrapper */
main {
    flex: 1; /* Pushes footer to bottom */
}

.container {
    max-width: 800px; /* Maximum width of content */
    margin: 0 auto; /* Centers the container */
    padding: 4rem 2rem; /* Top/bottom: 4rem, Left/right: 2rem */
}

.page-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #3db13b; /* Green underline */
}

/* Add to styles.css */

/* =================================
   Quotes
   ================================= */

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #3db13b;
    background: #f8faf8;
    font-style: italic;
    color: #555;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9rem;
    color: #999;
}

blockquote cite:before {
    content: "— ";
}

/* =================================
   Epilogue-esque bits
   ================================= */

.epilogue {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
}

.epilogue h2 {
    color: #3db13b;
    margin-top: 0;
    font-size: 1.2rem;
}


/* =================================
   HOME PAGE
   ================================= */
.intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

/* =================================
   SERVICES GRID
   TO CHANGE COLUMNS: Change "repeat(2, 1fr)" to "repeat(3, 1fr)" for 3 columns
   TO CHANGE SPACING: Adjust "gap: 1px"
   TO CHANGE GRID LINE COLOR: Change "background: #e0e0e0"
   ================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 1px; /* Spacing between grid items (creates border effect) */
    background: #e0e0e0; /* Color of grid lines */
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.service-item {
    background: #ffffff;
    padding: 2.5rem 2rem; /* Adjust padding inside each grid item */
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    transition: background 0.2s;
}

.service-item:hover {
    background: #f8faf8; /* Very subtle green tint on hover */
   /* border-left: 3px solid #1e0d8c; */ /* Blue accent bar on hover */
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #3db13b; /* Green for service titles */
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =================================
   SERVICE DETAIL PAGES
   ================================= */
.back-link {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.back-link:hover {
    border-bottom-color: #1e0d8c; /* Blue underline on hover */
    color: #1e0d8c;
}

.service-detail {
    margin-bottom: 3rem;
}

.service-detail h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #3db13b; /* Green for section headings */
}

.service-detail p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-detail li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.2rem;
    position: relative;
}

.service-detail li:before {
    /*content: "—"; */
    position: absolute;
    left: 0;
    color: #1e0d8c; /* Blue dash for list items */
}

section:target {
   /* background: #f5f5f5; */
   /* padding: 5rem; */
   /* border-left: 3px solid #3db13b; */
    margin-top: 5rem;
    margin-bottom: 5rem;
}

section:not(:target) > p {
  display: none;
}

/* =================================
   ABOUT PAGE
   ================================= */
.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #3db13b; /* Green for section headings */
}

.about-section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* =================================
   CONTACT FORM
   ================================= */
.contact-intro {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

/* Text inputs, textarea, and select dropdowns */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3db13b; /* Green border when focused */
}

textarea {
    min-height: 150px;
    resize: vertical; /* Allows vertical resizing only */
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Submit button */
button[type="submit"] {
    background: #3db13b; /* Green button */
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}

button[type="submit"]:hover {
    background: #1e0d8c; /* Blue on hover */
}

/* =================================
   FOOTER
   ================================= */
footer {
    border-top: 1px solid #e0e0e0;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

footer a {
    color: #3db13b;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom-color: #3db13b;
}

/* =================================
   MOBILE RESPONSIVE STYLES
   Applied when screen width is 768px or less
   ================================= */
@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap; /* Allows nav items to wrap on small screens */
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
    
    .container {
        padding: 3rem 1.5rem; /* Tighter padding on mobile */
    }
}

/* =================================
   COLOR CUSTOMIZATION GUIDE
   
   To change the overall look, find and replace these colors:
   
   #1a1a1a = Main dark color (text, buttons)
   #333, #555, #666, #999 = Various gray shades for text
   #ffffff = White (backgrounds)
   #fafafa = Light gray (hover states)
   #e0e0e0, #d0d0d0 = Border colors
   
   Use a color picker tool to get hex codes for your brand colors
   ================================= */