/* Upseek Brand Guideline 2025 - Complete CSS Implementation */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* Note: You'll need to include Satoshi font separately as it's not available on Google Fonts */

:root {
    /* Primary Colors */
    --primary-blue: #1472C2;
    --blue-light: #008AFD;
    --blue-dark: #042A44;
    --white: #FFFFFF;
    
    /* Secondary Colors */
    --yellow: #E0D35C;
    --green-light: #B6CC56;
    --teal: #02BFAE;
    --gray-lightest: #EDEDED;
    --gray-darkest: #1B2326;
    --gray-dark: #455259;
    --gray-medium: #9EAEB5;
    --blue-accent: #7890C0;
    
    /* Text Colors */
    --body-text: var(--gray-darkest);
    --light-text: var(--gray-dark);
    
    /* Gradients */
    --section-gradient: linear-gradient(135deg, var(--gray-lightest), var(--white));

    /* Theme Variables - Default Light Theme */
    --background-color: var(--white);
    --text-color: var(--body-text);
    --header-color: var(--blue-dark);
    --card-background: var(--gray-lightest);
    --card-text: var(--gray-darkest);
    --footer-background: var(--gray-lightest);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --background-color: var(--gray-darkest);
    --text-color: var(--gray-lightest);
    --header-color: var(--blue-light);
    --card-background: var(--gray-dark);
    --card-text: var(--gray-lightest);
    --footer-background: var(--gray-dark);
}

/* Base Typography */
body {
    font-family: 'Satoshi', 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700; /* Bold */
    color: var(--header-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.35;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p, li, span {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Regular */
    color: var(--text-color);
}

a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--blue-light);
    text-decoration: underline;
}

/* Button Styles */
.btn-primary, .cta-button, .enroll-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(20, 114, 194, 0.25);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(20, 114, 194, 0.35);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assests/images/coursebackground.avif');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-section h1 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 2.8rem;
    color: var(--gray-lightest);
}

.hero-section p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Category Buttons */
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.category-btn {
    background-color: var(--card-background);
    color: var(--card-text);
    border: 1px solid var(--gray-medium);
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    background-color: var(--card-background);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    background-color: var(--gray-lightest);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-color);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle::after {
    content: '+';
    font-size: 18px;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.faq-item.active .faq-toggle::after {
    content: '−';
}

.faq-item.active {
    background-color: rgba(46, 110, 234, 0.1);
}

/* Navbar Styles */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--background-color);
}

.brand-name {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Satoshi', sans-serif;
    text-decoration: none;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Footer Styles */
footer {
    background-color: var(--footer-background);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-blue);
}

.social-icons a {
    color: var(--text-color);
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}