

/*
Theme Name: PK Basnet
Theme URI: https://example.com
Author: PK Basnet
Author URI: https://example.com
Description: A modern, multi-purpose WordPress theme with gradient hero, animated sections, and comprehensive service showcase. Perfect for technology, research, and engineering companies.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pk-basnet
Tags: business, corporate, multi-purpose, responsive, modern, animated
*/

:root {
    --background: 210 20% 98%;
    --foreground: 215 25% 15%;
    --card: 0 0% 100%;
    --card-foreground: 215 25% 15%;
    --primary: 213 50% 23%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 20% 96%;
    --secondary-foreground: 215 25% 15%;
    --muted: 210 15% 94%;
    --muted-foreground: 215 15% 45%;
    --accent: 174 60% 40%;
    --accent-foreground: 0 0% 100%;
    --border: 214 20% 88%;
    --input: 214 20% 88%;
    --ring: 213 50% 23%;
    --gradient-hero: linear-gradient(135deg, hsl(213 50% 23%) 0%, hsl(213 45% 32%) 50%, hsl(174 60% 35%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(174 60% 40%) 0%, hsl(174 50% 50%) 100%);
    --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 -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(22, 163, 145, 0.3);
}

* {
    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: hsl(var(--foreground));
    background: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Gutenberg Support */
.entry-content > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .alignwide {
    max-width: 1400px;
}

.entry-content > .alignfull {
    max-width: 100%;
}

/* Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* Elementor Compatibility */
.elementor-full-width {
    padding: 0;
}

.elementor-full-width .container {
    max-width: none;
    padding: 0;
}

.elementor-full-width .site-main {
    padding: 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 2rem;  /* Adjust this value as needed (e.g., 0.25rem for less, 0.75rem for more) */

}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    margin-top: 2rem;  /* Adjust this value as needed (e.g., 0.25rem for less, 0.75rem for more) */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
    border-radius: 0.375rem;
}

.nav-links a:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--muted));
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 2rem;  /* Adjust this value as needed (e.g., 0.25rem for less, 0.75rem for more) */
}

.cta-button:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: hsl(var(--foreground));
    margin: 0.25rem 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-bg-blur-1 {
    position: absolute;
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: hsl(var(--accent));
    filter: blur(64px);
}

.hero-bg-blur-2 {
    position: absolute;
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: hsl(var(--primary-foreground));
    filter: blur(64px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    padding: -5rem 2rem 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease-out forwards;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: hsl(var(--accent));
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.hero h1 .accent-text {
    color: hsl(var(--accent));
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeUp 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: hsl(var(--accent-foreground));
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: hsl(var(--primary-foreground));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    animation: fadeUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--accent));
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.scroll-indicator a:hover {
    color: hsl(var(--primary-foreground));
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-label {
    color: hsl(var(--accent));
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0.75rem 0 1rem;
    line-height: 1.2;
}

.section-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: hsl(var(--card));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s;
    cursor: pointer;
}

.service-card:hover {
    border-color: hsl(var(--accent) / 0.5);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--accent) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: hsl(var(--accent));
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--accent));
    transition: color 0.3s;
}

.service-card:hover .service-icon svg {
    color: hsl(var(--accent-foreground));
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: hsl(var(--accent));
}

.service-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
}

/* Footer */
footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: hsl(var(--accent));
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: hsl(var(--accent));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
    }
    50% {
        transform: translateY(0) translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: var(--shadow-lg);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    nav {
        height: 5rem;
    }
    
    .hero h1 {
        font-size: 3.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* blog css */


/* Blog Page */
.blog-page {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.blog-page .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: #00b8a9;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1rem 0;
}

.section-description {
    color: #64748b;
    font-size: 1.125rem;
}

/* Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Card */
.blog-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Content */
.post-content {
    padding: 1.75rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.post-title a {
    color: #1e293b;
    text-decoration: none;
}

.post-title a:hover {
    color: #00b8a9;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.875rem;
    color: #00b8a9;
    text-decoration: none;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

#load-more-posts {
    background: #00b8a9;
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

#loading-spinner {
    display: none;
    margin-top: 1rem;
    color: #64748b;
}

.blog-page article {
    margin: 0;
}


/* Responsive */
@media (max-width: 1024px) {
    .blog-posts-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .blog-posts-grid { grid-template-columns: 1fr; }
}

/* blog css */
