/*
Theme Name: Astra Child
Theme URI: 
Description: Astra child theme
Author: 
Template: astra
Version: 1.0.0
*/

  :root {
            --primary-color: #0073e6;
            --secondary-color: #f4f7fc;
            --font-color: #333;
            --card-bg: #ffffff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 8px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            background-color: var(--secondary-color);
            color: var(--font-color);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* --- Header --- */
        header {
            padding: 20px 0;
            border-bottom: 1px solid #ddd;
            margin-bottom: 30px;
        }
        .header-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
        .header-logo-img {
            height: 50px;
            width: auto;
        }
        .header-text h1 {
            margin: 0;
            color: var(--primary-color);
        }
      .header-text p {
    margin: 0;
    font-size: 1.1em;
    color: #0056b3; 
}
        
        /* --- Keyframes for Animation --- */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        /* --- CTA Banner --- */
        .cta-banner {
            display: flex;
            align-items: center;
            background-color: var(--card-bg);
            padding: 20px 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 30px;
            gap: 20px;
            flex-wrap: wrap;
        }
        .cta-logo {
            width: 70px;
            height: 70px;
            border-radius: 22%;
            background: linear-gradient(45deg, #0073e6, #3399ff);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: bold;
            flex-shrink: 0;
            animation: pulse 2s ease-in-out infinite;
            box-shadow: 0 2px 8px rgba(0, 115, 230, 0.5);
        }
        .cta-text {
            flex-grow: 1;
        }
        .cta-text h3 {
            margin: 0 0 5px 0;
            color: var(--primary-color);
        }
        .cta-text p {
            margin: 0;
            color: #555;
        }
        .cta-button {
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.2s ease;
            white-space: nowrap;
        }
        .cta-button:hover {
            background-color: #0056b3;
            transform: scale(1.05);
        }

        /* --- Tab Navigation --- */
        .tab-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 30px;
            gap: 10px;
        }

        .tab-button {
            padding: 12px 25px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: var(--border-radius);
            background-color: var(--card-bg);
            transition: all 0.3s ease;
        }

        .tab-button:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .tab-button.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* --- Content & Cards --- */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }
        
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        .card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .card h3 {
            margin-top: 0;
            color: var(--primary-color);
            border-bottom: 2px solid var(--secondary-color);
            padding-bottom: 10px;
            margin-bottom: 15px;
        }

        .card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .card li {
            margin-bottom: 12px;
        }
        
        .card li ul {
            padding-left: 20px;
            margin-top: 10px;
        }

        .card a {
            text-decoration: none;
            color: #1a1a1a;
            font-weight: 500;
            display: flex;
            align-items: center;
            transition: color 0.3s ease;
        }
        
        .card a::before {
            content: '🔗';
            margin-right: 8px;
        }

        .card a:hover {
            color: var(--primary-color);
        }
        
        /* --- Footer --- */
        footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            background: var(--card-bg);
            border-top: 1px solid #ddd;
        }
      .copyright {
            color: #777;
            font-size: 0.9em;
            margin: 0;
        }
      
      /* --- Comments Section --- */
      
        .comment-form-comment textarea,
        .comment-form-author input,
        .comment-form-email input,
        .comment-form-url input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 16px;
            box-sizing: border-box;
            margin-bottom: 10px;
        }
        .comment-form-comment textarea:focus,
        .comment-form-author input:focus,
        .comment-form-email input:focus,
        .comment-form-url input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
        }
        .form-submit input#submit {
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .form-submit input#submit:hover {
            background-color: #0056b3;
            transform: scale(1.05);
        }
        #reply-title {
            color: var(--primary-color);
        }
        .comment-list {
            list-style: none;
            padding: 0;
        }
        .comment-list .comment {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        .comment-author img.avatar {
            border-radius: 50%;
            margin-right: 15px;
        }
        .comment-author cite.fn {
            font-weight: bold;
            font-style: normal;
        }
        .comment-meta {
            font-size: 0.9em;
            color: #777;
        }
        .comment-reply-link {
            font-size: 0.9em;
            font-weight: bold;
            text-decoration: none;
            color: var(--primary-color);
        }
        .comment-reply-link:hover {
            text-decoration: underline;
        }
        .comment-form-url {
    		display: none;
	    }
      
      /* Styles for AJAX Messages */
        #comment-messages .success,
        #comment-messages .error {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: var(--border-radius);
            border: 1px solid;
        }
        #comment-messages .success {
            background-color: #d4edda;
            border-color: #c3e6cb;
            color: #155724;
        }
        #comment-messages .error {
            background-color: #f8d7da;
            border-color: #f5c6cb;
            color: #721c24;
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            .header-text {
                text-align: center;
            }
            .cta-banner {
                flex-direction: column;
                text-align: center;
            }
        }
		/* --- Search Bar Styling --- */
        .search-bar {
            margin-bottom: 30px; /* Aligns with cta-banner and tab-nav margins */
            padding: 15px;
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .search-form {
            display: flex;
            gap: 10px;
        }

        .search-bar input[type="text"] {
            flex-grow: 1;
            padding: 12px 15px;
            border: 2px solid var(--secondary-color);
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .search-bar input[type="text"]:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.2);
        }

        .search-bar button[type="submit"] {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            white-space: nowrap;
        }

        .search-bar button[type="submit"]:hover {
            background-color: #0056b3;
            transform: scale(1.02);
        }