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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 9px hsl(0deg 0% 0% / 17%);
    transition: 0.3s;
}
header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo img {
    width: 150px;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #000;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .wp-block-button a, .template-link {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    min-width: 160px;
    justify-content: center;
}

.btn-primary, .wp-block-button a, .template-link  {
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover , .wp-block-button a:hover, .template-link:hover{
    background-color: #333;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.template-content .template-card {
    transform: translate(0px, 0px) !important;
    box-shadow: none;
    overflow: visible;
}

.template-content .template-card a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s !important;
}

.template-content .template-card:hover {
    box-shadow: none !important;
}

.template-content .template-card a br {
    display: none;
}

.template-link br{
    display:none;
}

.wp-block-button a::after {
    content: "→";
    margin-left: 8px;
    font-weight: bold;
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
}

.btn-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    min-width: 200px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: #fff;
    color: #333;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #000;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #000;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 50px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

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

.hero-content .wp-block-buttons {
    justify-content: center;
    margin-top: 50px;
}

.hero-content .wp-block-button {
    margin: 0 10px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #000;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #000;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 50px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Template Library */
.template-library {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.template-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.template-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-tags {
    padding: 15px 20px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tag.category {
    background-color: #e3f2fd;
    color: #1976d2;
}

.tag.difficulty {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.tag.difficulty.beginner {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.tag.difficulty.intermediate {
    background-color: #fff3e0;
    color: #f57c00;
}

.tag.difficulty.advanced {
    background-color: #ffebee;
    color: #c62828;
}

.template-card h3 {
    padding: 0 20px 10px;
    font-size: 18px;
    font-weight: 600;
}

.template-card h3 a {
    color: #333;
    text-decoration: none;
}

.template-card h3 a:hover {
    color: #000;
}

.template-card p {
    padding: 0 20px 15px;
    color: #666;
    font-size: 14px;
}

.card-details {
    padding: 0 20px 20px;
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
}

.card-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.template-card .btn-primary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    justify-content: center;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form h3,
.contact-email h3,
.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
}

.contact-email {
    margin-bottom: 40px;
}

.email-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 20px;
}

ul {
    margin-left: 0 !important;
}


.contact-info li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.contact-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.response-time {
    font-size: 14px;
    color: #666;
    font-style: italic;
}
.logo-text{
	text-decoration:none;
    color:#000
   }

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
}

.footer-links h4,
.footer-community h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-community ul {
    list-style: none;
}

.footer-links li,
.footer-community li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-community a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-community a:hover {
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-description,
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .header-right {
        gap: 15px;
        display:none;
    }
    .header .container {
    	justify-content: center;
	}
    
    .nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-description,
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 160px;
    }
}

.home .hero h2.wp-block-heading:before {
    content: "";
    margin-right: 20px;
    background-size: contain;
    width: 200px;
    height: 60px;
    background-image: url(../n8n-logo.png);
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(16px);
}

pre, code {
max-width: 100%;
white-space: pre-wrap;
word-wrap: break-word;
overflow-x: auto;
box-sizing: border-box;
}

/* Comments Section */
.comments-section {
    margin-top: 30px;
    padding-top: 0px;
    border-top: 1px solid #e9ecef;
}

.comments-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

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

.comment-list .children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #000;
}

.comment-author {
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.6;
    color: #333;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 15px;
}

.reply a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.reply a:hover {
    background: #000;
    color: #fff;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment-respond h3 {
    margin-bottom: 20px;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #000;
}

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

.comment-form .submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-self: start;
}

.comment-form .submit:hover {
    background: #333;
    transform: translateY(-2px);
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    margin: 0;
}

/* Comment Navigation */
.comment-navigation {
    margin-bottom: 30px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
    margin-right: 20px;
}

.comment-navigation a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

a.template-link-sidebar{
	margin-top:10px;
}

.pagination a.page.larger, .pagination a.page.smaller , a.nextpostslink, a.previouspostslink {
    padding: 7px 10px;
    text-decoration: none;
    color: #000;
    border: 1px solid;
    line-height: 1;
    border-radius: 6px;
    min-width: 32px;
    text-align: center;
    transition: 0.3s;
    display:inline-block;
    margin: 0 3px;
}

.pagination span.current {
    padding: 7px 10px;
    text-decoration: none;
    color: #fff;
    border: 1px solid;
    line-height: 1;
    border-radius: 6px;
    background: #000;
    min-width: 35px;
    text-align: center;
    border: 1px solid;
    display:inline-block
}

a.page.larger:hover, a.page.smaller:hover {
    background: #000;
    color: #fff;
    border:1px solid #000;
}

a.prev.page-numbers, a.nextpostslink, a.previouspostslink {
    border-color: #fff;
}

input.sf-input-text {
    padding: 10px;
    font-size: 16px;
    margin: auto;
    display: block;
    margin-bottom: 20px;
    width: 40%;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    transition: 0.3s;
}

li.sf-field-search label {
    width: 100%;
    display: block;
}

input.sf-input-text:focus {
    border: 1px solid black;
    outline: none;
}

/* AI Solutions Section */
.ai-solutions {
    padding: 80px 0;
    background-color: #f0f0f0;
    color: #333;
}

.ai-solutions .section-title {
    color: #000;
    font-size: 36px;
    margin-bottom: 16px;
}

.ai-solutions .section-subtitle {
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.ai-feature {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ai-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #000;
}

.ai-feature i {
    font-size: 48px;
    margin-bottom: 24px;
    color: #000;
    display: block;
}

.ai-feature h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.ai-feature p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

.ai-cta {
    text-align: center;
}

.ai-cta .btn-primary {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ai-cta .btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

@media (max-width : 768px){
        .ai-solutions .section-title {
        font-size: 28px;
    }
    
    .ai-solutions .section-subtitle {
        font-size: 16px;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ai-feature {
        padding: 30px 20px;
    }
    
    .ai-feature i {
        font-size: 40px;
    }
    
    .ai-feature h3 {
        font-size: 18px;
    }
}

@media (max-width : 480px){

	  
    .ai-solutions .section-title {
        font-size: 24px;
    }
    
    .ai-solutions .section-subtitle {
        font-size: 14px;
    }
    
    .ai-feature {
        padding: 25px 15px;
    }
    
    .ai-feature i {
        font-size: 36px;
    }
    
    .ai-feature h3 {
        font-size: 16px;
    }
    
    .ai-cta .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}