/* ============================================
   Bluewater Business Solutions - Custom Styles
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3399ff;
    --primary-subtle: rgba(0, 102, 204, 0.1);

    /* Secondary Colors */
    --secondary: #1a1a2e;
    --secondary-light: #2d2d44;

    /* Accent Colors */
    --accent: #00b4d8;
    --accent-light: #90e0ef;

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

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', var(--font-primary);

    /* Spacing */
    --section-padding: 100px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.py-6 {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* ============================================
   Navigation
   ============================================ */
#mainNav {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: transparent;
}

#mainNav.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

#mainNav .logo {
    height: 75px;
    transition: var(--transition);
}

/* Inner pages with dark headers - light navbar */
.page-header-dark #mainNav:not(.scrolled) {
    background-color: transparent;
}

.page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link {
    color: var(--white);
}

.page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link:hover,
.page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link.active {
    color: var(--accent-light);
}

.page-header-dark #mainNav:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.page-header-dark #mainNav:not(.scrolled) .navbar-toggler-icon {
    filter: invert(1);
}

.page-header-dark #mainNav:not(.scrolled) .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.page-header-dark #mainNav:not(.scrolled) .btn-primary:hover {
    background: var(--gray-100);
}

#mainNav .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

#mainNav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

#mainNav .navbar-nav .nav-link:hover::after,
#mainNav .navbar-nav .nav-link.active::after {
    width: 60%;
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    background: var(--gradient-primary);
}

.btn-outline-dark {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
}

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

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 50%, #fff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
}

.stat-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.code-window {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 0;
    width: 400px;
    box-shadow: var(--shadow-xl);
}

.window-header {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca40;
}

.window-content {
    padding: 1.5rem;
}

.window-content pre {
    margin: 0;
    font-size: 0.9rem;
}

.window-content code {
    color: #e9ecef;
    font-family: 'Fira Code', monospace;
}

.code-keyword {
    color: #c792ea;
}

.code-function {
    color: #82aaff;
}

.code-property {
    color: #f78c6c;
}

.code-string {
    color: #c3e88d;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-card span {
    font-weight: 600;
    color: var(--dark);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: 0;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 10%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

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

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

/* ============================================
   Services Section
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card.featured .service-link {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff6b6b;
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.service-features li i {
    color: var(--primary);
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section .lead {
    font-size: 1.25rem;
    color: var(--gray-700);
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 300px;
    background: var(--gray-200);
    border-radius: var(--radius-xl);
    border: 5px solid var(--white);
}

.about-pattern {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.5;
}

.experience-badge {
    position: absolute;
    bottom: 30%;
    right: -10%;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 10;
}

.experience-badge h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0;
}

.experience-badge p {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature .feature-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.about-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ============================================
   Products Section
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.product-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-image.hospitality {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.portfolio-image.vacation {
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
}

.portfolio-image.resort {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-image.corporate {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-content h4 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.portfolio-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

.portfolio-card.cta-card {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

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

.cta-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

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

.author-info h5 {
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gray-100);
}

.cta-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 4rem;
}

.cta-wrapper h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-wrapper p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-info {
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-content p {
    margin: 0;
}

.contact-content a {
    color: var(--gray-600);
}

.contact-content a:hover {
    color: var(--primary);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding-top: 5rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 100;
}

.footer-logo {
    height: 125px;
    filter: brightness(0) invert(1);
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-legal-link {
    color: var(--gray-400);
    margin-left: 1.5rem;
}

.footer-legal-link:hover {
    color: var(--white);
}

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

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary-light) 100%);
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    z-index: 0;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

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


.blog-card .blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
}

.blog-card .blog-image.img-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card .blog-image.img-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.blog-card .blog-image.img-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.blog-card .blog-image.img-5 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.blog-card .blog-image.img-6 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.blog-card .blog-image.img-7 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-meta i {
    margin-right: 0.25rem;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--dark);
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    flex: 1;
}

.read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Featured Post */
.featured-post .blog-image {
    height: 300px;
}

.featured-post h2 {
    font-size: 1.75rem;
}

/* Blog Section */
.blog-section {
    position: relative;
    z-index: 1;
    background: var(--white);
    isolation: isolate;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

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

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.search-form .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.search-form .form-control {
    border: 1px solid var(--gray-300);
    border-right: none;
}

.search-form .btn {
    padding: 0.75rem 1rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--gray-700);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    color: var(--gray-500);
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.recent-post-image {
    width: 80px;
    height: 60px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-sm);
}

.recent-post-image.img-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.recent-post-image.img-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.recent-post-content h5 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-content h5 a {
    color: var(--dark);
}

.recent-post-content h5 a:hover {
    color: var(--primary);
}

.recent-post-content span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.article-tags a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.article-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

.newsletter-widget {
    background: var(--gradient-primary);
    color: var(--white);
}

.newsletter-widget .widget-title {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    opacity: 0.9;
}

.newsletter-form .form-control {
    border: none;
}

/* Blog Pagination */
.blog-pagination .pagination {
    gap: 0.5rem;
}

.blog-pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 500;
}

.blog-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.blog-pagination .page-link:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--primary);
}

/* Pagingrow - matches blog-pagination style */
.pagingrow {
    margin-top: 2rem;
}

.pagingrow .dataTables_info {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pagingrow .pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagingrow .pagination li {
    display: inline-block;
}

.pagingrow .pagination li a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 500;
    background: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.pagingrow .pagination li.active a,
.pagingrow .pagination li a.active,
.pagingrow .pagination li a.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagingrow .pagination li a:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--primary);
}

