/* 
 * How It Works Styles for Safiri by Citrus Driver Account
 * 
 * Primary Color: #1A73E8 (Deep Blue)
 * Secondary Color: #FFC107 (Soft Yellow)
 * Accent Color: #4CAF50 (Fresh Green)
 * Neutral Color: #F5F5F5 (Light Gray)
 * 
 * Fonts: Montserrat, Inter, Poppins
 */

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

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

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

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

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

a:hover {
    color: #0d47a1;
}

ul, ol {
    list-style-position: inside;
}

ul.feature-list,
ul.security-features,
ul.showcase-benefits,
ul.sub-items {
    list-style: none;
}

section {
    padding: 60px 0;
}

/* Typography & Common Elements */
h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #0d47a1;
    color: #fff;
}

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

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

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

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

.logo-container {
    flex: 0 0 auto;
}

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

.main-nav {
    flex: 1 1 auto;
    text-align: right;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: #1A73E8;
}

.nav-list a.btn-primary {
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.8)), url('https://via.placeholder.com/1920x600') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

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

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-section .tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Process Navigation */
.process-navigation {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    z-index: 900;
}

.process-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.process-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s ease;
    flex: 1 1 150px;
}

.process-nav-item:hover {
    background-color: #f5f5f5;
    color: #1A73E8;
}

.process-nav-item.active {
    background-color: #1A73E8;
    color: #fff;
}

.process-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #1A73E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
}

.process-nav-item.active .process-number {
    background-color: #fff;
    color: #1A73E8;
}

.process-title {
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Process Content */
.process-content {
    padding: 60px 0;
}

.process-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.process-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1A73E8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
}

.section-header h2 {
    font-size: 36px;
    margin: 0;
}

/* Process Steps */
.process-steps {
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 70px;
    left: 30px;
    height: calc(100% - 40px);
    width: 2px;
    background-color: #e0e0e0;
}

.step-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: #1A73E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-left: 30px;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 15px;
}

.step-details {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #4CAF50;
    margin-right: 10px;
    margin-top: 4px;
}

.process-image {
    margin-top: 40px;
    text-align: center;
}

.section-image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Timeline */
.process-timeline {
    margin-bottom: 40px;
}

.timeline-section {
    margin-bottom: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.timeline-header {
    background-color: #1A73E8;
    padding: 15px 20px;
    color: #fff;
}

.timeline-header h3 {
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-items {
    padding: 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.item-icon {
    width: 40px;
    height: 40px;
    background-color: #e3f2fd;
    color: #1A73E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.sub-items {
    margin-top: 10px;
    padding-left: 5px;
}

.sub-items li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.sub-items li i {
    color: #1A73E8;
    margin-right: 10px;
    margin-top: 4px;
}

.timeline-item.expanded {
    background-color: #f5f8ff;
    border-left: 3px solid #1A73E8;
}

/* Interactive Screen */
.process-interactive {
    text-align: center;
    margin-top: 40px;
}

.interactive-screen {
    display: inline-block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.app-screen {
    display: block;
    border-radius: 20px;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-screen:hover .screen-overlay {
    opacity: 1;
}

.overlay-content {
    color: #fff;
    text-align: center;
    padding: 20px;
}

.overlay-content h3 {
    color: #fff;
    margin-bottom: 10px;
}

.overlay-content p {
    margin-bottom: 20px;
}

.view-demo-btn {
    background-color: #FFC107;
    color: #333;
    border-color: #FFC107;
}

.view-demo-btn:hover {
    background-color: #FFA000;
    border-color: #FFA000;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

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

.feature-card:nth-child(2) .feature-icon {
    background-color: #fff8e1;
    color: #FFC107;
}

.feature-card:nth-child(3) .feature-icon {
    background-color: #ffebee;
    color: #F44336;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 20px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-action {
    display: block;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.feature-desc {
    color: #666;
    font-size: 14px;
}

/* Feature Showcase */
.feature-showcase {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 40px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.showcase-text p {
    margin-bottom: 20px;
}

.showcase-image {
    flex: 1;
    text-align: center;
}

.feature-image {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.showcase-benefits {
    margin-top: 20px;
}

.showcase-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.showcase-benefits li i {
    color: #4CAF50;
    margin-right: 10px;
    margin-top: 4px;
}

/* Communication Channels */
.communication-channels {
    margin-bottom: 50px;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.channel-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.channel-card:nth-child(2) .channel-icon {
    background-color: #FFC107;
}

.channel-card:nth-child(3) .channel-icon {
    background-color: #4CAF50;
}

.channel-card:nth-child(4) .channel-icon {
    background-color: #9C27B0;
}

.channel-header h3 {
    font-size: 18px;
    margin: 0;
}

.channel-features {
    margin-top: 20px;
}

.channel-feature {
    margin-bottom: 15px;
}

.channel-feature:last-child {
    margin-bottom: 0;
}

.channel-feature h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 5px;
}

.channel-feature h4 i {
    color: #1A73E8;
}

.channel-feature p {
    padding-left: 25px;
    color: #666;
    font-size: 14px;
}

/* Communication Demo */
.communication-demo {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 40px;
}

.demo-screens {
    flex: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.demo-screen {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.demo-screen:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.demo-text {
    flex: 1;
    padding-left: 30px;
}

.demo-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Payment & Expenses */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.payment-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e3f2fd;
    color: #1A73E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.payment-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.payment-features {
    margin-top: 20px;
}

.payment-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.payment-feature:last-child {
    margin-bottom: 0;
}

.payment-feature i {
    color: #1A73E8;
    font-size: 16px;
    margin-right: 15px;
    margin-top: 4px;
}

.payment-feature h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.payment-feature p {
    color: #666;
    font-size: 14px;
}

.payment-illustration {
    text-align: center;
    margin-top: 40px;
}

.illustration-image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.illustration-caption {
    margin-top: 15px;
    color: #666;
    font-style: italic;
}

/* Security Measures */
.security-overview {
    margin-top: 40px;
}

.security-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.security-pillar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.security-pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.security-pillar:nth-child(2) .pillar-icon {
    background-color: #4CAF50;
}

.security-pillar:nth-child(3) .pillar-icon {
    background-color: #F44336;
}

.security-pillar:nth-child(4) .pillar-icon {
    background-color: #FF9800;
}

.security-pillar h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.security-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.security-features li:last-child {
    margin-bottom: 0;
}

.security-features li i {
    color: #1A73E8;
    margin-right: 15px;
    margin-top: 4px;
}

.security-features li span {
    flex: 1;
}

/* Get Started CTA */
.get-started {
    background-color: #f5f5f5;
    padding: 80px 0;
    text-align: center;
}

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

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

.cta-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

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

/* Footer */
.site-footer {
    background-color: #222;
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #999;
}

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

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

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #1A73E8;
    color: #fff;
}

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

.website-link a {
    color: #FFC107;
}

.website-link a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .process-nav-container {
        justify-content: flex-start;
    }
    
    .process-nav-item {
        flex: 0 0 calc(33.333% - 15px);
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
    
    .step-icon {
        margin-bottom: 15px;
    }
    
    .step-content {
        padding-left: 0;
    }
    
    .feature-showcase {
        flex-direction: column;
    }
    
    .communication-demo {
        flex-direction: column;
    }
    
    .demo-text {
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .process-nav-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .security-pillars {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-screens {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-screen {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .process-nav-item {
        flex: 0 0 100%;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section .tagline {
        font-size: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}