/* Global Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #4CAF50;
    --tertiary-color: #ffbd03;
    --accent-color: #ff6600;
    --light-color: #f8f9fa;
    --medium-color: #225876;
    --dark-color: #1e3259;
}

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

html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Noto Sans', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.video-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    display: block;
    width: 100%;
}


/* Journey Page Styles */
.journey-content {
    max-width: 800px;
    margin: 0 auto;
}

.journey-steps {
    margin-top: 40px;
}

.step {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.step p {
    margin: 0;
}

.container {
    width: min(85%, 1200px);
    margin: 40px auto;
    padding: clamp(20px, 4vw, 40px);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Override container styles for header */
.header-container.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 10px 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 1921px) {
    .container {
        width: min(85%, 1800px);
    }
}

.hero .container {
    width: min(90%, 1200px);
    text-align: center;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* Header Styles */
.site-title-text {
    padding: 8px 0;
    margin-bottom: -10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    font-weight: 600;
    background-color: skyblue;
    font-size: 1.1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-align: center;
}

.site-title-text:hover {
    transform: translateY(-1px);
    text-shadow: 0 2px 15px rgba(0, 102, 204, 0.2);
}

header {
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-left: 20px;
}

/* Navigation */
.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.nav-item {
    margin-left: 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item a {
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 8px 16px;
    display: block;
    color: var(--dark-color);
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.nav-item.cta {
    margin-left: 15px;
    margin-right: 20px;
}

.nav-item.cta a {
    padding: 8px 20px;
    color: white;
}

.nav-item.cta a:hover {
    color: white;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Video Section */
.video-section {
    background-color: var(--light-color);
    padding: 40px 0;
}

.video-container {
    max-width: 500px;
    width: 40%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background-image: url("images/maine_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: clamp(60px, 10vw, 120px) 0;
    text-align: center;
    min-height: clamp(400px, 60vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.55);
    z-index: 1;
}

.hero h1,
.hero p,
.hero .btn-group {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

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

.btn-primary:hover {
    background-color: #0055aa;
}

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

.btn-secondary:hover {
    background-color: #3e8e41;
}

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

.btn-tertiary:hover {
    background-color: #e4a800;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Link Styles */
.bold-link {
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.bold-link:hover {
    text-decoration: underline;
}

/* Section Styles */
.section {
    padding: 40px 0;
    margin: 20px;
}

.section-title {
    font-size: 2rem;
    margin: 10px;
    text-align: center;
    margin-bottom: 40px;
    color: #1A365D;
}

p {
    margin-bottom: 20px;
    margin-top: 0;
}

p+p {
    margin-top: 10px;
}

/* Content Pages */
.content-page {
    display: none;
    animation: fadeIn 0.5s;
    margin: 20px;
}

.content-page.active {
    display: block;
}

/* Main content paragraph styling for better hierarchy */
.content-page > div > p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Content page subheadings */
.content-page h3 {
    font-size: 1.4rem;
    color: #1A365D;
    font-weight: 600;
    margin: 40px auto 20px;
    max-width: 900px;
    line-height: 1.3;
}

/* Home Page */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 20px;
    margin: 25px auto;
    width: 95%;
    max-width: calc(450px * 3 + 40px);
}

.feature-box {
    background-color: #ffffff;
    padding: 25px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.device-details h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.benefits-list {
    margin: 20px 0;
    line-height: 1.8;
    text-align: center;
}

.device-details li {
    margin-bottom: 8px;
}

.device-details .cta-section {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 102, 204, 0.15);
}

.feature-box h3 {
    margin: 20px 0;
    color: #1A365D;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.feature-box p {
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 20px 0;
    font-weight: 400;
}

.partner-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 150px;
}

/* FAQ Styles */
.faq-item {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    background-color: rgba(0, 102, 204, 0.02);
}

.faq-question {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.18rem;
    line-height: 1.4;
    position: relative;
}

/* FAQ items paragraph styling to match content-page system */
.faq-item p:not(.faq-question) {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
    font-weight: 400;
}

/* Enhanced list styling within FAQ items */
.faq-item ul {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.faq-item li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.faq-item li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 8px;
    font-size: 1.2em;
}

/* FAQ Section Styling */
.faq-section {
    margin-bottom: 24px;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.faq-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.section-header {
    background: white;
    text-align: left;
    padding: 25px 30px 25px 0;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.05), transparent);
    transition: left 0.5s ease;
}

.section-header:hover::before {
    left: 100%;
}

.section-header:hover {
    transform: translateY(-1px);
    background: rgba(0, 102, 204, 0.02);
}

.section-header.active {
    background: rgba(0, 102, 204, 0.05);
    border-bottom-color: rgba(0, 102, 204, 0.15);
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 15px 0 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    font-size: 14px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.toggle-icon::before {
    content: '▶';
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.active .toggle-icon {
    transform: rotate(90deg);
    background: rgba(0, 102, 204, 0.15);
}

.section-header.active .toggle-icon::before {
    transform: scale(1.1);
}

.section-content {
    display: none;
    padding: 0;
    background-color: white;
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
}

.section-header.active+.section-content {
    display: block;
}

.faq-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

/* Enhanced FAQ page title */
#faq .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

#faq .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* FAQ Introduction */
.faq-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.faq-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin: 0;
    font-weight: 400;
}

.faq-intro a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-intro a:hover {
    color: var(--medium-color);
    border-bottom-color: var(--medium-color);
}

/* Strong text styling within FAQ items */
.faq-item strong {
    color: var(--dark-color);
    font-weight: 600;
    display: block;
    margin: 20px 0 8px 0;
    font-size: 1.08rem;
}

/* Link styling within FAQ items */
.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-item a:hover {
    color: var(--medium-color);
    border-bottom-color: var(--medium-color);
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-section {
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .section-header {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 20px 20px;
    }
    
    .faq-question {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-left: 6px;
    }
    
    .faq-item p:not(.faq-question) {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    #faq .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .toggle-icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
    }
    
    .faq-intro {
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .faq-intro p {
        font-size: 1rem;
    }
    
    .faq-item li {
        padding-left: 20px;
        font-size: 0.95rem;
    }
    
    .faq-item strong {
        font-size: 1.05rem;
        margin: 16px 0 6px 0;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 40px 20px;
    margin: 40px 0 0;
}

footer .container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 45% 27.5% 27.5%;
    }
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-description {
    color: #b3b3b3;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

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

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

.copyright a {
    color: white;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Eligibility Result Styles */
.eligibility-success {
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    margin-top: 20px;
}

.eligibility-failure {
    padding: 20px;
    background-color: #f44336;
    color: white;
    border-radius: 5px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title-text a {
        font-size: 1rem;
    }

    .site-title-text a::after {
        content: "PWR -- Battery";
    }

    .site-title-text a span {
        display: none;
    }

    .site-title-text {
        margin-bottom: -20px;
        padding-bottom: 0;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 0;
        margin-top: -10px;
    }

    header {
        margin-bottom: -10px;
    }

    .hero {
        margin-top: -10px;
    }

    .logo img {
        display: none;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Responsive typography adjustments */
    .content-page > div > p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        margin-left: 20px;
    }

    .content-page h3 {
        font-size: 1.25rem;
        margin: 30px auto 15px;
    }

    .feature-box h3 {
        font-size: 1.2rem;
    }

    .feature-box p {
        font-size: 1rem;
    }

    /* App Showcase Styles */
    /* Hero Section Styles */
    .hero-section {
        padding: 100px 0 60px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        text-align: center;
    }

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

    .hero-content h1 {
        font-size: 3.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .hero-content h1 span {
        color: var(--dark-color);
    }

    .hero-subtitle {
        font-size: 1.4rem;
        color: var(--medium-color);
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .stats-container {
        display: flex;
        justify-content: center;
        gap: 60px;
        margin-top: 50px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-item h3 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .stat-item p {
        color: var(--medium-color);
        font-size: 1.1rem;
    }

    /* Features Section Styles */
    .features-section {
        padding: 80px 0;
        background: white;
    }

    .feature-card {
        display: flex;
        align-items: center;
        gap: 60px;
        margin-bottom: 100px;
        padding: 40px;
        border-radius: 20px;
        background: white;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-card.reverse {
        flex-direction: row-reverse;
    }

    .feature-content {
        flex: 1;
    }

    .feature-content h2 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .feature-content p {
        font-size: 1.2rem;
        color: var(--medium-color);
        margin-bottom: 30px;
    }

    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list li {
        margin-bottom: 15px;
        padding-left: 30px;
        position: relative;
        color: var(--dark-color);
        font-size: 1.1rem;
    }

    .feature-list li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--secondary-color);
        font-weight: bold;
    }

    .feature-image {
        flex: 1;
        max-width: 500px;
    }

    .feature-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }

    .feature-image img:hover {
        transform: scale(1.02);
    }

    @media (max-width: 968px) {
        .hero-content h1 {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1.2rem;
        }

        .stats-container {
            gap: 30px;
            flex-wrap: wrap;
        }

        .feature-card {
            flex-direction: column;
            padding: 30px;
            gap: 40px;
            margin-bottom: 60px;
        }

        .feature-card.reverse {
            flex-direction: column;
        }

        .feature-image {
            max-width: 100%;
        }
    }

    .app-showcase h1 {
        font-size: 2.5rem;
    }

    .app-intro {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    /* Journey page responsive typography */
    .journey-intro {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .step-content h3 {
        font-size: 1.15rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    /* FAQ page responsive typography */
    .faq-question {
        font-size: 1.1rem;
    }

    .faq-item p:not(.faq-question) {
        font-size: 1rem;
        line-height: 1.5;
    }
}

.app-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.app-section:hover {
    transform: translateY(-5px);
}

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

.section-subtitle {
    color: var(--medium-color);
    font-size: 1.1rem;
    margin-top: 8px;
}

.section-subtitle {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 10px 0;
}

.app-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.app-section:nth-child(even) .app-feature {
    direction: rtl;
    grid-template-columns: 1fr 1fr;
}

.app-section:nth-child(even) .app-feature>* {
    direction: ltr;
}

.app-section:nth-child(odd) .app-screenshot {
    order: -1;
}

.app-section:nth-child(even) .app-screenshot {
    order: 2;
}

.app-section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.app-screenshot {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.app-screenshot img:hover {
    transform: scale(1.02);
}

.feature-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.feature-card li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .app-feature {
        grid-template-columns: 1fr;
    }

    .app-section {
        padding: 25px;
    }
}

.app-feature {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
}

.app-screenshot {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

.app-screenshot img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.app-screenshot img:hover {
    transform: scale(1.02);
}

.screenshot-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 12px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.app-description {
    flex: 1;
}

.app-description ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 15px;
}

.app-description li {
    margin-bottom: 10px;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .app-feature {
        flex-direction: column;
    }

    .app-screenshot,
    .app-description {
        width: 100%;
    }

    .screenshot-placeholder {
        height: 300px;
    }
}

/* News Page Styles */
.news-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    min-height: 100vh;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 clamp(20px, 5vw, 80px);
    width: 90%;
}

.news-item {
    background-color: white;
    padding: clamp(30px, 4vw, 60px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    width: 100%;
}

@media (min-width: 768px) {
    .news-item {
        margin: 0 auto 40px;
        max-width: 900px;
    }

    .news-item p {
        font-size: 1.1em;
        max-width: 75ch;
        margin: 0 auto 15px;
    }

    .news-item h3 {
        text-align: center;
        font-size: 1.8rem;
    }

    .news-date {
        text-align: center;
        font-size: 1rem;
        max-width: 75ch;
        margin: 0 auto 20px;
    }
}

.news-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 600;
}

.news-item p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

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

/* Resources Page Styles */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-section {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.resource-section ul {
    list-style: none;
    padding: 0;
}

.resource-section ul li {
    margin-bottom: 12px;
}

.resource-section ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-section ul li a:hover {
    color: var(--primary-color);
}

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

.privacy-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.privacy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
}

/* Journey Timeline Styles */
.journey-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
}

.equipment-images {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.equipment-item {
    text-align: center;
    max-width: 120px;
}

.equipment-image {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

.step-content .equipment-description {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.1;
    font-weight: 300;
}

.journey-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.journey-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    animation: fadeInStep 0.5s ease forwards;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-step:nth-child(1) {
    animation-delay: 0.1s;
}

.journey-step:nth-child(2) {
    animation-delay: 0.2s;
}

.journey-step:nth-child(3) {
    animation-delay: 0.3s;
}

.journey-step:nth-child(4) {
    animation-delay: 0.4s;
}

.journey-step:nth-child(5) {
    animation-delay: 0.5s;
}

.journey-step:nth-child(6) {
    animation-delay: 0.6s;
}

.journey-step:nth-child(7) {
    animation-delay: 0.7s;
}

.journey-step:nth-child(8) {
    animation-delay: 0.8s;
}

.journey-step:nth-child(9) {
    animation-delay: 0.9s;
}

.journey-step:nth-child(10) {
    animation-delay: 1s;
}

.journey-step:nth-child(11) {
    animation-delay: 1.1s;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 30px;

    /* App Page Styles */
    .app-section {
        margin-bottom: 60px;
        padding: 40px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    .app-section:hover {
        transform: translateY(-5px);
    }

    .app-feature {
        display: flex;
        gap: 40px;
        align-items: center;
        margin-top: 20px;
        padding: 20px;
    }

    .app-screenshot {
        width: 45%;
        min-width: 280px;
        max-width: 500px;
    }

    .app-description {
        width: 55%;
    }

    .app-section:nth-child(even) .app-feature {
        flex-direction: row-reverse;
    }

    @media (max-width: 768px) {
        .app-feature {
            flex-direction: column !important;
        }

        .app-screenshot {
            width: 100%;
            max-width: 100%;
        }

        .app-description {
            width: 100%;
        }
    }

    .screenshot-placeholder {
        background: #f5f5f5;
        border: 2px dashed #ccc;
        border-radius: 12px;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
    }

    .app-description ul {
        list-style-type: disc;
        margin-left: 20px;
        margin-top: 15px;
    }

    .app-description li {
        margin-bottom: 10px;
        color: var(--dark-color);
    }

    @media (max-width: 768px) {
        .app-feature {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .app-section:nth-child(even) .app-feature {
            direction: ltr;
        }

        .screenshot-placeholder {
            height: 300px;
        }

        .app-section {
            padding: 20px;
        }
    }

    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-content p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .journey-timeline::before {
        left: 30px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        margin-right: 20px;
        font-size: 0.9em;
    }

    .step-content {
        padding: 20px;
    }

    .step-content h3 {
        font-size: 1.1em;
    }
}

/* Feature Icon Styles */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.feature-box {
    text-align: center; /* Center align the entire box */
}

.feature-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-box:hover .feature-icon i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Mobile responsiveness for icons */
@media (max-width: 768px) {
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .equipment-images {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .equipment-item {
        max-width: 100px;
    }
    
    .equipment-image {
        max-width: 80px;
    }
}

/* Override content-page margin that's causing excessive spacing */
#app-features.content-page {
    margin: 0 !important;
}