/* 
 * Safiri by Citrus - Driver Account Our Mission Page
 * Stylesheet
 */

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFC107;
    --accent-color: #4CAF50;
    --neutral-color: #F5F5F5;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: #1565C0;
}

ul {
    list-style: none;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1565C0;
    color: var(--white);
}

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

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.main-nav .nav-list a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: var(--primary-color);
}

.main-nav .nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-text);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 18px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    margin-bottom: 15px;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

/* Mission Pillars */
.mission-pillars {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.mission-pillar {
    display: flex;
    gap: 40px;
    padding: 50px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pillar-icon {
    flex: 0 0 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.pillar-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.pillar-content {
    flex: 1;
}

.pillar-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 2.2rem;
}

.pillar-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Sub Pillars */
.sub-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sub-pillar {
    padding: 25px;
    background-color: var(--neutral-color);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.sub-pillar:hover {
    transform: translateY(-5px);
}

.sub-pillar h3 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.sub-pillar p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 5px;
}

/* Mission Pillar Colors */
#safety .pillar-icon i {
    color: var(--primary-color);
}

#efficiency .pillar-icon i {
    color: var(--accent-color);
}

#communication .pillar-icon i {
    color: var(--secondary-color);
}

#transparency .pillar-icon i {
    color: #9C27B0; /* Purple for transparency */
}

#support .pillar-icon i {
    color: #E91E63; /* Pink for support */
}

/* CTA Section */
.cta-section {
    background-color: var(--neutral-color);
    padding: 80px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color), #9C27B0, #E91E63);
}

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

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-text);
}

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

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.footer-section ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-section ul li a.active {
    font-weight: 500;
}

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

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

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

.corporate-site a {
    color: var(--secondary-color);
}

.corporate-site a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-logo img {
    height: 30px;
    opacity: 0.7;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #1565C0;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mission-pillar {
        flex-direction: column;
        padding: 40px 30px;
    }
    
    .pillar-icon {
        margin-bottom: 20px;
    }
    
    .sub-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }
    
    .cta-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .mission-pillar {
        padding: 30px 20px;
    }
    
    .mission-pillar h2 {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo-container {
        flex: 1;
    }
    
    .cta-buttons {
        display: none;
    }
    
    .main-nav.active .cta-buttons {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}