:root {
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --text-primary: #111111;
    --text-secondary: #555555;
    --primary-color: #FA6B05;
    /* CherryBrooks Orange */
    --primary-hover: #e05e00;
    --accent-black: #000000;
    --border-color: #eeeeee;
    --text-on-black: #e0e0e0;
    /* Light Grey for dark backgrounds */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Typography Helpers */
.text-orange {
    color: var(--primary-color) !important;
}

.bg-orange {
    background-color: var(--primary-color) !important;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-weight: 700;
    color: #000 !important;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-black);
    border: 1px solid var(--accent-black);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 107, 5, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Abstract shapes for background interest */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #000;
    bottom: 50px;
    left: -50px;
    opacity: 0.05;
}

/* Cards */
.pillar-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(250, 107, 5, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.bg-light-gray {
    background-color: var(--bg-off-white);
}

/* Custom Text Colors for Dark Backgrounds */
.bg-black {
    color: var(--text-on-black) !important;
}

.bg-black .text-white,
.bg-black h1,
.bg-black h2,
.bg-black h3,
.bg-black h4,
.bg-black h5,
.bg-black h6,
.bg-black .h1,
.bg-black .h2,
.bg-black .h3,
.bg-black .h4,
.bg-black .h5,
.bg-black .h6 {
    color: var(--text-on-black) !important;
}

.bg-black .text-white-50,
.bg-black .text-secondary {
    color: rgba(224, 224, 224, 0.7) !important;
}

.bg-black .text-muted {
    color: rgba(224, 224, 224, 0.5) !important;
}

.feature-box {
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateX(5px);
}

/* Interactive Elements */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Footer Styling */
/* Update specific styles for footer elements */
.footer-list li,
.footer-contact-list li {
    margin-bottom: 12px;
    /* reduced spacing */
}

.footer-list a,
.footer-contact-list span {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
    /* Smaller font size */
    display: inline-block;
    line-height: 1.4;
}

.footer-list h5,
.footer-contact-list h5,
footer h5 {
    font-size: 1rem;
    /* Smaller headers */
}

.footer-list a:hover {
    color: var(--primary-color);
    padding-left: 2px;
}

.footer-list li {
    list-style-type: none;
    /* Remove default bullets to use custom if needed, or stick to simple */
    padding-left: 0;
    display: flex;
    align-items: flex-start;
}

/* Custom bullet for services to match screenshot style if needed, 
   otherwise standard bullets. The screenshot showed bullets. 
*/
.footer-list li::before {
    content: "•";
    color: #777;
    /* Slightly darker bullet for contrast */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    /* Pull back */
    margin-right: 0.5em;
    /* Space after */
}

/* Fix for the non-bullet lists if any (socials usually don't have bullets) */
.col-lg-2:nth-child(4) .footer-list li::before {
    content: "•";
    /* Keep consistent or remove if desired */
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    /* Fixed to viewport so it stays visible while scrolling */
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #000;
    /* Dark background for visibility */
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Animations using basic CSS classes controlled by JS observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Post Card Hover Effects */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.hover-text-orange:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.card .text-decoration-none {
    transition: all 0.3s ease;
}

/* Category Filter Buttons */
.btn-outline-dark:hover {
    background-color: var(--accent-black);
    border-color: var(--accent-black);
    color: white;
}

.btn-outline-dark.active {
    background-color: var(--accent-black);
    border-color: var(--accent-black);
    color: white;
}