/*
Theme Name: LearnRx Pharmacy Training
Description: A modern, responsive one-page WordPress theme for Canadian pharmacy training site. Features hero section, course modules, benefits, team, and founder sections with gradient design and mobile-friendly layout.
Author: LearnRx Team
Version: 1.0
License: GPL v2 or later
Text Domain: learnrx
Tags: one-page, education, pharmacy, responsive, modern, gradient, business
*/

:root {
    --primary: #1a73e8;
    --primary-dark: #0d5cb6;
    --secondary: #34a853;
    --accent: #fbbc05;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --dark-blue: #30629E;
    --orange: #E3883C;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-light: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--gradient-light);
    min-height: 100vh;
    padding-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.brand-name a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.brand-name a:hover {
    opacity: 0.8;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

/* Header */
.hero {
    background: var(--gradient);
    color: white;
    padding: 6rem 0;
    text-align: center;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"></polygon></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white !important;
}

.hero-tagline {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    color: white !important;
}

.hero p {
    color: white !important;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Course Modules */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.module-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.15);
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.module-icon {
    color: var(--primary);
    font-size: 1.3rem;
    background: rgba(26, 115, 232, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-description {
    color: var(--gray);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    background: white;
    border-radius: 30px;
    padding: 5rem 0;
    margin-top: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 115, 232, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.15);
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-bio {
    color: var(--gray);
    line-height: 1.6;
}

/* Founder Section */
.founder-section {
    background: var(--gradient);
    color: white;
    padding: 5rem 0;
    border-radius: 30px;
    margin-top: 2rem;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.founder-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.founder-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.founder-text h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.founder-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: white;
}

/* Footer */
footer {
    background: white;
    color: var(--dark);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.footer-logo img {
    height: auto;
    width: auto;
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.footer-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray);
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    order: 3;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        list-style: none;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        text-align: center;
        display: block;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        padding: 1rem 2rem;
        display: block;
        color: var(--dark);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: var(--light);
        color: var(--primary);
    }
    
    .mobile-menu-btn {
        display: block;
        order: 3;
    }
    
    .nav-cta {
        display: none;
    }
    
    .brand-name {
        order: 1;
        font-size: 1.5rem !important;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .module-card,
    .benefit-card,
    .team-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .module-card {
        padding: 1.2rem;
    }
    
    .logo img {
        height: 40px !important;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        padding: 3rem 0;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .modules-grid,
    .benefits-grid,
    .team-grid {
        gap: 1rem;
    }
}