/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.designflow-pro-theme {
    /* Primary color palette */
    --primary-color: #292524;

    /* Secondary colors */
    --secondary-color: #1f2937;
    --secondary-hover: #374151;
    --secondary-light: #4b5563;
    --secondary-dark: #111827;

    /* Neutral colors */
    --background-color: #f5f5f5;
    --white: #ffffff;
    --border-color: #e5e7eb;

    /* Typography */
    --font-family-base: 'DM Sans', sans-serif;
    --font-family-heading: 'Playfair Display', serif;
    --font-size: 16px;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.designflow-pro-theme {
    scroll-behavior: smooth;
}

.designflow-pro-theme {
    font-family: var(--font-family-base);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.designflow-pro-theme a,
.designflow-pro-theme button {
    cursor: pointer;
}

/* Scrollbar Styles */
.designflow-pro-theme ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.designflow-pro-theme ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

.designflow-pro-theme ::-webkit-scrollbar-track {
    background: var(--white);
}

.designflow-pro-theme ::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* -----------------------
Header Styles 
----------------------- */
/* Logo hover effect */
.designflow-pro-theme .logo-hover {
    transition: transform 0.2s ease;
}

.designflow-pro-theme .logo-hover:hover {
    transform: scale(1.05);
}
.designflow-pro-theme nav .nav-link {
    position: relative;
    overflow: hidden;
}

.designflow-pro-theme nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Mobile Menu Toggle Animation */
.designflow-pro-theme .menu-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.designflow-pro-theme .menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.designflow-pro-theme .menu-toggle span:nth-child(1) {
    top: 4px;
}

.designflow-pro-theme .menu-toggle span:nth-child(2) {
    top: 11px;
    right: 0;
    width: 75%;
}

.designflow-pro-theme .menu-toggle span:nth-child(3) {
    top: 18px;
    right: 0;
    width: 50%;
}

.designflow-pro-theme .menu-toggle.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.designflow-pro-theme .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.designflow-pro-theme .menu-toggle.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
    width: 100%;
}

/* Off-canvas Overlay */
.designflow-pro-theme .offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.designflow-pro-theme .offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Off-canvas Menu */
.designflow-pro-theme .offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.8) 0%, rgba(255, 253, 253, 0.7) 100%);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.designflow-pro-theme .offcanvas-menu.active {
    transform: translateX(0);
}

.designflow-pro-theme .offcanvas-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.designflow-pro-theme .offcanvas-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.designflow-pro-theme .offcanvas-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.designflow-pro-theme .offcanvas-nav {
    padding: 24px;
    flex: 1;
}

.designflow-pro-theme .offcanvas-nav-item {
    margin-bottom: 8px;
    position: relative;
}

.designflow-pro-theme .offcanvas-nav-link {
    display: flex;
    padding: 12px 16px;
    color: var(--primary-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    text-decoration: none;
}

.designflow-pro-theme .offcanvas-nav-link:hover,
.designflow-pro-theme .offcanvas-nav-link.active {
    background-color: rgba(130, 130, 130, 0.149);
    color: var(--white);
    font-weight: 600;
    padding-left: 20px;
}

@media (min-width: 768px) {
    .designflow-pro-theme .offcanvas-overlay,
    .designflow-pro-theme .offcanvas-menu {
        display: none !important;
    }
}

/* --------------------------
Utility Classes
-------------------------- */
.designflow-pro-theme .text-primary {
    color: var(--primary-color) !important;
}

.designflow-pro-theme .text-secondary {
    color: var(--secondary-color) !important;
}

.designflow-pro-theme .text-white {
    color: var(--white) !important;
}

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

.designflow-pro-theme .bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Begin: Button Styles */
.designflow-pro-theme .btn-primary {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-pill);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    background-color: #f4f4f41e;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.designflow-pro-theme .btn-primary .arrow {
    margin-left: 0.3rem;
    height: 1.2rem;
    width: 1.2rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.designflow-pro-theme .btn-primary:hover .arrow {
    transform: rotate(0deg);
}

.designflow-pro-theme .btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

@media screen and (max-width: 640px) {
    .designflow-pro-theme .btn-primary {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 14px;
    }
}

.designflow-pro-theme .btn-secondary {
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.designflow-pro-theme .btn-secondary .arrow {
    height: 16px;
    width: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.designflow-pro-theme .btn-secondary:hover .arrow {
    transform: translateX(2px);
}

.designflow-pro-theme .btn-arrow {
    font-weight: 400;
    font-size: 1rem;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.designflow-pro-theme .btn-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -1rem;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgb(232, 232, 232);
    border-radius: var(--radius-pill);
    z-index: -1;
}

.designflow-pro-theme .btn-arrow .arrow {
    margin-left: 0.2rem;
    height: 1rem;
    width: 1rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.designflow-pro-theme .btn-arrow:hover .arrow {
    transform: rotate(0deg) translateX(2px);
}

/* End: Button Styles */

/* Font family utilities */
.designflow-pro-theme .font-heading {
    font-family: var(--font-family-heading);
}

.designflow-pro-theme .font-base {
    font-family: var(--font-family-base);
}

/* Blog Content Styles */
.designflow-pro-theme .blog-content h1,
.designflow-pro-theme .blog-content h2,
.designflow-pro-theme .blog-content h3,
.designflow-pro-theme .blog-content h4,
.designflow-pro-theme .blog-content h5,
.designflow-pro-theme .blog-content h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1f2937;
}

.designflow-pro-theme .blog-content h1 {
    font-size: 2.25rem;
}

.designflow-pro-theme .blog-content h2 {
    font-size: 1.875rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.designflow-pro-theme .blog-content h3 {
    font-size: 1.5rem;
}

.designflow-pro-theme .blog-content h4 {
    font-size: 1.25rem;
}

.designflow-pro-theme .blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.designflow-pro-theme .blog-content p:first-child {
    font-size: 1.25rem;
    color: #4b5563;
    font-weight: 400;
}

.designflow-pro-theme .blog-content ul,
.designflow-pro-theme .blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.designflow-pro-theme .blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.designflow-pro-theme .blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.125rem;
    color: #4b5563;
}

.designflow-pro-theme .blog-content code {
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #dc2626;
}

.designflow-pro-theme .blog-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.designflow-pro-theme .blog-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.designflow-pro-theme .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.designflow-pro-theme .blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.designflow-pro-theme .blog-content a:hover {
    color: #000000;
    text-decoration-thickness: 3px;
}
