/* Base Styles */
:root {
    --primary-color: #238aff;
    --secondary-color: #6dd7ff;
    --text-color: #333;
    --light-text: #666;
    --white: #f5f5f5; /* Changed from #fff to whitesmoke */
    --light-gray: #f5f7fa;
    --border-color: #e1e4e8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

/* Custom illustration styling */
.custom-illustration {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(35, 138, 255, 0.15);
    transition: transform 0.3s ease;
}

.custom-illustration:hover {
    transform: translateY(-5px);
}

section {
    padding: 80px 0;
}

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

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: #5bc8f0;
    color: var(--white);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 0;
    background: transparent;
}

/* Frequently Asked Questions */
.faq {
    background-color: var(--light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.faq-item {
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

/* Features Section */
.features {
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Illustration Sections */
.illustration-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.illustration-text, .illustration-image {
    flex: 1;
}

.illustration-image {
    display: flex;
    justify-content: center;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.illustration-section.reverse .illustration-content {
    flex-direction: row-reverse;
}

.illustration-section:nth-child(odd) {
    background-color: var(--light-gray);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff; /* Keep this white for contrast on the dark background */
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Make the logo white in the footer */
    height: 25px; /* Reduced from 40px to 25px */
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-motto {
    grid-column: 1 / -1;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h3 {
    color: #fff; /* Keep this white for contrast on the dark background */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-self: end;
}

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

.social-links a:hover {
    color: #fff;
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content, .illustration-content {
        flex-direction: column;
    }
    
    .illustration-section.reverse .illustration-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image, .illustration-text, .illustration-image {
        width: 100%;
        text-align: center;
    }
    
    .feature-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* About Section */
.about {
    background-color: var(--white);
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 3;
}

.about-image {
    flex: 2;
    display: flex;
    justify-content: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
}

.about-cta {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .about-stats {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}
