/* style.css */

/*--------------------------------------------------------------
# Root Variables
--------------------------------------------------------------*/
:root {
    /* Fonts */
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Rubik', sans-serif;

    /* Pastel Color Scheme with Neo-Brutalism Accents (Solarized Inspired) */
    --color-background: #fdf6e3;        /* Solarized Base3 - Light Cream */
    --color-background-alt: #f5efdc;    /* Slightly darker cream for sections like services, portfolio */
    --color-surface: #fffcf5;           /* Very light cream for cards - almost white */
    
    --color-text-base: #586e75;         /* Solarized Base01 - Main body text */
    --color-text-strong: #073642;       /* Solarized Base02 - Headings, important text */
    --color-text-light: #ffffff;        /* For dark backgrounds (e.g., Hero) */
    --color-text-subtle: #93a1a1;       /* Solarized Base1 - Muted text, placeholders */
    --color-text-accent: #cb4b16;       /* Solarized Orange - For links or special text */

    --color-accent1: #cb4b16;           /* Solarized Orange - Primary CTA, Neo-Brutalism touch */
    --color-accent1-hover: #b74213;     /* Darker Orange */
    --color-accent2: #2aa198;           /* Solarized Cyan - Secondary actions, highlights, icons */
    --color-accent2-hover: #249087;     /* Darker Cyan */
    --color-accent3-pastel: #b58900;    /* Solarized Yellow - for subtle highlights or icons */

    --color-border-soft: #eee8d5;       /* Solarized Base2 - Soft borders for subtle separation */
    --color-border-neo: #073642;        /* Solarized Base02 - Strong Neo-Brutalism borders */
    
    --box-shadow-soft: 0 2px 5px rgba(7, 54, 66, 0.08); /* Shadow using dark text color with low opacity */
    --box-shadow-neo: 3px 3px 0px var(--color-border-neo); /* Classic Neo-Brutalism shadow */
    --box-shadow-card: 2px 2px 0px var(--color-border-neo); /* Subtle Neo-Brutalism for cards */

    --border-radius: 0px;               /* Sharp edges for Neo-Brutalism */
    --border-radius-soft: 4px;          /* Slightly softer option for specific elements */

    --transition-main: 0.25s ease-in-out;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --section-padding-y: 4rem; /* Standard vertical padding for sections */
}

/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-base);
    background-color: var(--color-background);
    line-height: 1.7;
    font-size: 16px; 
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-strong);
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.03); /* Very subtle shadow */
}
h1, .h1 { font-size: 2.8rem; font-weight: var(--font-weight-extrabold); }
h2, .h2 { font-size: 2.2rem; }
h3, .h3 { font-size: 1.8rem; }
h4, .h4 { font-size: 1.4rem; }
h5, .h5 { font-size: 1.2rem; }
h6, .h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1, .h1 { font-size: 2.2rem; }
    h2, .h2 { font-size: 1.8rem; }
    h3, .h3 { font-size: 1.5rem; }
}

a {
    color: var(--color-accent2);
    text-decoration: none;
    transition: var(--transition-main);
}
a:hover {
    color: var(--color-accent2-hover);
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

section {
    padding: var(--section-padding-y) 0;
    overflow-x: hidden; 
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-strong);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after { /* Hand-drawn underline effect */
    content: '';
    position: absolute;
    display: block;
    width: 70px;
    height: 3px;
    background: var(--color-accent1);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) skewX(-15deg); /* Skewed for hand-drawn feel */
    border-radius: 2px; 
}

.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/*--------------------------------------------------------------
# Buttons & Forms (Global)
--------------------------------------------------------------*/
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius); 
    transition: var(--transition-main);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-width: 2px; 
    border-style: solid;
    box-shadow: var(--box-shadow-neo); 
    position: relative;
    top: 0;
    left: 0;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    box-shadow: 1px 1px 0px var(--color-border-neo); 
    top: 2px;
    left: 2px;
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    box-shadow: none;
    top: 3px;
    left: 3px;
}

