/**
 * Foresighted Life Theme - Bootstrap Overrides Only
 * Minimal custom styles that work with Bootstrap
 */

/* CSS Variables for consistent theming */
:root {
    /* Brand Colors */
    --primary-color: #4ac3ca;
    --primary-dark: #3aa9b0;
    --secondary-color: #45b7d1;
    --accent-color: #ff6b6b;

    /* Neutral Colors */
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.2);
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background-color: #3a9bc1;
    border-color: #3a9bc1;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    border-color: var(--gray-400);
    color: var(--gray-600);
}

.btn-outline-secondary:hover {
    background-color: var(--gray-600);
    border-color: var(--gray-600);
    color: var(--white);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Trust Indicators */
.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.trust-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* Hero Visual */
.hero-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.hero-icon {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    margin-bottom: 20px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

/* Daily Quote Section */
.daily-quote-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
}

.daily-quote-section::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="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.quote-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.quote-text {
    font-size: 1.75rem;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
    font-family: var(--font-secondary);
    margin: 0;
}

.quote-author {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 500;
    font-style: normal;
}

.quote-actions .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quote-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 195, 202, 0.4);
}

/* About Coach Section */
.about-coach-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.about-placeholder {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.placeholder-icon i {
    opacity: 0.9;
}

.about-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-placeholder p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--dark-color), var(--gray-800));
    color: var(--white);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 195, 202, 0.4);
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 195, 202, 0.25);
    color: var(--white);
}

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

.newsletter-form .btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.footer-bottom {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 25px 30px 20px;
}

.modal-title {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 20px 30px 25px;
    background: var(--gray-100);
    border-radius: 0 0 15px 15px;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 195, 202, 0.25);
}

.form-check-input {
    border: 2px solid var(--gray-300);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.8;
}

/* About Content Section */
.about-content-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.about-text .section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.about-text .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: left;
}

.about-text .about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.about-image {
    position: relative;
    display: inline-block;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.decoration-1 {
    width: 20px;
    height: 20px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 15px;
    height: 15px;
    top: 70%;
    right: -5%;
    animation-delay: 1s;
}

.decoration-3 {
    width: 25px;
    height: 25px;
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

/* Contact Template Styles */
.contact-hero-section {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-feature {
    text-align: center;
    padding: 20px 15px;
}

.hero-feature i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.contact-content-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.contact-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-method-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-method-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-method-content p {
    color: var(--gray-600);
    margin: 0;
}

/* Blog Section Styles */
.blog-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-600);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    font-size: 12px;
}

/* Single Post Hero Section */
.single-post-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.single-post-hero::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="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.post-hero-content {
    position: relative;
    z-index: 2;
}

.post-breadcrumb {
    font-size: 0.95rem;
}

.post-breadcrumb a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.post-breadcrumb a:hover {
    color: var(--white) !important;
}

.post-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: var(--font-secondary);
}

.post-hero-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* Single Post Content Section */
.single-post-content {
    background: var(--gray-100);
    padding: 80px 0;
}

.single-post-article {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.post-featured-image {
    border-radius: 15px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-normal);
}

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

.post-content-wrapper {
    margin-bottom: 40px;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--dark-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.post-content h1 { font-size: 2.5rem; }
.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.75rem; }
.post-content h4 { font-size: 1.5rem; }
.post-content h5 { font-size: 1.25rem; }
.post-content h6 { font-size: 1.125rem; }

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 2rem 3rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 0 15px 15px 0;
    font-size: 1.25rem;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-secondary);
}

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

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--gray-900);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
}

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

/* Post Tags Section */
.post-tags-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.tags-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.post-tags a {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin: 0 8px 8px 0;
    transition: var(--transition-fast);
    font-weight: 500;
}

.post-tags a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 195, 202, 0.4);
}

/* Post Social Sharing */
.post-sharing-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.sharing-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.post-sharing .sharing-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-sharing .sharing-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 14px;
}

.post-sharing .sharing-btn.facebook {
    background: #3b5998;
}

.post-sharing .sharing-btn.twitter {
    background: #000000;
}

.post-sharing .sharing-btn.linkedin {
    background: #0077b5;
}

.post-sharing .sharing-btn.whatsapp {
    background: #25d366;
}

