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

:root {
    --primary-color: #8b0003;
    --secondary-color: #b74605;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: block;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    max-height: 40px;
    max-width: 40px;
    height: auto;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

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

.nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.logo-container {
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo {
    max-width: 400px;
    height: auto;
    display: none;
    animation: fadeIn 0.5s ease-in;
    background-color: var(--primary-color);
    padding: 20px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.logo-text-large {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

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

.tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

/* Apps Section */
.apps {
    padding: 80px 0;
    background-color: var(--light-color);
}

.apps h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.app-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.app-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.app-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Buttons */
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* Privacy Policy Page */
.policy-content {
    padding: 60px 0;
    background-color: white;
}

.policy-content h1 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.policy-section h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    margin-top: 20px;
}

.policy-section p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.policy-section li {
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-info {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav-links {
        margin-top: 15px;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .logo-text-large {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .apps h2 {
        font-size: 28px;
    }

    .policy-content h1 {
        font-size: 32px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 20px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .logo-text-large {
        font-size: 28px;
    }

    .logo-placeholder {
        padding: 30px 20px;
    }
}
