:root, .light-theme {
    /* Light Theme Variables */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --background-color: #ffffff;
    --text-color: #1e293b;
    --text-light: #64748b;
    --card-bg: #f8fafc;
    --border-color: #e2e8f0;
    --highlight-color: #dbeafe;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --star-color: #f59e0b;
}

.dark-theme {
    /* Dark Theme Variables */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --background-color: #0f172a;
    --text-color: #ffffff; /* Pure white for primary text */
    --text-light: #e2e8f0; /* Light gray, almost white for secondary text */
    --card-bg: #1e293b;
    --border-color: #334155;
    --highlight-color: #1e3a8a;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --star-color: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

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

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Layout */
.container {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Header & Navigation */
.header-section {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.site-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    margin-right: 0.5rem;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--primary-color);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background-color: var(--highlight-color);
}

/* Hero Section */
.hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--highlight-color);
    z-index: -1;
}

.hero-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.hero-illustration {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
}

.service-list li:last-child {
    border-bottom: none;
}

/* Services Section */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.service-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.service-offerings {
    list-style: none;
    padding-left: 0;
    color: var(--text-color);
}

.service-offerings li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.service-offerings li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section */
.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.image-placeholder {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.strength-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s;
    color: var(--text-color);
}

.strength-item:hover {
    transform: translateY(-5px);
}

.strength-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.bg-light {
    background-color: var(--card-bg) !important;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.testimonial-rating {
    color: var(--star-color);
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    position: relative;
    color: var(--text-color);
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.2;
    font-family: serif;
    color: var(--primary-color);
}

.author-avatar {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    color: var(--text-color);
}

.author-title {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--card-bg);
}

.cta-card {
    background: linear-gradient(135deg, var(--card-bg), var(--background-color));
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.footer-section {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.footer-title {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--text-light);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-section p {
    color: var(--text-light);
}

/* Collapsible sections for mobile */
.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--highlight-color);
    color: var(--text-color);
    box-shadow: none;
}

.accordion-button::after {
    background-image: var(--bs-accordion-btn-icon);
    filter: invert(50%) sepia(100%) saturate(2000%) hue-rotate(200deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}