/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2c3e50;
    /* Deep Slate Blue */
    --secondary-color: #c5a065;
    /* Muted Earth Gold */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-off-white: #fcfcfc;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-off-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.display-4,
.display-5,
.lead-serif {
    font-family: 'Merriweather', serif;
}

/* Navbar */
.navbar-custom {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-custom .navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-custom .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: 2px;
    /* Slight rounding but mostly square */
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Sections */
.section-title {
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

.bg-slate {
    background-color: var(--primary-color);
    color: #fff;
}

/* Cards */
.card-service {
    border: none;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 2rem;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.card-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-service-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.card-service-link:hover {
    border-bottom: 1px solid var(--secondary-color);
}


/* Footer */
footer {
    background-color: #1a252f;
    /* Darker slate */
    border-top: 4px solid var(--secondary-color);
}

footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

footer p,
footer li,
footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

.social-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7));
}

/* Credibility Strip */
.credibility-strip {
    background-color: #f1f3f5;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
}

.credibility-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Methodology Steps */
.step-number {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    color: rgba(197, 160, 101, 0.2);
    /* Low opacity secondary */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-card {
    border-left: 3px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

/* Grid Items */
/* Parallax & Overlays */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 400px;
    /* Default height, can be overridden */
}

/* For mobile, disable fixed attachment to improve performance/compatibility */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 60% opacity black */
    z-index: 1;
}

.content-relative {
    position: relative;
    z-index: 2;
    /* Text above overlay */
}

.content-center-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}