/* Main Styles for Jera Applications Portfolio */
:root {
    --primary-color: #000783;
    --secondary-color: #04dad1;
    --light-color: #94f8f3;
    --dark-color: #333;
    --white-color: #fff;
    --section-padding: 80px 0;
}

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

body, html {
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    box-shadow: 0 4px 10px -2px var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-title {
    font-family: 'Megrim', cursive;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.logo-title .desktop-logo {
    display: inline;
}

.logo-title .mobile-logo {
    display: none;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-family: 'Megrim', cursive;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--light-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

@media screen and (max-width: 768px) {
    .submenu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .submenu a {
        padding: 8px 15px;
    }
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Language Selector */
.language-selector {
    margin-left: 25px;
    display: flex;
    align-items: center;
    position: relative;
}

.language-selector select {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    padding: 6px 38px 6px 18px;
    font-family: 'Megrim', cursive;
    font-size: 1.1rem;
    font-weight: bold;
    outline: none;
    transition: border-color 0.3s, color 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 8px -3px var(--secondary-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.language-selector::after {
    content: '\25BC';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    color: var(--secondary-color);
    font-weight: 400;
    letter-spacing: -2px;
    pointer-events: none;
}

.language-selector select:focus,
.language-selector select:hover {
    border-color: var(--light-color);
    color: var(--light-color);
}

.language-selector select option {
    background: var(--primary-color);
    color: var(--secondary-color);
    font-family: 'Megrim', cursive;
    font-size: 1.1rem;
    padding: 10px;
}

.language-selector-mobile { 
    display: none; 
}

/* Hero Section */
.hero {
    height: 100vh;
   
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 7, 131, 0.7);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-family: 'Megrim', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    margin: 0 auto;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--white-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Megrim', cursive;
}

.section-title .underline {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

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

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Team Grid Styles */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 40px;
    padding: 0 20px;
}

.team-card {
    width: 33%;
    background: var(--white-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.team-image {
    width: 100%;
    height: 350px;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.team-role {
    color: var(--dark-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.team-social {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-card .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.team-card .social-link i {
    font-size: 1.1rem;
}

.team-card .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
}

.team-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 1rem;
    margin-top: 15px;
}

@media screen and (max-width: 1024px) {
    .team-grid {
        gap: 40px;
    }
    
    .team-card {
        width: 45%;
    }
    
    .team-image {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .team-image {
        height: 400px;
    }
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

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

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: var(--section-padding);
    background-color: var(--white-color);
}

.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    margin: 0 5px;
    font-size: 1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50px;
}

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

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

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 7, 131, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-title {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-category {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    color: var(--primary-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

/* Clients Section */
.clients {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    text-align: center;
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--white-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    text-align: center;
    padding: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before, .testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-position {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
}

/* Google reCAPTCHA Styles */
.g-recaptcha-container {
    margin-bottom: 20px;
}

.recaptcha-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

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

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

/* Privacy Policy Section */
.privacy-policy {
    padding: var(--section-padding);
    background-color: var(--white-color);
    margin-top: 80px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-content a:hover {
    color: var(--secondary-color);
}

/* Newsletter Section */
.newsletter {
    padding: 50px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-color);
}

/* Sonar Landing Page Styles */
.sonar-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-logo img {
    max-width: 300px;
    height: auto;
}

.sonar-title-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.sonar-main-title {
    color: var(--secondary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.sonar-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    text-align: center;
    margin: 30px auto 0;
    max-width: 900px;
    line-height: 1.7;
}

.sonar-contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-image {
    flex: 0 0 40%;
    margin-left: 40px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-cta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.contact-cta h2 {
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

.contact-cta p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 600px;
}

.contact-cta .contact-btn {
    margin-top: 15px;
}

.contact-title {
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.contact-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sonar-how-it-works {
    background-image: url('images/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
}

.background-overlay {
    background-color: rgba(0, 7, 131, 0.85);
    padding: 60px 0;
}

.sonar-how-it-works h2 {
    color: var(--secondary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.sonar-how-it-works p {
    color: var(--secondary-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sonar-how-it-works ol {
    color: var(--secondary-color);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
}

.sonar-how-it-works ol li {
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-left: 10px;
}

.sonar-how-it-works .step-image {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.sonar-how-it-works .step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.sonar-benefits {
    background-image: url('images/oficina.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.benefits-overlay {
    background-color: rgba(0, 7, 131, 0.8);
    padding: 60px 0;
}

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

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

.benefits-list li {
    margin-bottom: 35px;
    position: relative;
    padding-left: 25px;
}

.benefits-list li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.benefits-list h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.benefits-list p {
    color: var(--white-color);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.privacy-link:hover {
    color: var(--primary-color);
}

/* Target Audience Section */
.sonar-target-audience {
    padding: 80px 0;
    background-color: var(--light-background);
}

.sonar-target-audience h2 {
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.target-intro {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.target-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.target-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.target-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.target-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Responsive Design for Sonar */
@media screen and (max-width: 768px) {
    .sonar-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .sonar-main-title {
        font-size: 1.8rem;
    }
    
    .sonar-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-image {
        margin-left: 0;
        flex: none;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-logo img {
        max-width: 200px;
    }
    
    .sonar-how-it-works h2 {
        font-size: 2rem;
    }
    
    .sonar-how-it-works p {
        font-size: 1rem;
    }
    
    .benefits-list h3 {
        font-size: 1.1rem;
    }
    
    .benefits-list p {
        font-size: 0.9rem;
    }
    
    .sonar-target-audience h2 {
        font-size: 2rem;
    }
    
    .target-intro {
        font-size: 1.1rem;
    }
    
    .target-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .target-card {
        padding: 20px;
    }
    
    .target-card p {
        font-size: 1rem;
    }
}

/* Privacy Policy Styles */
.privacy-policy-main {
    padding-top: 100px;
    padding-bottom: 60px;
    background-color: #f9f9f9;
    min-height: 80vh;
}

.last-updated-outside {
    color: var(--dark-color);
    font-style: italic;
    font-size: 1rem;
    margin: 0 0 20px 0;
    text-align: center;
}

.privacy-content {
    background-color: var(--white-color);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-main-title {
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: center;
}

.last-updated {
    color: var(--dark-color);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
}

.privacy-intro {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 5px solid var(--secondary-color);
}

.privacy-intro p {
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.privacy-section {
    margin-bottom: 35px;
}

.privacy-section h2 {
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-color);
}

.privacy-section p {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-section li {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 8px;
    list-style-type: disc;
}

.email-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design for Privacy Policy */
@media screen and (max-width: 768px) {
    .privacy-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .privacy-intro {
        padding: 20px;
    }
    
    .privacy-intro p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-about {
    flex: 2;
    min-width: 300px;
    margin-right: 30px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white-color);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Profile Styles */
.profile-section {
    padding: var(--section-padding);
    margin-top: 80px;
    background-color: var(--white-color);
}

.profile-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-image {
    flex: 0 0 400px;
}

.profile-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Megrim', cursive;
}

.profile-info h2 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.profile-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.social-link i {
    font-size: 1.3rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
}

.profile-description p {
    margin-bottom: 1.2em;
    line-height: 1.6;
}

.profile-description ul {
    margin: 1em 0 1.5em 1.5em;
    list-style-type: disc;
}

.profile-description li {
    margin-bottom: 0.8em;
    line-height: 1.4;
}

@media screen and (max-width: 900px) {
    .profile-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .profile-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-image img {
        height: 400px;
    }

    .profile-info {
        text-align: center;
    }

    .profile-social {
        justify-content: center;
    }
}

@media screen and (max-width: 500px) {
    .profile-info h1 {
        font-size: 2rem;
    }

    .profile-info h2 {
        font-size: 1.2rem;
    }

    .profile-social {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }
}

/* Alertes */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 1000;
}

.alert.success {
    background: #4CAF50;
    color: white;
}

.alert.error {
    background: #f44336;
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  /* Reset i neteja d'estils antics */
  .desktop-only { 
    display: none !important; 
  }
  
  /* Header i navegació */
  header {
    width: 100%;
    position: fixed;
    top: 0;
  }
  
  .navbar {
    padding: 10px 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo */
  .logo {
    width: auto;
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 30px;
    margin-right: 8px;
  }
  
  .logo-title .desktop-logo {
    display: none;
  }
  
  .logo-title .mobile-logo {
    display: inline;
    font-size: 1.2rem;
  }
  
  /* Menú hamburguesa */
  .mobile-menu {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }
  
  /* Animació del menú hamburguesa */
  .mobile-menu.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu.toggle .line2 {
    opacity: 0;
  }
  
  .mobile-menu.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  /* Menú desplegable */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    display: none;
    box-shadow: 0 4px 10px -2px var(--secondary-color);
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(4, 218, 209, 0.1);
  }
  
  .nav-links li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    text-align: left;
  }
  
  /* Selector d'idioma en mòbil */
  .language-selector-mobile {
    display: block;
    width: 100%;
    padding: 10px 20px 20px 20px;
    border-bottom: none !important;
  }
  
  .language-selector-mobile .language-selector {
    margin: 0;
    width: 100%;
  }
  
  .language-selector-mobile .language-selector select {
    width: 100%;
    font-size: 1.1rem;
  }
  
  /* Secció de clients responsive */
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .client-logo {
    padding: 15px;
  }
  
  /* Altres seccions responsive */
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  .about-text, .contact-info {
    margin-right: 0;
    margin-bottom: 30px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 50px;
    padding: 12px 15px;
  }
}

/* Tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Ajust per a pantalles molt petites */
@media screen and (max-width: 360px) {
  .navbar {
    padding: 8px 10px;
  }
  
  .logo img {
    height: 25px;
    margin-right: 5px;
  }
  
  .logo-title .mobile-logo {
    font-size: 1rem;
  }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}
