/* Professional Theme - Base Styles */

/* Color Palette */
:root {
    --primary-color: #1a4a7a; /* Deeper, more professional blue */
    --secondary-color: #6c757d; /* Muted grey, consistent */
    --accent-color: #20c997; /* Teal/mint for subtle highlights */
    --background-light: #ffffff; /* Pure white for main content areas */
    --background-gray-light: #dee8f1; /* Very light gray for subtle section breaks */
    --background-gray-medium: #e9ecef; /* Slightly darker gray for alternate sections */
    --background-dark: #212529; /* Darker grey for footers/headers */
    --text-dark: #343a40;
    --text-light: #ffffff;
    --border-color: #dee2e6; /* Lighter border */
    --box-shadow-light: rgba(0, 0, 0, 0.05);
    --box-shadow-medium: rgba(0, 0, 0, 0.1);
    --cta: rgba(211, 24, 24, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern sans-serif font */
    color: var(--text-dark);
    background-color: var(--background-gray-light); /* Default body background */
    line-height: 1.6;
    font-size: 1.3rem;
}

/* Global Container Padding */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700; /* Bolder headings */
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #123456; /* Slightly darker primary on hover */
    text-decoration: underline;
}

/* Buttons */
.btn {
    border-radius: 0.3rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #123a60; /* Darker primary on hover */
    border-color: #123a60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    box-shadow: 0 0.2rem 0.5rem var(--box-shadow-light); /* Softer, more pronounced shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 0.5rem;
    overflow: hidden; /* Ensures image corners are rounded */
    background-color: var(--background-light); /* Cards are always light */
}

.card:hover {
    transform: translateY(-7px); /* More noticeable lift */
    box-shadow: 0 0.5rem 1.5rem var(--box-shadow-medium); /* Stronger shadow on hover */
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
}

.card-text {
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background-color: var(--background-light); /* Navbar is light */
    border-bottom: 1px solid var(--border-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 5px var(--box-shadow-light);
}

.navbar-brand {
    color: var(--primary-color); /* Brand name uses primary color */
    font-weight: 800; /* Extra bold for brand */
    font-size: 1.75rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color), 0.05); /* Subtle background on hover */
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color), 0.1);
    font-weight: 600;
}

/* Highlight for active nav link */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 3rem 0;
}

footer h5 {
    color: var(--accent-color); /* Highlight footer headings */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer .list-unstyled li a {
    padding: 0.3rem 0;
    display: block;
}

.footer .social-links a {
    font-size: 1.3rem;
    margin-right: 0.8rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Hero Header */
.hero-header {
    background-color: var(--primary-color); /* Hero header remains primary color */
    color: var(--text-light);
    padding: 120px 0; /* More vertical padding */
    text-align: center;
    position: relative;
    overflow: hidden; /* For potential background effects */
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Subtle overlay for background images */
    z-index: 0;
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header .card-title {
    color: var(--text-light);
    font-size: 3.8rem; /* Larger hero title */
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--box-shadow-medium); /* Text shadow for depth */
}

.hero-header .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* CTA Section */
.cta {
    /* background-color: var(--cta); */
    color: var(--text-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Overlay for background images */
    z-index: 0;
}

.cta .container {
    /* background-color: var(--cta); */
    position: relative;
    z-index: 1;
}

.cta .card-title {
    
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta .card-text {
    color: var(--text-dark);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.cta .btn-primary:hover {
    background-color: #1aa079; /* Darker accent on hover */
    border-color: #1aa079;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--background-gray-medium); /* Newsletter section gets a medium gray background */
    padding: 80px 0;
    text-align: center;
}

.newsletter .card {
    background-color: var(--background-light);
    border: none;
    box-shadow: 0 0.3rem 0.8rem var(--box-shadow-light);
    border-radius: 0.75rem;
    padding: 2rem;
}

.newsletter .card-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.newsletter .form-control {
    border-color: var(--border-color);
    border-radius: 0.3rem;
    height: 3rem;
    font-size: 1.1rem;
}

.newsletter .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

/* New section for alternating background colors */
.section-light {
    background-color: var(--background-light);
    padding: 60px 0;
}

.section-gray-light {
    background-color: var(--background-gray-light);
    padding: 60px 0;
}

.section-gray-medium {
    background-color: var(--background-gray-medium);
    padding: 60px 0;
}

.blockquote{
    background-color: #dee2e6;
}
.blockquote > footer{
    background-color: #dee2e6 !important;
}

@media (max-width: 767.98px) {
    .hero-header {
        padding: 80px 0;
    }

    .hero-header .card-title {
        font-size: 2.5rem;
    }

    .hero-header .card-text {
        font-size: 1.15rem;
    }
}
/* Media query for mobile devices to hide the text logo when a graphic logo is present */
@media (max-width: 767.98px) {
    .text-logo-hide-on-mobile {
        display: none !important;
    }
}
