:root {
    --primary-color:#0C1733;
    --secondary-color: #084B82;
    --third-color: #F2F2F2;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: 'Arial', sans-serif;*/
    font-family: 'Poppins';
}

body {
    background-color: var(--third-color);
    color: var(--primary-color);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

a {
    text-decoration: none;
    color: inherit;
}

#header-article .nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

#header-article .hamburger-menu {
    color: var(--primary-color);
}

#header-article .hamburger-menu .bar {
    background-color: var(--primary-color);
}

.logo {
    width: 8vw; /* 8% della larghezza della viewport */
    height: auto;
  }
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav a {
    color: var(--third-color);
    text-decoration: none;
    font-weight: 500;
}

.nav a.active {
    position: relative; /* Necessario per posizionare il pseudo-elemento */
    text-decoration: none; /* Rimuovi l'underline predefinito */
  }
  
  .nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px; /* Posizione della linea rispetto al testo */
    width: 100%; /* Larghezza della linea */
    height: 2px; /* Spessore della linea */
    background-color: var(--third-color); /* Colore della linea */
  }

.nav .contacts {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown-content-magazine {
    background-color: var(--third-color);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    margin: 0;
    font-size: 14px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    color: var(--third-color);
}

/* Hamburger icona (tre linee) */
.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--third-color);
    transition: transform 0.3s, opacity 0.3s;
}

/* Stile quando il menu è aperto - trasforma le barre in X */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.left-menu {
    display: flex;
    align-items: center;
}

.menu-button, .home-button {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 15px;
    font-size: 20px;
}

.tab {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 5px 15px;
    border-radius: 4px;
    margin-right: 15px;
}

.tab-close {
    margin-left: 10px;
    cursor: pointer;
}

.create-button {
    background-color: #f5f5f5;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.right-menu {
    display: flex;
    align-items: center;
}

.right-menu-item {
    margin-left: 15px;
    cursor: pointer;
}

.login-button {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
}

.toolbar-item {
    margin: 0 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

.toolbar-item:hover {
    background-color: #e0e0e0;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 5px 15px;
    margin-left: 20px;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    width: 200px;
}

.container {
    /*max-width: 1600px;*/ /* Larghezza ridotta */
    width: 95%; /* Responsive */
    margin: 0 auto;
    position: relative;
    border-radius: 0px; /* Bordi arrotondati */
    overflow: hidden; /* Nasconde il contenuto fuori dai bordi arrotondati */
    /*box-shadow: 0 10px 50px rgba(0,0,0,0.3);*/
}

.hero {
    min-height: 600px;
    background-color: #11142b;
    background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/home-background.jpg');
    /* Modificato il background-image per includere il gradiente e l'immagine */
    background-size: cover;
    background-position: center 31%;
    /* Aggiunto filter per sfocare leggermente l'immagine */
    position: relative;
    display: flex;
    align-items: end;
    padding: 30px;
    color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
}

.hero.home {
    background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/home-background.jpg');
    background-position: center bottom;
}

.hero.about {
    /*background-size: 48%; /* o la dimensione che preferisci */
    /*background-position: calc(100% - 159px) center; /* 50px di spazio a destra */
    background-size: 70vh;
    background-position: calc(100%) 28%;
    background-repeat: no-repeat;
    background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/chi-siamo-background-2.jpg');
}

.hero.team {
    background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/team-background.jpg');
}

/* Opzionale: crea un elemento pseudo per un maggiore controllo sulla sfocatura */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/home-background.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.7);
    z-index: -2;
}

/* Opzionale: crea un elemento pseudo per il colore/gradiente */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6));
    z-index: -1;
}

.hero-content {
    width: 60%;
    padding-bottom: 50px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
}

.subtitle-button-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.team-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 800px;
    text-align: justify;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: bold;
}

.hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    text-decoration: none;
    align-items: center;
    background-color: transparent;
    color: var(--third-color);
    border: 2px solid white;
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: fit-content;
}

.hero-button-article {
    display: inline-block;
    text-decoration: none;
    align-items: center;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: fit-content;
}

.contact-btn {
    background-color: #007bff;
    color: var(--third-color);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    width: fit-content;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: var(--third-color);
    color: var(--primary-color);
}

.arrow-icon {
    margin-left: 10px;
}

.separator {
    height: 15px;
    width: 100%;
}

img {
    max-width: 100%; /* L'immagine non supera la larghezza del contenitore */
    height: auto; /* Mantiene le proporzioni */
}

