/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile menu toggle button - hidden by default, shown on mobile */

:root {
    --primary-color: #333333;
    --secondary-color: #27ae60;
    --accent-color: #e67e22;
    --accent-green: #27ae60;
    --highlight-color: #f39c12;
    --success-color: #27ae60;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-light: #777777;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-light: #f8f9fa;
    --bg-dark: #333333;
    --border-color: #cccccc;
    --shadow-light: 0 2px 10px rgba(51, 51, 51, 0.1);
    --shadow-medium: 0 4px 20px rgba(51, 51, 51, 0.15);
    --shadow-heavy: 0 8px 30px rgba(51, 51, 51, 0.2);
    --gradient-primary: linear-gradient(135deg, #333333 0%, #27ae60 100%);
    --gradient-secondary: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    --gradient-dark: linear-gradient(135deg, #222222 0%, #333333 100%);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Expert Insight and Case Study Styles */
.expert-insight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.expert-insight h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expert-insight h4 i {
    color: var(--accent-color);
}

.insight-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.insight-stats .stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.insight-stats .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.insight-stats .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.case-study {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-medium);
}

.case-study h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-study h3 i {
    color: var(--secondary-color);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.case-study-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.case-study-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.result-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-badge.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.case-study-challenge,
.case-study-solution,
.case-study-result-details {
    margin-bottom: 25px;
}

.case-study-challenge h5,
.case-study-solution h5,
.case-study-result-details h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-study-challenge h5::before {
    content: "⚠️";
    font-size: 1.2rem;
}

.case-study-solution h5::before {
    content: "✅";
    font-size: 1.2rem;
}

.case-study-result-details h5::before {
    content: "🎯";
    font-size: 1.2rem;
}

.case-study-solution ul {
    list-style: none;
    padding-left: 0;
}

.case-study-solution li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.case-study-solution li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.case-study-metrics {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.case-study-metrics .metric {
    text-align: center;
    flex: 1;
    min-width: 100px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.case-study-metrics .metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.case-study-metrics .metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Resources Page Styles */
.resource-categories {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-link {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.category-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.resources-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.resources-section:first-of-type {
    border-top: none;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.resource-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.resource-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.resource-meta span {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Overall Rating Styles */
.overall-rating {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.overall-rating .rating-stars {
    display: flex;
    gap: 3px;
}

.overall-rating .rating-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .expert-insight,
    .case-study {
        padding: 20px;
        margin: 25px 0;
    }
    
    .insight-stats,
    .case-study-metrics {
        flex-direction: column;
        gap: 15px;
    }
    
    .case-study-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .case-study-metrics .metric {
        min-width: auto;
    }
    
    .categories-grid,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-meta {
        justify-content: center;
    }
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--highlight-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
    transition: var(--transition);
}

.btn-success:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    margin-right: 5px;
    color: var(--highlight-color);
}

.top-bar-right a {
    color: white;
    margin-left: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--highlight-color);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--highlight-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--highlight-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a {
    padding: 0.75rem 1rem;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.search-toggle:hover {
    background: var(--bg-secondary);
    color: var(--highlight-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    display: flex;
    gap: 1rem;
}

.search-content input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    background: white;
}

.search-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--highlight-color);
    transform: translateY(-2px);
}

.search-close {
    background: var(--highlight-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.125rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.6) 100%);
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-text {
    color: white;
    max-width: 600px;
}

.slide-category {
    display: inline-block;
    background: var(--highlight-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.slide-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.slide-btn {
    display: inline-block;
    background: var(--highlight-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.slide-btn:hover {
    background: #d63384;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.slider-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--highlight-color);
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 5rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Category Filters */
.category-filters {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--highlight-color);
    color: white;
    border-color: var(--highlight-color);
}

/* Blog Posts */
.blog-posts {
    display: grid;
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.post-image {
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.post-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-size: 1.25rem;
}

.post-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.post-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Comments Section */
.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.comments-list {
    margin-bottom: 1rem;
}

.comment {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.comment strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.comment p {
    margin-bottom: 0.25rem;
}

.comment small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    resize: vertical;
    font-family: inherit;
    min-height: 80px;
}

.submit-comment {
    background: var(--highlight-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    align-self: flex-start;
    transition: var(--transition);
}

.submit-comment:hover {
    background: #d63384;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.view-all {
    color: var(--highlight-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Featured Stories */
.stories-grid {
    display: grid;
    gap: 2rem;
}

.story-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.story-card.featured {
    grid-column: 1 / -1;
}

.story-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-card.featured .story-image {
    height: 400px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--highlight-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.story-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.story-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--highlight-color);
    color: var(--highlight-color);
}

.action-btn.liked {
    background: var(--highlight-color);
    color: white;
    border-color: var(--highlight-color);
}

/* Latest News */
.news-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--highlight-color);
    color: white;
    border-color: var(--highlight-color);
}

.news-list {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    height: 100px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1rem 1rem 1rem 0;
}

.news-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* About Author */
.about-author {
    text-align: center;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--highlight-color);
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.author-link {
    color: var(--highlight-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.author-link:hover {
    color: var(--accent-color);
}

/* Quick Services */
.service-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-primary);
}

.service-link:hover {
    background: var(--bg-secondary);
    border-color: var(--highlight-color);
    color: var(--highlight-color);
    transform: translateX(5px);
}

.service-link i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

/* Popular Posts */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-item a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.popular-item a:hover {
    transform: translateY(-2px);
}

.popular-item a:hover .popular-content h4 {
    color: var(--secondary-color);
}

.popular-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-content h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.popular-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Recent Posts */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

.no-posts-message h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.no-posts-message p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.recent-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.recent-item a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.recent-item a:hover {
    transform: translateY(-2px);
}

.recent-item a:hover .recent-content h4 {
    color: var(--secondary-color);
}

.recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-content {
    flex: 1;
}

.recent-category {
    font-size: 0.7rem;
    color: var(--highlight-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.recent-content h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.recent-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.newsletter-form button {
    background: var(--highlight-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #d63384;
}

/* Contact CTA */
.contact-cta {
    background: var(--gradient-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.contact-cta h3 {
    color: white;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: var(--highlight-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: #d63384;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}



/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--highlight-color);
}

/* Desktop footer section alignment */
.footer-section {
    text-align: left;
}

.footer-section h3,
.footer-section h4 {
    text-align: left;
}

.footer-section p {
    text-align: left;
}

.footer-section ul {
    text-align: left;
}

.footer-section ul li {
    text-align: left;
}

.footer-section ul li a {
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--highlight-color);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: left;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0;
}

.contact-info i {
    color: var(--highlight-color);
    width: 20px;
    margin-top: 0.1rem;
    flex-shrink: 0;
    text-align: left;
}

/* Desktop footer contact info alignment */
.footer-section:last-child {
    text-align: left;
}

.footer-section:last-child h4 {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.footer-section:last-child .contact-info {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

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

/* Blog post specific footer links styling */
.blog-post .footer-links a,
.post-footer .footer-links a,
.main-content .blog-post .footer-links a,
.main-content .post-footer .footer-links a {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.blog-post .footer-links a:hover,
.post-footer .footer-links a:hover,
.main-content .blog-post .footer-links a:hover,
.main-content .post-footer .footer-links a:hover {
    color: var(--highlight-color) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        padding: 1rem 0;
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
    }
    

    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .story-card.featured .story-image {
        height: 250px;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
    
    .about-image img {
        max-width: 100%;
    }
    
    .services-overview .services-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    

    
    .section-header {
        text-align: center !important;
        flex-direction: column;
        gap: 1rem;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .section-header h2 {
        text-align: center !important;
    }
    
    .section-header p {
        text-align: center !important;
    }
    
    .expertise-section .section-header,
    .process-section .section-header {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .expertise-section .section-header h2,
    .process-section .section-header h2 {
        text-align: center !important;
    }
    
    .expertise-section .section-header p,
    .process-section .section-header p {
        text-align: center !important;
    }
    
    .service-features {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .service-features li {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 35px;
        margin-bottom: 0;
    }
    
    .logo h1 {
        font-size: 1rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-text h2 {
        font-size: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .news-filters {
        flex-wrap: wrap;
    }
    
    .story-actions {
        flex-wrap: wrap;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--highlight-color);
}

/* About Hero Section - Now using blog-hero class for consistency */

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-weight: bold;
}

/* Our Services Section */
.our-services {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.our-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.our-services .service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--bg-secondary);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.our-services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.our-services .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.our-services .service-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.our-services .service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.our-services .service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin-top: auto;
}

.our-services .service-link:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments for services */
@media (max-width: 768px) {
    .our-services .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .our-services .service-card {
        padding: 1.5rem;
    }
    
    .our-services .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card.featured {
    border: 2px solid var(--highlight-color);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--highlight-color);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--highlight-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--accent-color);
    color: white;
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-title {
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text .btn {
    margin-top: 1rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive for About Section */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-image img {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .about-text h3 {
        font-size: 1.75rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.why-choose-content > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.why-choose-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .why-choose-content h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Contact Hero Section - Now using blog-hero class for consistency */

/* Contact Methods Section */
.contact-methods {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-method-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-method-card.featured {
    border: 2px solid var(--highlight-color);
    transform: scale(1.05);
}

.contact-method-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.contact-method-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-method-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.method-details {
    margin-bottom: 2rem;
}

.method-details .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.method-details .detail-item:last-child {
    border-bottom: none;
}

.method-details .detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.method-details .detail-item span {
    color: var(--text-secondary);
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.method-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: white;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-content > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    align-items: flex-start;
}

.form-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-benefits .benefit-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.form-benefits .benefit-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

.form-container {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.map-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.map-details h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-details .detail-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.location-details .detail-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.location-details .detail-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.map-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-frame iframe {
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-section h2 {
    font-size: 1.75rem;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.faq-question:hover {
    background: var(--accent-color);
    color: white;
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.125rem;
    color: inherit;
}

.faq-question i {
    transition: var(--transition);
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 1.5rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: var(--accent-color);
    color: white;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-content h2 {
        font-size: 2rem;
    }
    
    .method-details .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Home Hero Section */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/office photo.jpeg') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Home page hero text styles */
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--highlight-color);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Center hero buttons on mobile */
@media (max-width: 768px) {
    .hero-actions {
        justify-content: center;
        align-items: center;
    }
    
    .hero-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
    }
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* Featured Posts Section */
.featured-posts-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.featured-post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.featured-post-card.main {
    grid-row: span 2;
}

.featured-post-card .post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-post-card.main .post-image {
    height: 300px;
}

.featured-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--highlight-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-post-card .post-content {
    padding: 1.5rem;
}

.featured-post-card.main .post-content {
    padding: 2rem;
}

.featured-post-card .post-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.featured-post-card.main .post-content h3 {
    font-size: 2rem;
}

.featured-post-card .post-content h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.featured-post-card .post-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--highlight-color);
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-posts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.view-all-posts {
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Recent Posts Section */
.recent-posts-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    margin-bottom: 0;
    color: var(--text-primary);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.post-card .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-card .post-content {
    padding: 1.5rem;
}

.post-card .post-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.post-card .post-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-card .post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(15, 52, 96, 0.1);
}

.read-more-link:hover {
    color: var(--highlight-color);
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-1px);
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-post-card.main {
        grid-row: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-filters {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .featured-post-card.main .post-content h3 {
        font-size: 1.5rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        text-align: center;
    }
}

/* Blog Page Styles */
/* Hide non-CIPC posts by default */
.post-card[data-category="sars"],
.post-card[data-category="tender"] {
    display: none;
}

/* Show CIPC posts by default */
.post-card[data-category="cipc"] {
    display: block;
}

.blog-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/office photo.jpeg') center/cover;
    opacity: 0.6;
}

.blog-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.blog-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero .hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.blog-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.about-hero-small .hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.blog-hero .stat-item {
    text-align: center;
}

.blog-hero .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.blog-hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.about-hero-small .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.about-hero-small .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Category Filters */
.category-filters {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.filter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.filter-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Featured Post Section */
.featured-post-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.featured-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #27ae60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-post-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-content .post-category {
    background: #f3f4f6;
    color: #27ae60;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.featured-post-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post-content p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-post-content .post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.featured-post-content .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-content .post-actions {
    display: flex;
    gap: 1rem;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 3rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: #27ae60;
}

.post-content {
    padding: 1.25rem;
}

.post-content .post-category {
    background: #f3f4f6;
    color: #27ae60;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-content p {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-content .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.post-content .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-content .post-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: #f3f4f6;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.action-btn:hover {
    background: #27ae60;
    color: white;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

/* Enhanced Sidebar */
.sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: #27ae60;
    border-radius: 2px;
}

/* Related Posts Section */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.related-post {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-post:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.related-post-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.related-post h4 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-post h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-post h4 a:hover {
    color: var(--highlight-color);
}

.related-post p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.back-to-blog:hover {
    color: white !important;
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .tools-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .blog-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero .hero-stats {
        gap: 2rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .featured-post-card {
        grid-template-columns: 1fr;
    }
    
    .featured-post-content {
        padding: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .tools-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .blog-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .about-hero-small {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .contact-hero-small {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .blog-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .blog-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-post-content h3 {
        font-size: 1.5rem;
    }
    
    .featured-post-content .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Blog post page mobile styles - Simple approach */
    .blog-post .post-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3rem !important;
        margin-bottom: 2rem !important;
        padding: 1rem 0 !important;
    }
    

    
    .blog-post .post-meta > *:last-child {
        margin-bottom: 0 !important;
    }
    

    
    .blog-post .post-meta .post-category {
        background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%) !important;
        color: white !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
        margin-bottom: 3rem !important;
        order: -1 !important;
        position: relative !important;
        z-index: 10 !important;
        display: block !important;
        width: 100% !important;
        clear: both !important;
        padding-bottom: 2rem !important;
    }
    

    
    /* Additional mobile styles for blog posts */
    .post-header {
        padding: 2rem 1.5rem !important;
    }
    
    .post-header .post-meta {
        margin-bottom: 1.5rem !important;
    }
    
    /* Footer date styles */
    .post-date-footer {
        text-align: center;
        margin: 1rem 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        color: var(--text-light);
        font-size: 0.875rem;
    }
    
    .post-date-footer .post-date {
        color: var(--text-light);
        font-style: italic;
    }
}

/* Blog Post Page Specific Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
}

/* Enhanced Post Header */
.post-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.post-category {
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.post-date {
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-excerpt {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* Enhanced Post Content */
.post-content {
    padding: 3rem 2.5rem;
    background: white;
    position: relative;
}

.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f3f4f6;
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    border-radius: 2px;
}

.post-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #374151;
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #27ae60;
}

.post-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4b5563;
    margin: 1.5rem 0 0.75rem 0;
}

.post-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.post-content ul,
.post-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #4b5563;
}

.post-content ul li {
    position: relative;
    padding-left: 0.5rem;
}

.post-content ul li::before {
    content: '•';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.post-content ol {
    counter-reset: item;
}

.post-content ol li {
    counter-increment: item;
    position: relative;
    padding-left: 0.5rem;
}

.post-content ol li::before {
    content: counter(item) '.';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.post-content strong {
    color: #1f2937;
    font-weight: 600;
}

.post-content em {
    color: #6b7280;
    font-style: italic;
}

/* Enhanced Blockquotes */
.post-content blockquote {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #27ae60;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    position: relative;
    font-style: italic;
    color: #4b5563;
}

.post-content blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #27ae60;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: serif;
}

/* Enhanced Code Blocks */
.post-content code {
    background: #f3f4f6;
    color: #dc2626;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #374151;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Enhanced Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-content th {
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.post-content td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.post-content tr:hover {
    background: #f9fafb;
}

/* Enhanced Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-content img:hover {
    transform: scale(1.02);
}

/* Enhanced Links */
.post-content a {
    color: #27ae60;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.post-content a:hover {
    color: #5a67d8;
    border-bottom-color: #5a67d8;
}

/* Enhanced Post Footer */
.post-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-top: 1px solid #e5e7eb;
}

.post-navigation {
    text-align: center;
    margin-bottom: 2rem;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--secondary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.back-to-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    color: white !important;
    background: #1e8449;
}

/* Enhanced Related Posts */
.related-posts {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.related-posts h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

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

.related-post {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.related-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.related-post-category {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.related-post h4 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-post h4 a {
    color: #1f2937;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.related-post h4 a:hover {
    color: #27ae60;
}

.related-post p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Main Content Background */
.main-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
    position: relative;
}

/* Responsive styles for main content */
@media (max-width: 768px) {
    .main-content {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 0;
    }
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

/* Enhanced Responsive Design for Blog Posts */
@media (max-width: 768px) {
    .blog-post {
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .post-header {
        padding: 2rem 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .post-content {
        padding: 1.5rem 1rem;
    }
    
    .post-content h2 {
        font-size: 1.375rem;
    }
    
    .post-content h3 {
        font-size: 1.125rem;
    }
}

/* Enhanced Typography for Better Readability */
.post-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1f2937;
}

/* Enhanced Spacing and Layout */
.post-content > * + * {
    margin-top: 1.5rem;
}

.post-content > h2 + p,
.post-content > h3 + p,
.post-content > h4 + p {
    margin-top: 1rem;
}

/* Enhanced List Styling */
.post-content ul li,
.post-content ol li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content ul li::before {
    content: '▸';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.post-content ol {
    counter-reset: list-counter;
}

.post-content ol li {
    counter-increment: list-counter;
}

.post-content ol li::before {
    content: counter(list-counter) '.';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Enhanced Callout Boxes */
.post-content .callout {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.post-content .callout::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 1rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
}

.post-content .callout.info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.post-content .callout.info::before {
    content: 'ℹ️';
}

.post-content .callout.warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.post-content .callout.warning::before {
    content: '⚠️';
}

/* Enhanced Step-by-Step Instructions */
.post-content .step {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.post-content .step:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.post-content .step::before {
    content: attr(data-step);
    position: absolute;
    top: -12px;
    left: 1rem;
    background: linear-gradient(135deg, #27ae60 0%, #e67e22 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Enhanced Definition Lists */
.post-content dl {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.post-content dt {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.post-content dd {
    color: #6b7280;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #e5e7eb;
}

.post-content dd:last-child {
    margin-bottom: 0;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.legal-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

.legal-body {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-content .contact-info {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border-left: 4px solid var(--accent-color);
}

.legal-content .contact-info p {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.legal-content .contact-info p:last-child {
    margin-bottom: 0;
}

/* Search Highlight Styles */
.search-highlight {
    background: var(--highlight-color);
    color: white;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Enhanced About Page Styles */
.company-overview {
    padding: 5rem 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.overview-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.overview-features .feature-item {
    flex: 0 0 200px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}



/* Why Choose Us Section */
.why-choose-us {
    padding: 3rem 0;
    background: white;
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-choose-us .section-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.why-choose-us .section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive styles for why-choose-us */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 3rem 0;
    }
    
    .why-choose-us .section-header h3 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 2rem;
    }
    
    .overview-features {
        gap: 1rem;
    }
    
    .overview-features .feature-item {
        flex: 0 0 160px;
        min-height: 100px;
        padding: 1rem;
    }
}

/* Quote Section Styles */
.quote-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quote-text h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.quote-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.benefit-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

.quote-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-full i {
    margin-right: 0.5rem;
}

/* Responsive styles for quote section */
@media (max-width: 768px) {
    .quote-section {
        padding: 2rem 0;
    }
    
    .quote-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .quote-text h3 {
        font-size: 2rem;
    }
    
    .quote-text p {
        font-size: 1rem;
    }
    
    .quote-benefits {
        text-align: left;
        align-items: flex-start;
    }
    
    .quote-form {
        padding: 2rem;
    }
    
    .benefit-item {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 1.5rem 0;
    }
    
    .quote-text h3 {
        font-size: 1.75rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us {
        padding: 2rem 0;
    }
    
    .why-choose-us .section-header h3 {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}



.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.mission-vision {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.mission-vision .section-header h2 {
    font-size: 1.75rem;
}

/* Objectives Section */
.objectives-section {
    padding: 5rem 0;
    background: white;
}

.objectives-section .section-header h2 {
    font-size: 1.75rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.objective-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.objective-card:hover::before {
    transform: scaleX(1);
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.objective-card:hover .objective-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
}

.objective-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.objective-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .objective-card {
        padding: 2rem;
    }
    
    .objective-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background: white;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.expertise-card.featured {
    border: 2px solid var(--highlight-color);
    transform: scale(1.05);
}

.expertise-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.expertise-features {
    list-style: none;
    margin-bottom: 2rem;
}

.expertise-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.expertise-features i {
    color: var(--highlight-color);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.expertise-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.expertise-link:hover {
    color: var(--highlight-color);
}

.expertise-link:hover i {
    transform: translateX(5px);
}

/* Enhanced Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.why-choose-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.why-choose-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.why-choose-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.why-choose-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.why-choose-conclusion p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.6;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.benefit-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.why-choose-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

.process-section .section-header h2 {
    font-size: 1.75rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
    font-size: 2rem;
    border: 3px solid var(--border-color);
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .overview-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-content h2,
    .why-choose-content h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .overview-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card.featured {
        transform: none;
    }
    
    .expertise-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .why-choose-content h3 {
        text-align: center !important;
    }
    


}

@media (max-width: 480px) {
    .overview-content h2,
    .why-choose-content h2,
    .cta-content h2 {
        font-size: 1.75rem;
    }
    

    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Contact Page Specific Styles */

/* Professional Contact Hero Section - Now using blog-hero class for consistency */

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-primary);
}

/* Professional Contact Information Section */
.contact-info-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section .section-header h2 {
    font-size: 1.75rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    width: 100%;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-method {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-green);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-color) 100%);
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.method-content h3 {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.method-detail {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.method-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    display: block;
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.method-action:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Professional Business Hours Section */
.office-hours-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9fa 100%);
}

.hours-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hours-info h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hours-info > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--accent-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hours-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hours-item .day {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.hours-item .time {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.emergency-support {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 15px;
    border-left: 5px solid var(--highlight-color);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
}

.emergency-support:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.2);
}

.emergency-support i {
    color: var(--highlight-color);
    font-size: 2rem;
}

.emergency-support p {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Professional Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.form-intro h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    align-items: flex-start;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.benefit-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-form-container {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Professional FAQ Section */
.contact-faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9fa 100%);
}

.contact-faq-section .section-header h2 {
    font-size: 1.75rem;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--accent-green) 0%, #22c55e 100%);
    color: white;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.faq-question i {
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    display: none;
}

.faq-answer.active {
    padding: 2rem;
    max-height: 300px;
    opacity: 1;
    display: block;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--accent-green) 0%, #22c55e 100%);
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Simple Contact Form */
.contact-form-section {
    padding: 5rem 0;
    background: var(--bg-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    /* Hero Section */
    

    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Contact Methods */
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-method {
        padding: 2.5rem 2rem;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto 1.5rem auto;
    }
    
    /* Form Section */
    .form-section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        margin: 0;
        padding: 2.5rem;
    }
    
    .form-intro h2 {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Office Hours */
    .hours-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1.25rem 1.5rem;
    }
    

    
    /* FAQ */
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer.active {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
    
    /* Contact Methods */
    .contact-method {
        padding: 1.5rem;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto 1rem auto;
    }
    
    /* Form Section */
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-intro h2 {
        font-size: 1.75rem;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    /* Office Hours */
    .hours-info h2 {
        font-size: 2rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
}

/* Contact Overview Section */
.contact-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-overview .overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-overview .overview-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-overview .lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-overview .overview-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-overview .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-overview .feature-item i {
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-overview .feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-overview .feature-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-overview .overview-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.contact-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Office Location Section */
.office-location {
    padding: 5rem 0;
    background: white;
}

.office-location .location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.office-location .location-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.office-location .location-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.office-location .location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.office-location .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.office-location .detail-item i {
    color: var(--accent-orange);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.office-location .detail-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.office-location .detail-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

.office-location .location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.office-location .location-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.office-location .location-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.office-location .location-image:hover img {
    transform: scale(1.05);
}

/* Updated Contact Methods */
.contact-methods {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-methods .contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-method-card.featured {
    border-color: var(--accent-green);
    box-shadow: var(--shadow-medium);
}

.contact-method-card.featured::before {
    background: var(--accent-green);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
}

.contact-method-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-method-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-item span {
    color: var(--text-secondary);
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.method-action:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-overview .overview-grid,
    .office-location .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-overview .overview-content h2,
    .office-location .location-content h2 {
        font-size: 2rem;
    }
    
    .contact-overview .lead-text,
    .office-location .location-content p {
        font-size: 1.1rem;
    }
    
    .contact-overview .overview-image img,
    .office-location .location-image img {
        height: 300px;
    }
    
    .contact-methods .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-method-card {
        padding: 2rem;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .office-location .location-actions {
        flex-direction: column;
    }
    
    .office-location .location-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-overview .overview-content h2,
    .office-location .location-content h2 {
        font-size: 1.75rem;
    }
    
    .contact-overview .overview-image img,
    .office-location .location-image img {
        height: 250px;
    }
    
    .contact-method-card {
        padding: 1.5rem;
    }
    
    .method-action {
        width: 100%;
        justify-content: center;
    }
    
    /* Enhanced Mobile Responsive for Professional Contact Page */
    
    .contact-method {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto 1.5rem auto;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .method-content h3 {
        font-size: 1.1rem;
    }
    
    .method-detail {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-intro h2 {
        font-size: 1.8rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hours-info h2 {
        font-size: 2rem;
    }
    
    .hours-item {
        padding: 1rem 1.25rem;
    }
    }
    

    
    .faq-question {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .faq-question i {
        align-self: flex-end;
        margin-top: -1.5rem;
    }
    
    .faq-answer.active {
        padding: 1.25rem;
        max-height: 500px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Smaller Hero Sections for About Us and Contact Us */
.about-hero-small {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

        .about-hero-small .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('images/office photo.jpeg') center/cover;
            opacity: 0.6;
        }

.about-hero-small .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.about-hero-small .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-small .hero-text h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.about-hero-small .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 1;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-hero-small {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-small .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/office photo.jpeg') center/cover;
    opacity: 0.6;
}

.contact-hero-small .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.contact-hero-small .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-small .hero-text h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.contact-hero-small .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 1;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-hero-small .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive styles for smaller hero sections */
@media (max-width: 768px) {
    .about-hero-small {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .contact-hero-small {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .about-hero-small .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .contact-hero-small .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .about-hero-small .hero-text p {
        font-size: 0.8rem;
    }
    
    .contact-hero-small .hero-text p {
        font-size: 0.8rem;
    }
    
    /* Center service items on mobile */
    .service-features {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .service-features li {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Service cards mobile improvements */
    .service-card {
        text-align: center !important;
        padding: 2rem !important;
    }
    
    .service-card .service-icon {
        margin: 0 auto 1.5rem !important;
    }
    
    .service-card h3 {
        text-align: center !important;
    }
    
    .service-card p {
        text-align: center !important;
    }
    
    .service-card .service-link {
        justify-content: center !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    /* Expertise cards mobile improvements (About page) */
    .expertise-card {
        text-align: center !important;
        padding: 2rem !important;
    }
    
    .expertise-card .expertise-icon {
        margin: 0 auto 1.5rem !important;
    }
    
    .expertise-card h3 {
        text-align: center !important;
    }
    
    .expertise-card p {
        text-align: center !important;
    }
    
    .expertise-card .expertise-link {
        justify-content: center !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .expertise-features {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .expertise-features li {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Footer mobile improvements */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .footer-section {
        text-align: left !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: left !important;
    }
    
    .footer-section p {
        text-align: left !important;
    }
    
    .footer-section ul {
        text-align: left !important;
    }
    
    .footer-section ul li {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .footer-section ul li a {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .social-links {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .contact-info {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    .contact-info p {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 0.75rem !important;
        text-align: left !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        position: relative !important;
        left: 0 !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .contact-info i {
        flex-shrink: 0 !important;
        width: 16px !important;
        text-align: left !important;
        margin-right: 0.75rem !important;
        position: relative !important;
        left: 0 !important;
        margin-top: 0.1rem !important;
        color: var(--highlight-color) !important;
    }
    
    .contact-info p:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Force footer section containing contact info to be left-aligned */
    .footer-section:last-child {
        text-align: left !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 1rem !important;
    }
    
    .footer-links {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
    
    .footer-links a {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .about-hero-small {
        padding: 15px 0 10px;
        min-height: 25vh;
    }
    
    .contact-hero-small {
        padding: 15px 0 10px;
        min-height: 25vh;
    }
    
    .about-hero-small .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .contact-hero-small .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .about-hero-small .hero-text p {
        font-size: 0.75rem;
    }
    
    .contact-hero-small .hero-text p {
        font-size: 0.75rem;
    }
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: white;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.mobile-nav {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav li {
    width: 100%;
}

.mobile-nav a {
    display: block;
    padding: 1.8rem 2.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    margin: 0.5rem 0;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 4px;
    background: var(--accent-color) !important;
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.mobile-menu-toggle:hover span {
    background: var(--accent-color) !important;
}

/* Show mobile menu toggle on mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
    
    .main-nav {
        display: none !important;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-menu-close {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.8rem;
        padding: 0.8rem;
    }
    
    .mobile-nav a {
        padding: 1.4rem 2rem;
        font-size: 1.4rem;
        margin: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    .mobile-nav a {
        padding: 1.2rem 1.5rem;
        font-size: 1.2rem;
        margin: 0.4rem 0;
    }
    
    .mobile-nav {
        max-width: 350px;
    }
    
    .mobile-menu-content {
        padding: 1rem;
    }
    
    .mobile-menu-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.6rem;
        padding: 0.6rem;
    }
}

/* Disclaimer Page Styles */
.disclaimer-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.disclaimer-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/office photo.jpeg') center/cover;
    opacity: 0.6;
}

.disclaimer-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.disclaimer-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-hero .hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.disclaimer-hero .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.disclaimer-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.disclaimer-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.disclaimer-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.disclaimer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.disclaimer-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.disclaimer-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.disclaimer-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.contact-info {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: white;
}

.disclaimer-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.disclaimer-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive adjustments for disclaimer page */
@media (max-width: 768px) {
    .disclaimer-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .disclaimer-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .disclaimer-hero .hero-text p {
        font-size: 0.9rem;
    }
    
    .disclaimer-content {
        padding: 2rem 0;
    }
    
    .disclaimer-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .disclaimer-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .disclaimer-hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .disclaimer-hero .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .disclaimer-section {
        padding: 1rem;
    }
    
    .disclaimer-content h2 {
        font-size: 1.5rem;
    }
}

/* Tools Page Styles */
.tools-hero {
    position: relative;
    background: url('images/office-photo-optimized.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tools-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.tools-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tools-hero .hero-content p {
    color: white;
}

.tools-nav-section {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tools-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.tool-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tool-nav-item:hover,
.tool-nav-item.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.tool-nav-item i {
    font-size: 1.5rem;
}

.tool-nav-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.tools-section {
    padding: 5rem 0;
}

.tools-section .section-header h2 {
    font-size: 1.75rem;
}

.tools-section.bg-light {
    background: var(--bg-light);
}

/* Quiz Tools */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quiz-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.quiz-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quiz-icon i {
    font-size: 2rem;
    color: white;
}

.quiz-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.quiz-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quiz-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.quiz-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Calculator Tools */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive adjustments for calculator grid */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .calculator-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

.calculator-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-card:hover::before {
    opacity: 1;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.calculator-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.calculator-icon i {
    font-size: 1.5rem;
    color: white;
}

.calculator-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.calculator-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.calculator-form .form-group {
    margin-bottom: 1rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.calculator-form input,
.calculator-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.calculator-form input:focus,
.calculator-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.calculator-form input:hover,
.calculator-form select:hover {
    border-color: var(--primary-color);
}

.calculator-form button {
    width: 100%;
    margin-top: 1rem;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calculator-form button:active {
    transform: translateY(0);
}

.calculator-results {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.calculator-results .error {
    color: #dc3545;
    font-weight: 500;
    padding: 0.5rem;
    background: #f8d7da;
    border-radius: var(--border-radius);
    border-left: 4px solid #dc3545;
}

.calculator-results p {
    margin: 0;
    color: var(--text-primary);
}

.result-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Interactive Forms */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.form-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.form-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-form .form-group,
.inquiry-form .form-group {
    margin-bottom: 1rem;
}

.quote-form label,
.inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.quote-form textarea,
.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-form button,
.inquiry-form button {
    width: 100%;
}

/* Checklist */
.checklist-container {
    margin-bottom: 1.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checklist-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.checklist-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

#checklist-percentage {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tool-nav-item {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .quiz-grid,
    .calculator-grid,
    .forms-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Service Benefits Section */
.service-benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* Services Overview Section */
.services-overview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.services-overview .section-header,
.why-choose-us .section-header,
.service-process .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-overview .section-header h2,
.why-choose-us .section-header h2,
.service-process .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.services-overview .section-header p,
.why-choose-us .section-header p,
.service-process .section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-category h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-category p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: white;
}

/* Specific styles for services page benefit items */
.why-choose-us .benefit-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-us .benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.why-choose-us .benefit-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.why-choose-us .benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Service Process Section */
.service-process {
    padding: 5rem 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.benefit-item h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Expertise Actions */
.expertise-actions {
    margin-top: 2rem;
}

.expertise-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive Design for Service Benefits */
@media (max-width: 768px) {
    .service-benefits {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-category {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    }

/* Latest Blog Posts Section */
.latest-posts {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.post-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bg-secondary);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    padding: 1.5rem;
}

.post-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: var(--primary-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.posts-cta {
    margin-top: 2rem;
}

/* Responsive adjustments for posts */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-content {
        padding: 1.25rem;
    }
    
    .post-content h4 {
        font-size: 1.1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Client Reviews & Ratings Section */
.reviews-section {
    padding: 3rem 0;
}

.reviews-section .section-header h2 {
    font-size: 1.75rem;
}

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

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.reviewer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.reviewer-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1rem;
}

.review-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-service {
    margin-top: 1rem;
}

.service-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.overall-rating {
    margin-top: 3rem;
}

.rating-summary h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating-summary .stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-summary p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-section h2 {
    font-size: 1.75rem;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
}

/* Live Chat Widget */
.chat-widget-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.chat-widget {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-info i {
    font-size: 1.5rem;
}

.chat-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.chat-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
}

.status-indicator.online {
    background: #4caf50;
}

.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
}

.chat-message.user .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-content {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.chat-actions {
    padding: 1rem;
    background: var(--bg-light);
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-actions .btn {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .review-card {
        padding: 1.5rem;
        max-width: 400px;
        width: 100%;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .chat-widget {
        margin: 0 1rem;
    }
    
    .chat-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .chat-actions {
        flex-direction: column;
    }
}

/* Social Interaction Section Styles */
.social-interaction {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.social-interaction h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.interaction-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 120px;
    justify-content: center;
}

.interaction-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.interaction-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.interaction-btn i {
    font-size: 1rem;
}

.interaction-btn .count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.interaction-btn .label {
    font-weight: 500;
}

/* Like/Dislike button specific styles */
.like-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
}

.like-btn.active {
    background: #27ae60;
    border-color: #27ae60;
}

.dislike-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.dislike-btn.active {
    background: #e74c3c;
    border-color: #e74c3c;
}

.comment-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
}

.comment-btn.active {
    background: #27ae60;
    border-color: #27ae60;
}

.share-btn:hover {
    border-color: #9b59b6;
    color: #9b59b6;
}

.share-btn.active {
    background: #9b59b6;
    border-color: #9b59b6;
}

/* Comment Form Styles */
.comment-form {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.comment-form h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #229954;
    transform: translateY(-1px);
}

/* Share Options Styles */
.share-options {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.share-options h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    justify-content: center;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.share-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-btn.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.share-btn.whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.share-btn.copy-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Comments Section Styles */
.comments-section {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.comments-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-header strong {
    color: var(--text-primary);
    font-weight: 600;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive Design for Social Interaction */
@media (max-width: 768px) {
    .social-interaction {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .interaction-buttons {
        gap: 0.75rem;
    }
    
    .interaction-btn {
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .interaction-btn .label {
        display: none;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .comment-form,
    .share-options,
    .comments-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .interaction-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .interaction-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Enhanced Blog Post Styles */
.author-bio {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.credential {
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--secondary-color);
}

.table-of-contents {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.table-of-contents h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents a:hover {
    color: var(--secondary-color);
}

.table-of-contents a::before {
    content: "→";
    color: var(--secondary-color);
    font-weight: bold;
}

.mistakes-section {
    margin: 20px 0;
}

.mistake-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
}

.mistake-item h4 {
    color: #856404;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mistake-item p {
    color: #856404;
    margin: 0;
}

.costs-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.cost-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.cost-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cost-item p {
    margin: 5px 0;
    color: var(--text-secondary);
}

.faq-section {
    margin: 20px 0;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

.expert-tip {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.expert-tip h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.expert-tip p {
    color: var(--text-secondary);
    margin: 0;
}

.related-articles {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.related-articles h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 10px;
}

.related-articles a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-articles a:hover {
    color: var(--secondary-color);
}

.related-articles a::before {
    content: "📄";
    font-size: 0.9rem;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .costs-timeline {
        grid-template-columns: 1fr;
    }
    
    .author-credentials {
        justify-content: center;
    }
}

/* About Page Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.about-stats .stat-item {
    text-align: center;
    padding: 15px;
}

.about-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.about-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-stats .stat-number {
        font-size: 1.5rem;
    }
}

/* Additional Blog Post Styles */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.benefit-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.benefit-item p {
    color: var(--text-secondary);
    margin: 0;
}

.guidelines-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.guidelines-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.guidelines-section ul {
    margin-bottom: 20px;
}

.guidelines-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.rejections-section {
    margin: 20px 0;
}

.rejection-item {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
}

.rejection-item h4 {
    color: #721c24;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rejection-item p {
    color: #721c24;
    margin: 0;
}

.after-approval {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.after-approval h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.after-approval ul, .after-approval ol {
    margin-bottom: 20px;
}

.after-approval li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.expert-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tip-item {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.tip-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design for Additional Elements */
@media (max-width: 768px) {
    .benefits-section,
    .expert-tips {
        grid-template-columns: 1fr;
    }
    
    .guidelines-section,
    .after-approval {
        padding: 15px;
    }
}

/* Newsletter Section Styles */
.newsletter-section {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.newsletter-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-benefits .benefit-item i {
    color: #2ecc71;
    font-size: 1rem;
}

.newsletter-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.newsletter-signup .form-group {
    margin-bottom: 20px;
}

.newsletter-signup input,
.newsletter-signup select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-signup input:focus,
.newsletter-signup select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.newsletter-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.newsletter-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* Responsive Design for Newsletter */
@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        padding: 20px;
    }
}

/* Important Note Styles */
.important-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.important-note h4 {
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.important-note p {
    color: #856404;
    margin-bottom: 10px;
}

.important-note ul {
    margin: 10px 0;
    padding-left: 20px;
}

.important-note li {
    color: #856404;
    margin-bottom: 5px;
}

/* Downloadable Resources Styles */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.download-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.download-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-info i {
    color: var(--secondary-color);
}

.downloads-cta {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.downloads-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.downloads-cta p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Responsive Design for Downloads */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .download-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .downloads-cta {
        padding: 30px 20px;
    }
}

/* B-BBEE Scorecard Styles */
.scorecard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.scorecard-item {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.scorecard-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.scorecard-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.scorecard-details h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.scorecard-details .points {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ownership-levels {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 20px 0;
}

.ownership-levels h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.level-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.level-item:last-child {
    border-bottom: none;
}

.level-item .level {
    font-weight: 600;
    color: var(--text-primary);
}

.level-item .requirement {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive Design for B-BBEE Elements */
@media (max-width: 768px) {
    .scorecard-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .scorecard-item {
        padding: 15px;
    }
    
    .level-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design for Progress Bar */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Enhanced Related Articles Styles */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.related-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.related-content {
    flex: 1;
}

.related-content h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.related-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-content h4 a:hover {
    color: var(--secondary-color);
}

.related-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.related-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Article Rating System */
.article-rating {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.article-rating h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.rating-star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
}

.rating-star:hover ~ .rating-star {
    color: #ddd;
}

.rating-feedback {
    margin-top: 15px;
}

.rating-feedback textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    resize: vertical;
    min-height: 80px;
    margin-bottom: 10px;
}

.rating-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.rating-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.rating-thanks {
    display: none;
    color: var(--success-color);
    font-weight: 500;
    margin-top: 10px;
}

/* Responsive Design for Related Articles */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .related-icon {
        align-self: center;
    }
    
    .rating-stars {
        gap: 3px;
    }
    
    .rating-star {
        font-size: 1.5rem;
    }
}

/* Glossary Page Styles */
.glossary-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.glossary-search {
    background: var(--bg-light);
    padding: 40px 0;
    margin: 40px 0;
    border-radius: var(--border-radius);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--secondary-color);
}

.search-results {
    margin-top: 20px;
}

.search-results h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.no-results {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px;
}

.glossary-categories {
    margin: 40px 0;
}

.glossary-categories h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.term-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.term-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.term-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.term-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
}

.term-category {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.term-definition {
    color: var(--text-secondary);
    line-height: 1.6;
}

.term-definition p {
    margin: 0;
}

.glossary-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 0;
    margin: 60px 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.glossary-cta h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.glossary-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn:hover {
    background: transparent;
    color: white;
}

/* Responsive Design for Glossary */
@media (max-width: 768px) {
    .glossary-hero {
        padding: 60px 0;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .search-box button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .term-item {
        padding: 20px;
    }
    
    .term-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}