.post-sharing .sharing-btn.email {
    background: var(--gray-600);
}

.post-sharing .sharing-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Author Bio Section */
.author-bio-card {
    background: var(--gray-100);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.author-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social .social-link {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.author-social .social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.post-navigation a {
    flex: 1;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    max-width: 48%;
    height: 120px;
    overflow: hidden;
}

.post-navigation a:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-post {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    justify-content: center;
}

.nav-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.6em;
}

/* WordPress Post Navigation Overrides */
.post-navigation .nav-links {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.post-navigation .nav-previous {
    flex: 0 0 auto !important;
    margin-right: auto !important;
    text-align: left !important;
    max-width: 48% !important;
}

.post-navigation .nav-next {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    text-align: right !important;
    max-width: 48% !important;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    width: 100% !important;
    max-width: 100% !important;
}

/* Hide the default WordPress post navigation title */
.post-navigation h2 {
    display: none !important;
}

.post-navigation .screen-reader-text {
    display: none !important;
}

/* Related Posts */
.related-posts-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.related-post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

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

.related-post-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

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

.related-post-content {
    padding: 20px;
}

.related-post-title {
    margin-bottom: 10px;
}

.related-post-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Page Template Styles */
.page-article {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    padding: 60px;
    margin: 40px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-body {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.page-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .single-post,
    .page-article {
        padding: 30px 20px;
        margin: 20px 0;
    }

    .single-post .post-title,
    .page-title {
        font-size: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .quote-card {
        padding: 40px 20px;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .about-visual {
        margin-top: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 1rem 0;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .single-post,
    .page-article {
        padding: 20px 15px;
    }

    .single-post .post-title,
    .page-title {
        font-size: 1.75rem;
    }

    /* Single Post Mobile Styles */
    .single-post-hero {
        padding: 60px 0 40px;
    }

    .post-hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .post-hero-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .meta-item {
        justify-content: center;
        flex: 0 0 auto;
        min-width: auto;
    }

    .meta-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .meta-item span {
        font-size: 0.85rem;
    }

    .single-post-content {
        padding: 40px 0;
    }

    .single-post-article {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content h1 { font-size: 1.75rem; }
    .post-content h2 { font-size: 1.5rem; }
    .post-content h3 { font-size: 1.25rem; }

    .post-content blockquote {
        padding: 1.5rem;
        margin: 1.5rem 0;
        font-size: 1rem;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .post-navigation a {
        max-width: 100%;
        height: 100px;
    }

    .nav-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .related-post-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .single-post-article {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .post-hero-title {
        font-size: 1.75rem;
    }

    .post-breadcrumb {
        font-size: 0.85rem;
    }

    .post-hero-meta {
        gap: 8px;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .meta-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .meta-item span {
        font-size: 0.8rem;
    }

    .post-content blockquote::before {
        font-size: 2.5rem;
        top: -5px;
        left: 10px;
    }

    /* Comments Mobile Styles */
    .comment-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .comment-meta {
        flex-direction: column;
        gap: 10px;
    }

    .comment-navigation .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .comment-form {
        padding: 25px 20px;
    }

    .comment-form h3 {
        font-size: 1.25rem;
    }

    .comment-notes {
        font-size: 0.8rem;
        padding: 12px;
    }
}

/* Search Results Pages Styles */
.search-hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.search-hero-section::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="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.search-hero-content {
    position: relative;
    z-index: 2;
}

.search-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.search-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.search-hero-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .search-input-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--dark-color);
    outline: none;
    border-radius: 50px;
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-btn {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 195, 202, 0.4);
}

.search-results-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.search-result-item {
    margin-bottom: 30px;
}

.search-result-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.search-result-header {
    margin-bottom: 15px;
}

.search-result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.search-result-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-meta i {
    color: var(--primary-color);
}

.search-result-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-category {
    color: var(--primary-color);
    font-weight: 500;
}

.search-result-title {
    margin-bottom: 15px;
}

.search-result-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    transition: var(--transition-fast);
}

.search-result-title a:hover {
    color: var(--primary-color);
}

.search-result-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.search-result-excerpt mark {
    background: rgba(74, 195, 202, 0.2);
    color: var(--dark-color);
    padding: 2px 4px;
    border-radius: 3px;
}

.search-result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-result-footer .btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.search-result-footer .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.search-result-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--gray-600);
}

.search-result-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-stats i {
    color: var(--primary-color);
}

.no-search-results {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-search-results h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-search-results p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.search-suggestions {
    margin-top: 40px;
}

.search-suggestions h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.suggestion-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    margin-bottom: 15px;
}

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

.suggestion-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.suggestion-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.suggestion-card:hover .suggestion-thumbnail img {
    transform: scale(1.1);
}

.suggestion-title {
    margin-bottom: 5px;
}

.suggestion-title a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.suggestion-title a:hover {
    color: var(--primary-color);
}

.suggestion-meta {
    font-size: 14px;
    color: var(--gray-600);
}

.search-pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.search-pagination {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.search-pagination a,
.search-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.search-pagination a {
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--gray-300);
}

.search-pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.search-pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

/* Comments Section Styles */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.comments-section {
    margin-bottom: 50px;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-family: var(--font-secondary);
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.comment-wrapper {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.comment-wrapper:hover {
    box-shadow: var(--shadow-md);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    margin-bottom: 15px;
}

.comment-author {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.comment-author a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.comment-author a:hover {
    color: var(--primary-color);
}

.comment-meta {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.comment-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-meta i {
    color: var(--primary-color);
    font-size: 12px;
}

.comment-awaiting-moderation {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.comment-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.comment-navigation {
    margin: 30px 0;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.comment-navigation a {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.comment-navigation a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.comments-closed-notice {
    text-align: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: 12px;
    margin: 40px 0;
}

.no-comments {
    color: var(--gray-600);
    font-style: italic;
    margin: 0;
}

/* Comment Form Styles */
.comment-form {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.comment-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.comment-notes {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.comment-form .form-group {
    margin-bottom: 25px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.comment-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-color);
    background: var(--white);
    transition: var(--transition-fast);
}

.comment-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 195, 202, 0.1);
}

.comment-form .form-control::placeholder {
    color: var(--gray-500);
}

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

.comment-form .btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comment-form .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 195, 202, 0.4);
}

/* Contact Form 7 Styles */
.wpcf7 {
    margin-top: 20px;
}

.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.wpcf7-form .wpcf7-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark-color);
    background: var(--white);
    transition: var(--transition-fast);
    font-family: inherit;
}

.wpcf7-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 195, 202, 0.1);
}

.wpcf7-form .wpcf7-textarea {
    resize: vertical;
    min-height: 100px;
}

.wpcf7-form .wpcf7-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wpcf7-form .wpcf7-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 195, 202, 0.4);
}

.wpcf7-form .wpcf7-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.wpcf7-not-valid {
    border-color: #dc2626 !important;
}

/* Contact Form Grid Layout */
.contact-form-wrapper {
    margin-top: 20px;
}

.contact-form-card {
    border: none;
    box-shadow: var(--shadow-sm);
    border-radius: 15px;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.contact-form-subtitle {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-color);
    background: var(--white);
    transition: var(--transition-fast);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 195, 202, 0.1);
}

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

.contact-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

/* Blog Card Styles */
.blog-card {
    height: 100%;
    transition: var(--transition-normal);
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

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

.blog-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-600);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--gray-600);
}

.blog-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Testimonial Card Styles */
.testimonial-card {
    height: 100%;
    border: none;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-content {
    padding: 40px 30px;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.star {
    font-size: 1.25rem;
    color: #ffc107;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-600);
}

/* Navigation */
.navbar-brand h1 {
    color: var(--dark-color);
    font-weight: 700;
}

/* Bootstrap Navbar Styling */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(74, 195, 202, 0.1);
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--white);
    background: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-item.current-menu-item .nav-link,
.navbar-nav .nav-item.current_page_item .nav-link {
    color: var(--white);
    background: var(--primary-color);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky Header */
.sticky-top {
    top: 0;
    z-index: 1020;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-2 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }
}

/* Ensure content is visible */
.hero-section,
.blog-section,
.latest-posts-section,
.testimonials-section,
.cta-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Page structure */
#page {
    display: block !important;
}

.site-header {
    display: block !important;
}

.site-footer {
    display: block !important;
}