.btn-primary {
    background-color: var(--color-accent1);
    border-color: var(--color-border-neo);
    color: var(--color-text-light);
}
.btn-primary:hover {
    background-color: var(--color-accent1-hover);
    border-color: var(--color-border-neo);
    color: var(--color-text-light);
}

.btn-secondary, .btn-outline-secondary {
    background-color: var(--color-surface);
    border-color: var(--color-border-neo);
    color: var(--color-text-strong);
}
.btn-secondary:hover, .btn-outline-secondary:hover {
    background-color: var(--color-background-alt);
    border-color: var(--color-border-neo);
    color: var(--color-text-strong);
}

.btn-read-more, .read-more-link {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent2);
    text-decoration: none;
    padding: 0.3rem 0; 
    border-bottom: 2px solid transparent; 
    transition: var(--transition-main);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.btn-read-more:hover, .read-more-link:hover {
    color: var(--color-accent2-hover);
    border-bottom-color: var(--color-accent2-hover);
    text-decoration: none;
}

.form-control {
    font-family: var(--font-secondary);
    background-color: var(--color-surface);
    border: 2px solid var(--color-border-soft);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--color-text-base);
    transition: var(--transition-main);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.05), var(--box-shadow-card); /* Subtle inset + neo */
}
.form-control:focus {
    border-color: var(--color-accent2);
    background-color: var(--color-surface);
    color: var(--color-text-strong);
    box-shadow: 0 0 0 0.2rem rgba(42, 161, 152, 0.25), var(--box-shadow-card); 
    outline: 0;
}
.form-label {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-strong);
    margin-bottom: 0.5rem;
}
textarea.form-control {
    min-height: 120px;
}

.form-check-input {
    border-radius: var(--border-radius-soft); 
    border: 2px solid var(--color-border-soft);
}
.form-check-input:checked {
    background-color: var(--color-accent2);
    border-color: var(--color-accent2);
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 161, 152, 0.25);
}

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.navbar.bg-light-pastel { /* Custom class for navbar bg */
    background-color: rgba(253, 246, 227, 0.85) !important; 
    backdrop-filter: blur(8px); 
    border-bottom: 2px solid var(--color-border-soft);
}
.navbar-brand {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: 1.8rem;
    color: var(--color-text-strong) !important;
}
.nav-link {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-base) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 0.8rem !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-accent1) !important;
}
.nav-link::before { 
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px; /* Position slightly below text */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent1);
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
}
.nav-link:hover::before, .nav-link.active::before {
    visibility: visible;
    width: 80%; /* Underline doesn't span full width for a softer look */
}

.navbar-toggler {
    border-color: var(--color-border-neo);
    border-width: 2px;
    border-radius: var(--border-radius);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%287, 54, 66, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*--------------------------------------------------------------
# Card Styles (Global)
--------------------------------------------------------------*/
.card {
    background-color: var(--color-surface);
    border: 2px solid var(--color-border-neo); 
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-card);
    transition: all var(--transition-main);
    height: 100%; 
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px) translateX(-1px); 
    box-shadow: 4px 4px 0px var(--color-border-neo), 0 6px 12px rgba(7, 54, 66, 0.12);
}

.card-image { 
    width: 100%;
    overflow: hidden;
    display: flex; /* For centering image if needed */
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
}
.card .card-image img, .card .image-container img { 
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 0; 
    border-bottom: 2px solid var(--color-border-neo); 
}
/* If card image is for an icon or smaller element */
.card.text-center .card-image img {
    width: auto; /* Or a fixed width for icons */
    max-width: 80px; /* Example for icon-like images */
    height: auto;
    border-bottom: none; /* Icons usually don't have a bottom border */
    margin-top: 1rem; /* Space above icon */
}


.card-content, .card-body { 
    padding: 1.5rem;
    text-align: left; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.card-title-custom { 
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-strong);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}
.card-text-custom {
    font-family: var(--font-secondary);
    color: var(--color-text-base);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; 
}

