/*
Theme Name: Saudi Trainers
Theme URI: https://secureai.com/themes/saudi-trainers
Author: Secure AI
Author URI: https://secureai.com
Description: A high-quality, professional 3D infographic dashboard showcasing the features of 'Astra Pro WordPress Theme'. The central element is a sleek, modern laptop displaying a fast-loading website. Surrounding the laptop are floating stylized icons and text labels organized into 6 main categories: 1. Header & Footer (Sticky, Transparent, Mega Menu), 2. Custom Layouts (Hooks, 404 Pages), 3. Content Layouts (Grid, Masonry, Spacing), 4. WooCommerce Pro (Quick View, Infinite Scroll), 5. Colors & Typography (Global Colors, Custom Fonts), 6. LMS Integration (LearnDash, LifterLMS). Use a professional color palette of deep blue, white, and accents of orange.
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: sauditrainers
Tags: three-columns, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, e-commerce, education
*/

/* Reset & Basic Styles */
:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #ffffff; /* White */
    --accent-color: #ff6600; /* Orange */
    --text-color: #333333;
    --background-color: #f4f6f8;
    --font-primary: 'Inter', sans-serif; /* Modern, clean font */
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }

/* 3.0 Header */
.site-header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.site-header.sticky {
    position: sticky;
    top: 0;
    animation: slideDown 0.3s ease forwards;
}

.site-header.transparent {
    background-color: transparent;
    position: absolute;
    width: 100%;
    box-shadow: none;
    color: var(--secondary-color);
}
.site-header.transparent a {
    color: var(--secondary-color);
}
.site-header.transparent a:hover {
    color: var(--accent-color);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}
.main-navigation a {
    font-weight: 500;
    font-size: 1rem;
}


/* 4.0 Layouts */
.site-content {
    padding: 40px 0;
}
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 5.0 Buttons */
.button, button, input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background-color: var(--accent-color);
}

/* 6.0 Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
    margin-top: 60px;
}
.site-footer h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.site-footer a {
    color: rgba(255,255,255,0.8);
}
.site-footer a:hover {
    color: var(--accent-color);
}
.footer-widgets {
    margin-bottom: 40px;
}

/* 7.0 Sidebar */
.widget-area {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.widget {
    margin-bottom: 40px;
}
.widget-title {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.widget li:last-child {
    border-bottom: none;
}

/* 8.0 404 Page */
.error-404 {
    text-align: center;
    padding: 80px 0;
}
.error-404 h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 9.0 Sticky Header Active State */
.site-header.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease forwards;
    padding: 0.5rem 0;
}
.site-header.sticky-active.transparent {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
}
.site-header.sticky-active.transparent a {
    color: var(--primary-color);
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* 10.0 WooCommerce & LMS Basic Overrides */
.woocommerce ul.products li.product,
.learndash-wrapper .ld-course-list-items .ld_course_grid {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.woocommerce ul.products li.product:hover,
.learndash-wrapper .ld-course-list-items .ld_course_grid:hover {
    transform: translateY(-5px);
}
.woocommerce span.onsale {
    background-color: var(--accent-color);
}
.woocommerce button.button.alt {
    background-color: var(--primary-color);
}
.woocommerce button.button.alt:hover {
    background-color: var(--accent-color);
}
