:root {
    --primary-color: #4CAF50;
    --secondary-color: #FFC107;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --content-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px 20px 10px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.hero {
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234CAF50;stop-opacity:0.8" /><stop offset="100%" style="stop-color:%2345a049;stop-opacity:0.8" /></linearGradient></defs><rect width="1200" height="400" fill="url(%23grad)" /><circle cx="200" cy="100" r="50" fill="%23ffffff" fill-opacity="0.1" /><circle cx="1000" cy="300" r="80" fill="%23ffffff" fill-opacity="0.1" /><path d="M600 100 Q 800 0, 1000 100 T 1400 100" stroke="%23ffffff" stroke-opacity="0.2" fill="none" stroke-width="2" /></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e6a800;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem auto;
    max-width: var(--content-max-width);
    padding: 0 20px;
}

.feature {
    flex: 1 1 calc(25% - 20px);
    margin: 10px;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.feature svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.feature p {
    margin-bottom: 0;
}

.qr-code {
    text-align: center;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: var(--content-max-width);
    box-sizing: border-box;
}

.qr-code svg {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 4rem;
}

.feature-detail, .about-section {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
}

.feature-detail h3 {
    color: var(--primary-color);
}

/* Minor style for last updated meta text */
.last-updated {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem;
}

@media (max-width: 1024px) {
    .feature {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

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

    .features {
        flex-direction: column;
    }

    .feature {
        flex: 1 1 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}


.top-contact {
    background: #333;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-section {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-section h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-section p {
    margin: 0.5rem 0;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-info {
        justify-content: center;
    }
    
    .contact-section {
        text-align: center;
    }
}