.card.text-center .card-content, 
.card.text-center .card-body {
    text-align: center;
    align-items: center; 
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    min-height: 80vh; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* The linear-gradient for darkening is applied inline in HTML via style attribute */
}
.hero-content-container { 
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-light); 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light); 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    font-weight: var(--font-weight-normal);
}
.hero-cta { 
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#services .card {
    text-align: center; 
}
#services .card-image { 
    padding-top: 1rem; 
    height: auto; 
    border-bottom: none;
}
#services .card-image img { /* Icon specific styling */
    width: 70px; 
    height: 70px; 
    object-fit: contain; 
    margin-bottom: 1rem;
}
#services .card-content, #services .card-body {
    padding: 1rem 1.5rem 1.5rem; 
}

/*--------------------------------------------------------------
# History Section (Timeline)
--------------------------------------------------------------*/
.timeline {
    position: relative;
    padding: 2rem 0;
    list-style: none;
}
.timeline::before { 
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-border-soft);
    left: 50%;
    margin-left: -1.5px; 
}
.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}
.timeline-item::after { 
    content: "";
    display: table;
    clear: both;
}
.timeline-badge {
    color: var(--color-text-light);
    width: 60px;
    height: 60px;
    line-height: 54px; /* Adjusted for border */
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    position: absolute;
    top: 10px; 
    left: 50%;
    margin-left: -30px;
    background-color: var(--color-accent2);
    z-index: 1;
    border-radius: var(--border-radius); 
    border: 2px solid var(--color-border-neo);
    box-shadow: var(--box-shadow-neo);
}
.timeline-panel {
    width: 45%; 
    float: left;
    position: relative;
    border-radius: var(--border-radius); 
    border: 2px solid var(--color-border-neo);
    background: var(--color-surface);
    box-shadow: var(--box-shadow-card);
}
.timeline-item.timeline-inverted .timeline-panel {
    float: right;
}

.timeline-panel::before {
    content: ' ';
    display: block;
    position: absolute;
    top: 26px;
    right: -13px; 
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 0 13px 13px;
    border-color: transparent transparent transparent var(--color-border-neo);
}
.timeline-panel::after { 
    content: ' ';
    display: block;
    position: absolute;
    top: 27px; /* 1px offset from border */
    right: -11px; /* 2px offset from border point */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent var(--color-surface);
}

.timeline-item.timeline-inverted .timeline-panel::before {
    left: -13px;
    right: auto;
    border-right-width: 0;
    border-left-width: 13px;
    border-color: transparent var(--color-border-neo) transparent transparent;
}
.timeline-item.timeline-inverted .timeline-panel::after {
    left: -11px;
    right: auto;
    border-right-width: 0;
    border-left-width: 12px;
    border-color: transparent var(--color-surface) transparent transparent;
}

.timeline-panel .card-header {
    background-color: var(--color-background-alt);
    border-bottom: 2px solid var(--color-border-neo);
    padding: 1rem 1.5rem;
    border-top-left-radius: 0; /* Match card radius if any */
    border-top-right-radius: 0;
}
.timeline-panel .card-header h4 {
    margin-bottom: 0;
    color: var(--color-text-strong);
}
.timeline-panel .card-body {
    padding: 1.5rem;
}
.year-badge { 
    display: block;
}
.toggle-details-btn {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px; 
    }
    .timeline-item .timeline-panel {
        width: calc(100% - 70px); /* Adjusted width */
        float: right; 
    }
    .timeline-item.timeline-inverted .timeline-panel {
        float: right;
    }
    .timeline-badge {
        left: 0; 
        margin-left: 0; /* Adjusted to be on the line */
        transform: translateX(calc(30px - 50%)); /* Center badge on the 30px line */

    }
    .timeline-panel::before,
    .timeline-item.timeline-inverted .timeline-panel::before {
        left: -13px;
        right: auto;
        border-right-width: 0;
        border-left-width: 13px;
        border-color: transparent var(--color-border-neo) transparent transparent;
    }
     .timeline-panel::after,
     .timeline-item.timeline-inverted .timeline-panel::after {
        left: -11px;
        right: auto;
        border-right-width: 0;
        border-left-width: 12px;
        border-color: transparent var(--color-surface) transparent transparent;
    }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
