/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Open+Sans:wght@400;600&display=swap');

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #003399;
}

h3 {
    font-size: 1.5rem;
    color: #003399;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 3rem 0;
}

/* Hero Section - Block 1 */
.hero {
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.9) 0%, rgba(30, 87, 153, 0.9) 50%, rgba(0, 51, 153, 0.9) 100%),
                url('https://europa.eu/european-union/sites/default/files/img/eu_stars.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #FFCC00;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    color: #FFCC00;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-block;
    background-color: #FFCC00;
    color: #003399;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #FFCC00;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffffff;
    color: #003399;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials - Block 5 */
.testimonials {
    background-color: #f0f3f9;
    padding: 4rem 0;
    border-top: 3px solid #FFCC00;
    border-bottom: 3px solid #FFCC00;
}

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

.testimonial {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #003399;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial h4 {
    color: #003399;
    font-weight: 600;
    text-align: right;
}

/* Services - Block 3 */
.services {
    background-color: #ffffff;
    padding: 4rem 0;
}

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

.service {
    padding: 2rem;
    border-radius: 10px;
    background-color: #f0f3f9;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #FFCC00;
}

.price {
    font-weight: 700;
    color: #003399;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Article styling */
.article {
    background-color: #f0f3f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
    border-left: 5px solid #FFCC00;
}

.article h2 {
    color: #003399;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.article p {
    text-align: justify;
}

/* Team - Block 4 */
.team {
    background-color: #e6ebf5;
    padding: 4rem 0;
}

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

.team-member {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #003399;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Contact Form - Block 2 */
.contact-form {
    background-color: #003399;
    color: #ffffff;
    padding: 4rem 0;
}

.contact-form h2 {
    color: #ffffff;
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

form .btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px;
    margin-top: 1rem;
}

/* Contact - Block 6 */
.contact {
    background-color: #ffffff;
    padding: 4rem 0;
}

address {
    text-align: center;
    margin-bottom: 2rem;
    font-style: normal;
    line-height: 1.8;
}

.map {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer - Block 7 */
footer {
    background-color: #003399;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
    border-top: 5px solid #FFCC00;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 380px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

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

    .testimonial-grid,
    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .article {
        padding: 1.5rem;
    }

    form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }

    .hero {
        min-height: 340px;
    }

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

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

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .testimonial,
    .service,
    .team-member {
        padding: 1.5rem;
    }
}