.pagingrow .pagination li.active a:hover,
.pagingrow .pagination li a.active:hover,
.pagingrow .pagination li a.selected:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.pagingrow .pagination li.next a,
.pagingrow .pagination li.prev a {
    font-size: 0.85rem;
}

/* ============================================
   Single Blog Post Styles
   ============================================ */
.article-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary-light) 100%);
    padding: 160px 0 60px;
    position: relative;
    z-index: 0;
}

.article-header .breadcrumb {
    background: transparent;
    margin-bottom: 1.5rem;
}

.article-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.article-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

.article-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* .article-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
} */

.article-category a {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--white);
    font-weight: 600;
}

.publish-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
}

.article-stats span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-stats i {
    margin-right: 0.35rem;
}

/* Featured Image */
.article-featured-image {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.featured-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.featured-image {
    height: 450px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* Article Body */
.article-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    isolation: isolate;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body .lead {
    font-size: 1.35rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.article-body h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
    background: var(--primary-subtle);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    color: var(--white);
    font-size: 1.1rem;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    margin: 0;
    font-size: 1rem;
}

/* Code Block */
.code-block {
    background: var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1.5rem 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.code-header span {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.copy-code-btn {
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-code-btn:hover {
    color: var(--white);
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    color: #e9ecef;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Blockquote */
.article-quote {
    background: var(--gray-100);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 2rem;
    margin: 2rem 0;
}

.article-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1rem;
}

.article-quote cite {
    color: var(--gray-600);
    font-style: normal;
}

/* Article Tags */
.article-tags {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.tags-label {
    font-weight: 600;
    color: var(--dark);
    margin-right: 0.75rem;
}

/* Share Buttons */
.share-buttons-floating {
    position: fixed;
    left: calc(50% - 450px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

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

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #000;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.copy-link {
    background: var(--gray-600);
}

.share-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.share-buttons-mobile {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.share-buttons-mobile .share-label {
    display: block;
    margin-bottom: 1rem;
}

.share-buttons-mobile .share-btns {
    display: flex;
    gap: 0.75rem;
}

/* Author Box */
.author-box {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

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

.author-box-content h4 {
    margin-bottom: 0.5rem;
}

.author-box-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

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

.author-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    gap: 2rem;
}

.post-nav-link {
    flex: 1;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.post-nav-link:hover {
    background: var(--primary-subtle);
}

.post-nav-link.next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
}

.comments-title {
    margin-bottom: 2rem;
}

.comment-form-wrapper {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.comment-form-wrapper h4 {
    margin-bottom: 1.5rem;
}

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

.comment {
    display: flex;
    gap: 1rem;
}

.comment.reply {
    margin-left: 4rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.comment-content {
    flex: 1;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-header h5 {
    margin: 0;
    font-size: 1rem;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* Related Posts */
.related-posts {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.related-posts .section-title {
    margin-bottom: 0;
}

/* ============================================
   Template Page Styles
   ============================================ */
.content-section {
    background: var(--white);
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.content-block h2 {
    margin-bottom: 1.5rem;
}

.placeholder-image {
    height: 300px;
    background: var(--gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-item .feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-600);
    margin: 0;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--dark);
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-subtle);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Content CTA */
.content-cta {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.content-cta h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.content-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Page Sidebar */
.page-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    padding: 0.5rem 0;
}

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

.quick-links a i {
    font-size: 0.8rem;
}

.contact-widget p {
    margin-bottom: 1rem;
}

.contact-widget .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-widget .contact-item i {
    color: var(--primary);
}

.resource-widget {
    text-align: center;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.resource-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.resource-widget h4 {
    margin-bottom: 0.5rem;
}

.resource-widget p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.testimonial-widget .sidebar-testimonial {
    position: relative;
    padding-top: 1rem;
}

.testimonial-quote {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: var(--primary-subtle);
    line-height: 1;
}

.testimonial-quote i {
    color: var(--primary);
    opacity: 0.3;
}

.sidebar-testimonial p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

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

.info-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-card-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-card h4 {
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1400px) {
    .share-buttons-floating {
        display: none;
    }
}

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

    .hero-image {
        display: none;
    }

    .article-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .py-6 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .about-image-wrapper {
        height: 400px;
        margin-bottom: 2rem;
    }

    .cta-wrapper {
        padding: 3rem 2rem;
        text-align: center;
    }

    .page-title {
        font-size: 2.5rem;
    }

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

    .post-navigation {
        flex-direction: column;
    }

    .comment.reply {
        margin-left: 2rem;
    }
}

@media (max-width: 767px) {
    #mainNav {
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }

    /* Reset dark header nav styles on mobile - always use white bg */
    .page-header-dark #mainNav:not(.scrolled) {
        background-color: var(--white);
        box-shadow: var(--shadow-sm);
    }

    .page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link {
        color: var(--dark);
    }

    .page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link:hover,
    .page-header-dark #mainNav:not(.scrolled) .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .page-header-dark #mainNav:not(.scrolled) .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .page-header-dark #mainNav:not(.scrolled) .navbar-toggler-icon {
        filter: none;
    }

    .page-header-dark #mainNav:not(.scrolled) .btn-primary {
        background: var(--gradient-primary);
        color: var(--white);
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 150px;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .service-card {
        padding: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-image {
        height: 250px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box-avatar {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .comment.reply {
        margin-left: 0;
    }

    .blog-sidebar {
        margin-top: 3rem;
    }

    .page-sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 130px;
        padding-bottom: 180px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .cta-wrapper {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body .lead {
        font-size: 1.15rem;
    }

    .info-box {
        flex-direction: column;
    }
}