.stats {
    background-color: var(--primary-color);
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    color: var(--third-color);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
}

.stat-text {
    font-size: 1rem;
}

.side-toolbar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}

.side-tool {
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 4px;
}

.side-tool:hover {
    background-color: #f0f0f0;
}

.assistente-button {
    display: flex;
    align-items: center;
    background-color: #f1776c;
    color: var(--third-color);
    padding: 5px 24px;
    border-radius: 12px;
    cursor: pointer;
}

.assistente-button span {
    margin-left: 5px;
}

/* Sezione About */
.about-section {
    display: flex;
    padding: 80px 50px;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-heading {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #333;
    font-size: 1.1rem;
}

.about-heading h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-button {
    display: inline-block;
    text-decoration: none;
    align-items: center;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.about-button:hover {
    background-color: var(--primary-color);
    color: var(--third-color);
}

/* Galleria immagini */
.image-gallery {
    display: flex;
    padding: 0 50px 80px 50px;
    gap: 20px;
}

.gallery-image {
    flex: 1;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sezione Servizi */
.competenze-section {
    padding: 80px 0;
    background-color: var(--third-color);
    font-family: 'Arial', sans-serif;
}

/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}*/

.section-title {
    font-size: 42px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 60px;
    line-height: 1.2;
}

.competenze-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.competenza-card {
    background-color: var(--third-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 5px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.competenza-card a{
    text-decoration: none;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    width: 100%;
}

.competenza-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.competenza-card.active {
    background-color: var(--primary-color);
    color: white;
}

.icon-wrapper {
    font-size: 24px;
    color: var(--primary-color);
}

.competenza-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: var(--primary-color);
}

.competenza-card.active .icon-wrapper,
.competenza-card.active h3 {
    color: white;
}

.services-section {
    display: flex;
    align-items: center;
    padding: 80px 30px;
    
}

.services-content {
    flex: 1;
    padding-right: 50px;
    padding-bottom: 15px;
}

.services-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.services-content p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #333;
    font-size: 1rem;
    text-align: justify;
}

.services-button {
    display: inline-block;
    text-decoration: none;
    align-items: center;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-button:hover {
    background-color: var(--primary-color);
    color: var(--third-color);
}

.contact-section {
    display: flex;
    align-items: center;
    padding: 80px 50px;
}
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.hero-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    flex: 1;
    padding: 0px;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.service-button {
    background-color: var(--third-color);
    border: 1px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
}

.service-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Magazine section styles */
.magazine-section {
    display: inline;
    align-items: center;
    padding: 80px 50px;
    
}

.magazine-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.magazine-description {
    font-size: 18px;
    line-height: 1.6;
    color: #505f79;
    /*max-width: 800px;*/
    margin-bottom: 40px;
}

.magazine-content {
    flex: 1;
    padding-right: 50px;
    padding-bottom: 15px;
}

.magazine-content p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #333;
    font-size: 1.1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.article-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-category {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 12px;
    background-color: var(--third-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.article-category.active {
    background-color: var(--primary-color);
    color: var(--third-color);
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    /*text-align: justify;*/
}

.article-excerpt {
    font-size: 16px;
    color: #505f79;
    line-height: 1.5;
    margin-bottom: 10px;
}

.read-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 5px 24px;
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 500;
    margin: 20px auto 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-button:hover {
    background-color: var(--primary-color);
    color: var(--third-color);
}

/* CTA Section */
.cta-section {
    background-color: #1a2a47;
    color: var(--third-color);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 10px;
    background-image: linear-gradient(rgba(26, 42, 71, 0.9), rgba(26, 42, 71, 0.9)), url('/api/placeholder/1200/500');
    background-size: cover;
    background-position: center;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    color: var(--third-color);
    border: 2px solid white;
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--third-color);
    color: #1a2a47;
}

/* Article Page Styles */
.article-hero {
    background: var(--third-color);
    padding: 120px 0 60px;
    /*margin-top: 80px;*/
    text-align: center;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    background: transparent;
}

.tag.highlight {
    background: var(--primary-color);
    color: white;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Sections */
.content-section {
    padding: 0px 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.tools-section {
    margin: 40px 0;
}

.tools-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.tools-section ul {
    list-style: none;
    padding: 0;
}

.tools-section li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.tools-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.bottom-image {
    margin: 50px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.bottom-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Final CTA Section */
.final-cta {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.final-cta p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-outline {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Alternative Article Layout */
.article-hero-alt {
    background: var(--third-color);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text .article-tags {
    justify-content: flex-start;
    margin-bottom: 30px;
}

.hero-text .article-title {
    text-align: left;
    margin: 0;
    font-size: 3rem;
}

.hero-description {
    display: flex;
    align-items: center;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.hero-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-img-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-img-card:hover {
    transform: translateY(-5px);
}

.hero-img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Content with Image Sections */

.large-content-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.large-content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

/* Hero with Background Image */
.hero-with-background {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px;
}

.hero-content-center .article-tags {
    justify-content: center;
    margin-bottom: 30px;
}

.hero-content-center .tag {
    color: white;
    border-color: white;
}

.hero-content-center .tag.highlight {
    background: white;
    color: var(--primary-color);
}

.hero-title-overlay {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.hero-description-overlay {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Simple Content Sections */
.content-section-simple {
    padding: 0px 0;
}

.content-section-simple h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.content-section-simple p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.magazine-quote {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image Grid Section */
.image-grid-section {
    padding: 40px 0 80px;
}

.content-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.content-img-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.content-img-card:hover {
    transform: translateY(-5px);
}

.content-img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.breadcrumb-nav {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

.category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.date {
    opacity: 0.8;
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 800px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    opacity: 0.8;
}

.post-content {
    padding: 60px 0;
    background: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #444;
}

.highlight-box {
    background: var(--third-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--secondary-color);
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tools-list {
    list-style: none;
    padding: 0;
}

.tools-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.tools-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.visual-item {
    text-align: center;
    padding: 20px;
    background: var(--third-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.visual-item:hover {
    transform: translateY(-5px);
}

.visual-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 10px;
}

.visual-item span {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.quote-box {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.quote-box blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* Footer Section */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    /*margin-top: 50px;*/
    border-top: 1px solid #e0e0e0;
}

.footer-logo {
    height: 40px;
}

.footer-logo img {
    height: 100%;
}

.footer-copyright {
    color: var(--primary-color);
    font-size: 14px;
}

.footer-links {
    font-size: 14px;
    color: var(--primary-color);
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* chi-siamo.html */
/*.studio-section {}*/

.team-section {
    display: inline;
    align-items: center;
    padding: 80px 50px;
    
}
.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 20px;
  }

  .quote-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-container {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/*.quote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

.quote-bubble {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: grid; 
}

.quote-bubble p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: justify;
}

.quote-bubble-signature {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: grid; 
    margin-left: auto;
    margin-right: 0;
}

.quote-bubble-p-title {
    text-align:center; 
    vertical-align: middle;
    display: table-cell;  
}
  
  /* Stile card */
  .card {
    width: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  
  /* Contenitore immagine */
  .card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
  }
  
  .card-image img {
    width: 100%;
    /*height: 140%;*/
    /*object-fit: cover;*/
  }
  
  /* Icona LinkedIn */
  .linkedin-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Contenuto testuale */
  .card-content {
    padding: 15px;
    text-align: center;
  }
  
  .card-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
  }
  
  .card-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
  }
  
  /* Prefisso per titoli professionali */
  .title-prefix {
    font-weight: normal;
  }

/* servizi.html */
.practice-areas-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #0a192f;
    font-weight: 600;
}

.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f7f9fc;
}

.accordion-header h3 {
    margin: 0;
    font-size: 24px;
    color: #0a192f;
    font-weight: 600;
}

.accordion-icon {
    font-size: 24px;
    color: #0a192f;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 10px 30px 25px;
    text-align: justify;
}

.accordion-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.hidden {
    display: none;
}

/* Stile per il primo accordion che appare aperto */
.accordion-item:first-child .accordion-header {
    border-bottom: 1px solid #f0f0f0;
}

/* magazine.html */

/* consulenza.html */
.consulenza-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--third-color);
    margin-top: 40px;
}

.image-section {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
}

.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #14213d;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    /*min-height: 150px;*/
    resize: vertical;
}

/* Stile checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

/* Stile pulsante */
.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    max-width: 206px;
}

.submit-btn:hover {
    background-color: #233356;
}

.submit-btn svg {
    margin-left: 8px;
}

/* contatti.html */
.contact-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--third-color);
    /*margin-top: 40px;*/
}

.contact-page-section {
    align-items: center;
    /* padding: 80px 50px; */
}

.contact-info-group {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-info {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 12px;
    background-color: var(--third-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin: 8px 5px;
}

.map-section {
    flex: 1;
    overflow: hidden;
    padding: 40px;
    display: flex;
    border-radius: 10px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .competenze-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero.about {
        background-size: 70vh;
        background-position: calc(100%) 25%;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url(../images/chi-siamo-background-2.jpg);
    }
}

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem; /* Riduci la dimensione del titolo */
    }

    .hero-subtitle {
        font-size: 1rem; /* Riduci la dimensione del sottotitolo */
    }

    .hero.about {
        background-size: 100%;
        background-position: calc(100%) 28%;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url(../images/chi-siamo-background-2.jpg);
    }

    .about-section, .services-section, .contact-section, .magazine-section, .team-section {
        padding: 50px 20px; /* Riduci il padding */
    }

    .competenze-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne per tablet */
    }

    .footer {
        flex-direction: column; /* Allinea il footer in colonna */
        text-align: center;
        gap: 20px;
    }

    .nav {
        gap: 15px; /* Riduci lo spazio tra i link di navigazione */
    }

    .logo {
        width: 100px; /* Riduci la dimensione del logo */
    }
}

/* Mobile (fino a 768px) */
@media (max-width: 768px) {
    .header {
        flex-direction: column; /* Allinea gli elementi in colonna */
        align-items: flex-start;
        padding: 10px 20px;
    }

    .hamburger-menu {
        display: block;
    }

    .nav.nav-open .dropdown-content {
        display: block;
    }

    .logo {
        /*width: 100px; 
        margin-top: 15px;*/
        width: auto;
        height: 40px;
    }

    .nav {
        display: none; /* Nascondi la navigazione di default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Distanza dall'header */
        right: 20px;
        background-color: var(--third-color);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav a {
        margin: 0px 0; /* Spazio tra i link */
        color: var(--primary-color);
        border-color: var(--primary-color);
        text-align: left;
        width: 100%;
    }
    
    .nav .dropdown {
        width: 100%;
        margin: 0px 0;
    }
    
    .nav .dropdown .dropbtn {
        color: var(--primary-color);
        text-align: left;
        width: 100%;
        margin: 0;
    }

    /* Mostra il menu quando è attivo */
    .nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-color: rgba(0, 0, 0, 0.5);*/
        /*z-index: 998;*/
    }
    
    .nav-overlay.active {
        display: block;
    }

    .dropdown-content {
        position: relative;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        padding-left: 0;
        display: none;
        margin-top: 5px;
    }

    .dropdown-content-magazine {
        background-color: var(--third-color);
    }

    .dropdown-content a {
        padding: 8px 20px;
        margin: 5px 0;
        color: var(--primary-color);
        opacity: 0.8;
        font-size: 0.9rem;
        margin-left: 10px;
    }

    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .container {
        flex-direction: column;
    }
    
    .image-section {
        height: 300px;
    }

    .hero {
        min-height: 500px;
        padding: 30px;
        background-size: contain; /* Mostra l'intera immagine */
        background-repeat: no-repeat; /* Evita che l'immagine si ripeta */
        background-position: center; /* Centra l'immagine */
    }

    .hero-title {
        font-size: 2rem; /* Riduci ulteriormente la dimensione del titolo */
    }

    .hero.about {
        /*background-size: 48%; /* o la dimensione che preferisci */
        /*background-position: calc(100% - 50px) center; /* 50px di spazio a destra */
        background-size: 50vh;
        background-position: calc(100%) center;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/chi-siamo-background-2.jpg');
    }

    .article-hero {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 10px 0;
    }
    
    .final-cta h2 {
        font-size: 2.2rem;
    }
    
    .final-cta {
        padding: 80px 0;
    }
    
    /* Alternative layout tablet responsive */
    .hero-content-grid {
        gap: 40px;
    }
    
    .hero-text .article-title {
        font-size: 2.5rem;
    }
    
    .hero-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hero with background responsive tablet */
    .hero-with-background {
        min-height: 80vh;
    }
    
    .hero-overlay {
        min-height: 80vh;
    }
    
    .hero-title-overlay {
        font-size: 2.5rem;
    }
    
    .hero-description-overlay {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 30px;
        font-weight: bold;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .content-section-simple {
        padding: 0px 0;
    }
    
    .content-section-simple h2 {
        font-size: 1.5rem;
    }

    .content-section-simple p {
        font-size: 1rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 25px;
    }
    
    
    .content-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }    

    .subtitle-button-container {
        display: block;
        align-items: center;
        gap: 30px;
    }

    .hero-subtitle {
        /*padding: 0 1rem;*/
        font-size: 0.9rem; /* Riduci ulteriormente la dimensione del sottotitolo */
    }

    .hero-button {
        margin-top: 1.5rem;
    }

    .hero-section {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 0px 0;
        margin-top: 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats {
        display: block;
    }

    .about-button, .services-button, .read-more-button, .cta-button {
        text-align: center;
    }

    .about-section, .services-section, .contact-section, .magazine-section, .team-section, .contact-page-section, .consulenza-section {
        flex-direction: column; /* Allinea il contenuto in colonna */
        padding: 30px 15px;
    }

    .magazine-section {
        display: flex;
        align-items: center;
    }

    .articles-grid {
        grid-template-columns: 1fr; /* 1 colonna per mobile */
    }

    .hero-content {
        width: 100%; /* Occupa tutta la larghezza */
        margin-top: 15px;
    }

    .services-content {
        flex: 1;
        padding-right: 0px;
        padding-bottom: 15px;
    }

    .hero-section {
        flex-direction: column; /* Allinea il contenuto in colonna */
    }

    .services-grid {
        justify-content: center; /* Centra i pulsanti dei servizi */
    }

    .footer-links {
        flex-direction: column; /* Allinea i link del footer in colonna */
        gap: 10px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo img {
        width: auto;
        margin-top: 0px;
    }

    .contact-info {
        width: 100%;
    }

    .contact-info-group {
        flex-direction: column; /* Allinea le info di contatto in colonna */
        align-items: center;
    }

    .map-section {
        padding: 20px; /* Riduci il padding della mappa */
    }

    .contact-content {
        width: 100%; /* Occupa tutta la larghezza */
        margin-top: 15px;
        display: block;
    }

    .consulenza-content {
        width: 100%; /* Occupa tutta la larghezza */
        margin-top: 15px;
        display: block;
    }

    .form-row {
        display: block;
        gap: 20px;
    }

    .quote-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .quote-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .practice-areas-section .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .accordion-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .accordion-header {
        padding: 20px;
    }
    
    .accordion-header h3 {
        font-size: 20px;
    }
    
    .accordion-content {
        padding: 10px 20px 20px;
    }
}

/* Schermi molto piccoli (fino a 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        padding: 20px;
        border-radius: 10px;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url('../images/home-background.jpg');
        /* Gradient più scuro per migliorare la leggibilità su schermi piccoli */
    }

    .hero.about {
        /*background-size: 30vh;
        background-position: calc(100%) center;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.6), rgba(17, 20, 43, 0.4)), url('../images/chi-siamo-background-2.jpg');*/
        background-size: 100%;
        background-position: calc(100%) 28%;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(17, 20, 43, 0.8), rgba(17, 20, 43, 0.6)), url(../images/chi-siamo-background-2.jpg);
    }

    .hero-title {
        font-size: 1.5rem; /* Riduci ulteriormente la dimensione del titolo */
    }

    .hero-subtitle {
        font-size: 0.8rem; /* Riduci ulteriormente la dimensione del sottotitolo */
    }

    .about-button, .services-button, .read-more-button, .cta-button {        
        text-align: center;
    }

    .competenze-grid {
        grid-template-columns: 1fr;
    }

    .footer-copyright {
        font-size: 12px; /* Riduci la dimensione del testo del copyright */
    }

    .article-title {
        font-size: 2rem;
    }
    
    .article-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .final-cta p {
        font-size: 1rem;
    }
    
    /* Alternative layout responsive */
    .article-hero-alt {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 12px;
        font-weight: bold;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text .article-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-img-card img {
        height: 250px;
    }
    
    .large-content-image img {
        height: 250px;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    /* Hero with background responsive mobile */
    .hero-with-background {
        min-height: 70vh;
    }
    
    .hero-overlay {
        min-height: 70vh;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .hero-title-overlay {
        font-size: 2rem;
    }
    
    .hero-description-overlay {
        font-size: 0.9rem;
    }
    
    .hero-content-center {
        padding: 20px 15px;
    }
    
    .content-section-simple {
        padding: 20px 0;
    }
    
    .content-section-simple h2 {
        font-size: 1.8rem;
    }
    
    .content-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-img-card img {
        height: 250px;
    }
}

/* Scroll-to-top button styles */
#scrollToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--third-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s, transform 0.2s;
}
#scrollToTopBtn:hover {
  background: var(--secondary-color);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .dropdown-content {
    display: block !important;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .dropdown .dropbtn::after {
    display: none;
  }
}