#portfolio .card-image {
    height: 220px; 
    background-color: var(--color-background-alt); 
}
#portfolio .card-image img {
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: saturate(0.9);
}
#portfolio .card:hover .card-image img {
    transform: scale(1.05); 
    filter: saturate(1.1);
}

/*--------------------------------------------------------------
# Clientele Section
--------------------------------------------------------------*/
#clientele .client-logo {
    max-height: 60px; 
    width: auto;
    margin: 15px auto;
    opacity: 0.7;
    transition: var(--transition-main);
    filter: grayscale(60%); 
}
#clientele .client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# External Resources Section
--------------------------------------------------------------*/
#external-resources .resource-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#external-resources .resource-card h4 a {
    color: var(--color-text-strong);
    text-decoration: none;
}
#external-resources .resource-card h4 a:hover {
    color: var(--color-accent1);
}
#external-resources .card-text-custom {
    font-size: 0.9rem;
    color: var(--color-text-subtle);
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
#blog .card-image {
    height: 200px; 
    background-color: var(--color-background-alt);
}
#blog .card-image img {
    transition: transform 0.4s ease;
}
#blog .card:hover .card-image img {
    transform: scale(1.05);
}
#blog .btn-outline-primary-custom { 
    border-color: var(--color-accent2);
    color: var(--color-accent2);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border-width: 2px;
    display: inline-block; 
    margin-top: auto; /* Pushes button to bottom of card-content */
}
#blog .btn-outline-primary-custom:hover {
    background-color: var(--color-accent2);
    color: var(--color-text-light);
    border-color: var(--color-accent2);
    text-decoration: none;
}
#blog .card-content, #blog .card-body {
    display: flex;
    flex-direction: column;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contactFormIndex .form-control,
#contactFormPage .form-control {
    margin-bottom: 1rem; 
}
#contactInfo .card p { 
    margin-bottom: 0.8rem;
}
#contactInfo .card p strong {
    color: var(--color-text-strong);
}
.map-container .card-image { /* Ensure this selector is precise to contact page map */
    height: 300px; 
}
.map-container .card-image img {
    object-fit: cover; 
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-custom {
    background-color: var(--color-background-alt);
    color: var(--color-text-base);
    padding: var(--section-padding-y) 0;
    border-top: 3px solid var(--color-border-soft);
}
.footer-heading {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-strong);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-text {
    font-size: 0.95rem;
    color: var(--color-text-subtle);
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--color-text-base);
    text-decoration: none;
    transition: var(--transition-main);
    position: relative;
    padding-left: 0;
}
.footer-links a:hover {
    color: var(--color-accent1);
    padding-left: 10px; 
}
.footer-links a:hover::before { /* "Hand-drawn" arrow or marker */
    content: ">";
    position: absolute;
    left: 0;
    color: var(--color-accent1);
    font-weight: var(--font-weight-bold);
}

.footer-social-links li {
    display: inline-block; 
    margin: 0 0.3rem;
}
.footer-social-links a {
    color: var(--color-text-base);
    text-decoration: none;
    font-size: 0.9rem; 
    font-weight: var(--font-weight-bold);
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--color-border-soft);
    border-radius: var(--border-radius); /* Sharp */
    transition: var(--transition-main);
    display: inline-block;
}
.footer-social-links a:hover {
    color: var(--color-text-light);
    background-color: var(--color-accent2);
    border-color: var(--color-border-neo);
    box-shadow: var(--box-shadow-neo);
    transform: translateY(-2px);
}

.footer-divider {
    border-top: 1px solid var(--color-border-soft);
}
.footer-copyright {
    font-size: 0.9rem;
    color: var(--color-text-subtle);
}

