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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #666;
    background: #f4f5f7;
}

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

header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    display: block;
}

.logo-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-links a {
    font-family: 'Crimson Pro', serif;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2c3e50;
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #2c2c2c;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.about, .apps, .contact {
    padding: 80px 0;
}

.about {
    background: #ffffff;
}

.about h2, .apps h2, .contact h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c2c2c;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
    text-align: center;
}

.apps {
    background: #f4f5f7;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-placeholder {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.12);
}

.app-placeholder h3 {
    font-family: 'Crimson Pro', serif;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.app-placeholder p {
    color: #666;
}

.contact {
    background: #ffffff;
}

.contact-details-centered {
    background: #f8f9fb;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
}


.contact-details-centered h3 {
    font-family: 'Crimson Pro', serif;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details-centered p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-details-centered a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

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

footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    /* Navigation */
    header {
        position: fixed;
        overflow: visible;
    }
    
    nav {
        padding: 1rem;
        position: relative;
        overflow: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        gap: 0.5rem;
        z-index: 1000;
        border-top: 2px solid #f0f0f0;
    }
    
    .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }
    
    .logo-img {
        height: 30px;
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* About Section */
    .about, .apps, .contact {
        padding: 60px 20px;
    }
    
    .about h2, .apps h2, .contact h2 {
        font-size: 2rem;
    }
    
    .about p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Apps Grid */
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .app-placeholder {
        padding: 1.5rem;
    }
    
    .app-placeholder h3 {
        font-size: 1.2rem;
    }
    
    /* Contact Section */
    .contact-details-centered {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem 0;
    }
    
    /* Main container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links a {
        margin: 0.25rem 0;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .about h2, .apps h2, .contact h2 {
        font-size: 1.75rem;
    }
}

/* Ensure smooth scrolling accounts for fixed header */
section {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 120px;
    }
}