/*
Theme Name: EduPrime
Author: Jules
Description: A professional e-learning theme compatible with Tutor LMS and WooCommerce.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eduprime
*/

:root {
    --smart-blue: #1A73E8;
    --energy-orange: #FF7A00;
    --sky-light: #E8F1FF;
    --deep-navy: #1B263B;
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Nunito', 'Cairo', 'Tajawal', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--deep-navy);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid var(--sky-light);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.main-navigation li {
    position: relative;
    margin: 0 1rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--deep-navy);
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid var(--sky-light);
    padding: 0.5rem;
    z-index: 100;
}

.main-navigation ul li:hover > ul {
    display: block;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

.lang-switch, .login-button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--smart-blue);
    border-radius: 8px;
    background-color: transparent;
    color: var(--smart-blue);
    cursor: pointer;
}

.login-button {
    background-color: var(--smart-blue);
    color: #fff;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background-color: var(--deep-navy);
    color: #fff;
    padding: 2rem;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
}

.footer-widget-area {
    width: 30%;
}

.site-info {
    text-align: center;
    margin-top: 2rem;
}

/* Main Content */
.content-area {
    padding: 2rem;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2.25rem;
}

.entry-content {
    line-height: 1.6;
}

/* Course Archive */
.archive .course-archive-header {
    margin-bottom: 2rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    border: 1px solid var(--sky-light);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.course-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.course-thumbnail img {
    width: 100%;
    height: auto;
}

.course-card .entry-header,
.course-card .entry-summary {
    padding: 1rem;
}

.course-card .entry-title {
    font-size: 1.25rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--sky-light);
    text-align: center;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--deep-navy);
}

.hero-cta {
    background-color: var(--energy-orange);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

/* Homepage Sections */
.about-section {
    padding: 4rem 2rem;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}

.programs-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.programs-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--energy-orange);
}

.testimonials-section {
    padding: 4rem 2rem;
}

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

.testimonial-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
}

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    min-width: 250px;
}

.join-us-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--smart-blue), var(--energy-orange));
    color: #fff;
}

.homepage-footer {
    padding: 2rem;
    text-align: center;
}

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

.footer-social a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
    }

    .main-navigation {
        margin-top: 1rem;
    }

    .header-actions {
        margin-top: 1rem;
    }

    .footer-widgets {
        flex-direction: column;
    }

    .footer-widget-area {
        width: 100%;
        margin-bottom: 2rem;
    }

    .about-container,
    .programs-container {
        flex-direction: column;
    }
}

/* === SmartUp Academy Core Styles === */

:root {
  --smart-blue: #1A73E8;
  --energy-orange: #FF7A00;
  --sky-light: #E8F1FF;
  --deep-navy: #1B263B;

  --font-primary: "Poppins", "Cairo", sans-serif;
  --font-secondary: "Nunito", "Tajawal", sans-serif;
}

/* General Layout */
body {
  font-family: var(--font-secondary);
  color: var(--deep-navy);
  background-color: var(--sky-light);
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 120px 20px;
  background-color: var(--sky-light);
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--smart-blue);
  font-size: 3rem;
}

.hero-subtitle {
  color: var(--deep-navy);
  font-size: 1.25rem;
  margin-top: 10px;
}

.hero-cta {
  display: inline-block;
  background-color: var(--energy-orange);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 30px;
  font-weight: 600;
  transition: background 0.3s;
}

.hero-cta:hover {
  background-color: var(--smart-blue);
}

/* Section Titles */
h2, h3 {
  color: var(--smart-blue);
  font-family: var(--font-primary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}
