/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme */
    --primary-color: #000000;
    --primary-dark: #131518;
    --primary-light: #6a8ad0;
    --secondary-color: #f5f7fa;
    --accent-color: #ff7e5f;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f0f2f5;
    --border-color: #e0e6ef;
    --white: #ffffff;
    
    /* SWOT Category Colors */
    --strength-color: #4caf50;
    --weakness-color: #ff9800;
    --opportunity-color: #2196f3;
    --threat-color: #f44336;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(74, 107, 175, 0.05);
}

.nav-link.active {
    color: var(--white);
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 160px);
}

.page {
    display: none;
    padding: 40px 0;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Home Page Styles */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.features h3 {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    background-color: light grey;
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.feature-icon.strength {
    background-color: var(--strength-color);
}

.feature-icon.weakness {
    background-color: var(--weakness-color);
}

.feature-icon.opportunity {
    background-color: var(--opportunity-color);
}

.feature-icon.threat {
    background-color: var(--threat-color);
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: var(--text-light);
    font-size: 16px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.user-profile-section, .swot-input-section, .swot-display-section {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 22px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card {
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.profile-details h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.profile-details p {
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--primary-color);
    color: white;
}

.modal-header h3 {
    font-size: 22px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 107, 175, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
  background-color: #333333;
  color: white;
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e0e6ef;
}

.btn-edit-profile {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-profile:hover {
    background-color: var(--primary-color);
    color: white;
}

.get-started-btn {
    padding: 15px 30px;
    font-size: 18px;
}

/* SWOT Display Styles */
.swot-count {
    font-weight: 500;
    color: var(--text-light);
}

.swot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.swot-column {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.swot-column.strength {
    border-top: 5px solid var(--strength-color);
}

.swot-column.weakness {
    border-top: 5px solid var(--weakness-color);
}

.swot-column.opportunity {
    border-top: 5px solid var(--opportunity-color);
}

.swot-column.threat {
    border-top: 5px solid var(--threat-color);
}

.swot-header {
    padding: 15px 20px;
    background-color: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swot-header h4 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-count {
    background-color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.swot-column.strength .column-count {
    color: var(--strength-color);
}

.swot-column.weakness .column-count {
    color: var(--weakness-color);
}

.swot-column.opportunity .column-count {
    color: var(--opportunity-color);
}

.swot-column.threat .column-count {
    color: var(--threat-color);
}

.swot-items {
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--white);
    position:relative;
}

.swot-items::-webkit-scrollbar {
    width: 6px;
}

.swot-items::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.swot-items::-webkit-scrollbar-thumb {
    background: #b8c2d0;
    border-radius: 10px;
}

.swot-items::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.swot-item {
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.swot-item:last-child {
    margin-bottom: 0;
}

.swot-item-text {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.swot-item-action {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    padding-left: 10px;
    border-left: 3px solid var(--border-color);
    margin-top: 10px;
}

.swot-item-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.delete-btn {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.delete-btn:hover {
    background-color: rgba(244, 67, 54, 0.1);
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 30px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

/* About Page Styles */
.about-header, .contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2, .contact-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.about-header p, .contact-header p {
    color: var(--text-light);
    font-size: 18px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.about-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    min-width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefits-list i {
    color: var(--strength-color);
    margin-top: 3px;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 5px;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.contact-form-container h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo i {
    font-size: 36px;
}

.footer-logo h3 {
    font-size: 22px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links h4, .footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .swot-container {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .features h3 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .dashboard-header h2,
    .about-header h2,
    .contact-header h2 {
        font-size: 28px;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}