/*--------------------------------------------------------------
# Page Specific Styles
--------------------------------------------------------------*/
/* Success Page */
body.success-page { /* Applied to body tag of success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-background);
}
body.success-page > header ~ main { /* Target main when header is present */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.success-page > main:only-child { /* Target main when no header (if applicable) */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-container { /* The div directly inside main on success.html */
   text-align: center;
   padding: 2rem;
   width: 100%;
   max-width: 600px; 
}

.success-container .success-icon {
    font-size: 5rem;
    color: var(--color-accent2);
    margin-bottom: 1.5rem;
    animation: pulseIcon 1.8s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes pulseIcon {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(5deg); opacity: 1; }
}
.success-container h1 {
    color: var(--color-text-strong);
    margin-bottom: 1rem;
}
.success-container p {
    color: var(--color-text-base);
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
}


/* Privacy & Terms Page */
body.privacy-page main, body.terms-page main,
body.about-page main, body.contacts-page main { /* General class for inner pages */
    padding-top: 100px; /* Should be slightly more than navbar height */
    padding-bottom: var(--section-padding-y);
}

.page-header .page-title { 
    margin-bottom: 1rem !important; 
}
.page-header .lead {
    margin-bottom: 2.5rem;
    color: var(--color-text-subtle);
}
/* Specific for privacy/terms content cards */
.privacy-page .card, .terms-page .card {
    box-shadow: var(--box-shadow-soft); 
    border-width: 1px;
    border-color: var(--color-border-soft);
}
.privacy-page .card h2, .terms-page .card h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-text-strong);
    border-bottom: 1px solid var(--color-border-soft);
    padding-bottom: 0.5rem;
}
.privacy-page .card h2:first-of-type, .terms-page .card h2:first-of-type {
    margin-top: 0;
}
.privacy-page .card ul, .terms-page .card ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}
.privacy-page .card ul li, .terms-page .card ul li {
    margin-bottom: 0.3rem;
}

/* About Page Specifics */
#our-team .card {
    text-align: center;
}
#our-team .card-image img.rounded-circle {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--color-border-neo);
    box-shadow: var(--box-shadow-card);
    margin: 1rem auto; /* Center and add margin */
}
#our-values .card {
    text-align: center;
}
#our-values .card .card-image img { /* Icon styling within our-values cards */
    width: 60px;
    height: 60px;
    margin: 1rem auto 1rem auto; /* Center and add margin */
    object-fit: contain;
    border-bottom: none;
}


/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.text-accent1 { color: var(--color-accent1) !important; }
.text-accent2 { color: var(--color-accent2) !important; }
.bg-accent1 { background-color: var(--color-accent1) !important; }
.bg-accent2 { background-color: var(--color-accent2) !important; }

.parallax-bg { /* Ensure this is applied to an element with a background image */
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.neo-border {
    border: 2px solid var(--color-border-neo);
    box-shadow: var(--box-shadow-neo);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------
# Animations (CSS based for hovers, etc.)
--------------------------------------------------------------*/
.icon-hand-drawn-effect:hover { /* Example for icons in service cards */
    animation: handDrawnWiggle 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes handDrawnWiggle {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(1deg); }
  20%, 80% { transform: translate3d(2px, 0, 0) rotate(-1deg); }
  30%, 50%, 70% { transform: translate3d(-2px, 0, 0) rotate(1deg); }
  40%, 60% { transform: translate3d(2px, 0, 0) rotate(-1deg); }
}


/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media (max-width: 991.98px) { 
    .navbar-nav {
        margin-top: 1rem;
        background-color: var(--color-surface); 
        border: 2px solid var(--color-border-neo);
        padding: 1rem;
        box-shadow: var(--box-shadow-neo);
        border-radius: var(--border-radius);
    }
    .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 0.5rem !important; 
    }
    .nav-link::before { 
        width: 0; 
    }
     .nav-link:hover, .nav-link.active {
        background-color: var(--color-background-alt);
        border-radius: var(--border-radius-soft);
        color: var(--color-accent1) !important;
    }
}