/*
Theme Name: AnishInfoways First
Description: Professional Information Technology Company website theme with modern design and animations
Version: 1.0
Author: Vishal Nigam
Text Domain: anishinfoways-first
*/

/* Import the main CSS file */
@import url('assets/css/main.css');

/* WordPress specific styles */
.wp-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wp-navigation {
    background: transparent;
}

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

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

.nav-menu li a:hover {
    color: #007bff;
}

.wp-content {
    min-height: 400px;
}

.wp-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

/* Blog specific styles */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

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

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-meta span {
    margin-right: 20px;
    color: #666;
    font-size: 14px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: #333;
    text-decoration: none;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Char Animation Fallback Styles */
.char-animation {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animation character styles */
.char-anim-char {
    display: inline-block;
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.char-anim-word {
    display: inline-block;
    white-space: nowrap;
}

/* Fallback for when JavaScript is disabled */
.no-js .char-animation {
    opacity: 1;
    transform: none;
}

/* Ensure text is visible during animation */
.char-animation * {
    opacity: inherit;
    visibility: inherit;
}
