/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --section-bg: #f3f4f6;
    --max-width: 1200px;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
}

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

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.secondary-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--secondary-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--section-bg);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

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

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-card p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.contact p {
    margin-bottom: 30px;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background-color: white;
}

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

.expertise-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expertise-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.expertise-list li:before {
    content: "•";
    color: #4CAF50;
    position: absolute;
    left: 8px;
    font-size: 1.2rem;
    font-weight: bold;
}

.expertise-list .sub-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.expertise-list .sub-list li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.expertise-list .sub-list li:before {
    content: "→";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* Update the parent list item for monitoring stack */
.expertise-list li:has(.sub-list) {
    margin-bottom: 5px;
    padding-bottom: 0;
}

.expertise-list li:has(.sub-list):before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.product-showcase-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Featured Product Section (kept for backward compatibility) */
.featured-product {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.product-info {
    padding-right: 30px;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.product-features, .product-tech {
    margin-bottom: 30px;
}

.product-features h4, .product-tech h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-features ul, .product-tech ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li, .product-tech li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.product-features li:before, .product-tech li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-image {
    position: relative;
}

.app-preview {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-screen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 9/16;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.app-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.badge.android {
    background-color: #3DDC84;
}

.badge.ios {
    background-color: #007AFF;
}

/* Language Highlights */
.language-highlights {
    margin: 30px 0;
}

.language-highlights h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.language-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.language-badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-badge.italian {
    background: linear-gradient(135deg, #009246 0%, #008C45 100%);
}

.language-badge.french {
    background: linear-gradient(135deg, #002395 0%, #001E8C 100%);
}

.language-badge.spanish {
    background: linear-gradient(135deg, #C60B1E 0%, #B00B1E 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .service-card {
        padding: 20px;
    }

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

    .expertise-card {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .language-badges {
        justify-content: center;
    }
    
    .language-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

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

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info {
        padding-right: 0;
    }

    .app-preview {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-showcase-card {
        padding: 30px 20px;
    }
} 