/* 
   AI Readiness Assessment Landing Page
   Purple and White Color Scheme
*/

:root {
    --primary-color: #6a1b9a; /* Deep Purple */
    --primary-light: #9c4dcc; /* Light Purple */
    --primary-dark: #38006b; /* Dark Purple */
    --accent-color: #e1bee7; /* Very Light Purple */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --black: #212121;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--black);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text ul {
    margin: 20px 0;
}

.about-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Assessment Section */
.assessment {
    background-color: var(--white);
}

.assessment-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.assessment-screen {
    display: none;
}

.assessment-screen.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background-color: var(--medium-gray);
    border-radius: 4px;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 14px;
    color: var(--dark-gray);
}

/* Question Styling */
.question {
    margin-bottom: 30px;
}

.question h3 {
    margin-bottom: 15px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: var(--primary-light);
    background-color: var(--accent-color);
}

.option.selected {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
}

/* Results Screen */
.score-container {
    text-align: center;
    margin-bottom: 40px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--white);
    border: 8px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.score-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    font-size: 14px;
    color: var(--dark-gray);
}

.readiness-level {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-scores {
    margin-bottom: 40px;
}

.section-score-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.section-score-item {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.section-score-name {
    font-size: 14px;
    margin-bottom: 5px;
}

.section-score-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.feedback-container,
.recommendations-container {
    margin-bottom: 30px;
}

.recommendations-list {
    margin-top: 15px;
}

.recommendations-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.recommendations-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact-prompt {
    background-color: var(--accent-color);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .section-score-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero {
        padding: 180px 0 80px;
    }
}

@media (max-width: 576px) {
    .button-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .button-group button {
        width: 100%;
    }
    
    .section-score-container {
        grid-template-columns: 1fr;
    }
    
    .assessment-container {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
