/* 
* Learn More CSS Styles
* Safiri by Citrus
* Created: March 2025
*/

/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #1A73E8;
    transition: color 0.3s ease;
}

a:hover {
    color: #0e5fc1;
}

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

/* ===== Button Styles ===== */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #1A73E8;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #0e5fc1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #1A73E8;
    border: 1px solid #1A73E8;
}

.btn-secondary:hover {
    background-color: rgba(26, 115, 232, 0.1);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.btn-tertiary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* ===== Header Styles ===== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.nav-list li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #1A73E8;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-list li a:hover:after, .nav-list li a.active:after {
    width: 100%;
}

.nav-list li a.active {
    color: #1A73E8;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #1A73E8 0%, #4285F4 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Quick Navigation ===== */
.quick-nav {
    padding: 40px 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.nav-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: #333;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.card-icon {
    margin-bottom: 15px;
    font-size: 2rem;
    color: #1A73E8;
}

.nav-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ===== Section Styles ===== */
.main-content section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: #1A73E8;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Overview Section ===== */
.overview-section {
    background-color: #fff;
}

.overview-grid {
    display: flex;
    gap: 30px;
}

.overview-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1A73E8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
}

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

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #4CAF50;
}

/* ===== User Roles Section ===== */
.user-roles-section {
    background-color: #f8f9fa;
}

.roles-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: #f0f3f8;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
}

.tab-btn i {
    font-size: 1.5rem;
}

.tab-btn.active {
    color: #1A73E8;
    border-bottom-color: #1A73E8;
    background-color: #fff;
}

.tab-panel {
    display: none;
    padding: 30px;
}

.tab-panel.active {
    display: block;
}

.panel-content h3 {
    font-size: 1.6rem;
    color: #1A73E8;
    margin-bottom: 15px;
}

.panel-image {
    margin: 20px 0;
    text-align: center;
}

.role-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.panel-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 1.2rem;
    color: #1A73E8;
}

/* ===== Admin Features Section ===== */
.admin-features-section {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1A73E8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.6rem;
    color: #1A73E8;
    margin-bottom: 15px;
}

.feature-details {
    margin-top: 25px;
}

.sub-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sub-icon {
    font-size: 1.3rem;
    color: #1A73E8;
    min-width: 30px;
    text-align: center;
}

.sub-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* ===== Support Section ===== */
.support-section {
    background-color: #f8f9fa;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.support-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-form-card {
    grid-column: span 6;
}

.faq-card {
    grid-column: span 6;
}

.demo-card {
    grid-column: span 12;
}

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

.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 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1A73E8;
    outline: none;
}

.accordion {
    margin-top: 20px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f9fa;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.accordion-content {
    padding: 15px;
    display: none;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.accordion-item.active .accordion-header {
    background-color: #e8f0fe;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.demo-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.demo-card p {
    max-width: 700px;
    margin-bottom: 20px;
}

/* ===== Call to Action Section ===== */
.cta-section {
    background: linear-gradient(135deg, #1A73E8 0%, #4285F4 100%);
    color: #fff;
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-actions {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.cta-actions h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.cta-buttons .btn-primary {
    background-color: #FFC107;
    color: #333;
}

.cta-buttons .btn-primary:hover {
    background-color: #ffb300;
}

.cta-buttons .btn-secondary,
.cta-buttons .btn-tertiary {
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-secondary:hover,
.cta-buttons .btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== Footer Styles ===== */
.site-footer {
    background-color: #1d2b3a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

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

.social-icon {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #FFC107;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
}

.website-link {
    margin-top: 20px;
}

.website-link a {
    color: #4CAF50;
    transition: color 0.3s ease;
}

.website-link a:hover {
    color: #66bb6a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1A73E8;
}

.demo-form {
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .overview-grid {
        flex-direction: column;
    }
    
    .support-grid {
        display: flex;
        flex-direction: column;
    }
    
    .panel-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-cards {
        flex-wrap: wrap;
    }
    
    .nav-card {
        flex: 1 1 calc(50% - 20px);
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 calc(50% - 10px);
    }
    
    .panel-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .nav-card {
        flex: 1 1 100%;
    }
    
    .tab-btn {
        flex: 1 1 100%;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}