/* Base Styles */
:root {
  --primary-color: #4a148c;
  --light-blue:#7475f4;
  --primary-light: #7c43bd;
  --primary-dark: #12005e;
  --secondary-color: #b39ddb;
  --accent-color: #7e57c2;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f8f9fa;
  --bg-alt: #f0ebf8;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 6px;
}

/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



body {
  font-family: '"DM Sans"', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: '"DM Sans"', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.6rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.0rem;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.2px;
}

h4 {
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

p {
  margin-bottom: 1rem;
}

.article{
  font-family: '"DM Sans"', sans-serif;
  line-height: 1.2;
  font-weight: 700; 
  font-size: 1.2rem; 
  letter-spacing: -0.2px; 
  line-height: 1.2; 
  color: var(--primary-color); 
  margin-bottom: 1rem;
}


/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--light-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-publications {
  display: inline-block;
  background-color: transparent;
  color: var(--light-blue);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--light-blue);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-publications:hover {
  background-color: var(--light-blue);
  color: var(--white);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}


/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: '"DM Sans"', sans-serif;
}

.logo-text {
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

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

nav a[aria-current="page"] {
  color: var(--primary-color);
}

nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem;
}


.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('https://images.unsplash.com/photo-1518932945647-7a1c969f8be2?ixlib=rb-4.0.3&auto=format&fit=crop&q=80');*/
  background-image: url('/img/dna.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.0rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.5;
}

/* Features Section */

.features {
  padding: 6rem 0;
  background-color: var(--white);
}

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

.feature-card {
  background-color: var(--bg-color);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-bottom: 3px solid var(--light-blue);
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background-color: var(--bg-alt);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--light-blue);
  color: var(--white);
  transform: rotateY(180deg);
}

/* Services Preview */
.services-preview {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

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

.service-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover::before {
  height: 100%;
}

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

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

.service-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-alt);
  padding: 3.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-container::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  font-family: '"DM Sans"', sans-serif;
  color: var(--primary-light);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-controls button {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-controls button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&q=80');*/
  background-image: url('../img/laboratory.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  font-size: 1.1rem;
}

.cta .btn {
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
}

.cta .btn:hover {
  background-color: var(--bg-alt);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p {
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

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

.footer-section ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

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

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.3rem;
  opacity: 0.8;
  transition: var(--transition);
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-3px);
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/img/dna.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Services Page */
.service-detail {
  padding: 6rem 0;
}

.alt-bg {
  background-color: var(--bg-alt);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse .service-text {
  direction: ltr;
}

.service-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.service-list {
  margin-top: 1.5rem;
}

.service-list li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.75rem;
}

.service-list li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.service-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  transition: var(--transition);
}

.service-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* About Page */
.about-story {
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-philosophy {
  padding: 6rem 0;
}

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

.philosophy-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--primary-color);
}

.philosophy-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background-color: var(--bg-alt);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.philosophy-card:hover .philosophy-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.team {
  padding: 6rem 0;
}

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

.team-member {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.member-image {
  height: 280px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.team-member h3, .team-member p {
  padding: 0 1.5rem;
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-bio {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}

.member-social a {
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition);
}

.member-social a:hover {
  color: var(--primary-color);
}

.partners {
  padding: 6rem 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.partner {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner:hover {
  transform: translateY(-5px);
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact Page */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2, .contact-form h2 {
  text-align: left;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.contact-info h2::after, .contact-form h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  min-width: 50px;
  height: 50px;
  background-color: rgba(74, 20, 140, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.info-item:hover .info-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-color);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
  background-color: var(--white);
}

.form-success {
  text-align: center;
  padding: 3.5rem;
  background-color: var(--bg-alt);
  border-radius: var(--radius);
}

.success-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.form-success h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.form-success p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.map-section {
  padding: 6rem 0;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
}

.faq {
  padding: 6rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  padding-right: 2rem;
}

.faq-icon {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  background-color: var(--white);
}

.faq-item.active {
  box-shadow: var(--shadow);
  border-left: 3px solid var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-content, .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-content.reverse {
    direction: ltr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: none;
  }
  
  nav.active {
    display: flex;
  }
  
  .feature-grid, .services-grid, .philosophy-grid, .team-grid, .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .testimonial-container {
    padding: 2rem 1.5rem;
  }
}

/* Animation Styles */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.logo-picture {
  width: 190px;
}

.flag-container {
    width: 24px;         
    aspect-ratio: 3 / 2; 
    overflow: hidden;
}

  .flag-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

.flag-choice {
    height: 20px;         
    aspect-ratio: 3 / 2; 
    overflow: hidden;
}

.language-banner {
  position: center;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  z-index: 10000;
}

.language-banner button {
  background: white;
  color: #4a148c;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 180px;
}

.language-banner button:hover {
  background: #4a148c;
  color: #7475f4;
}

/* Responsive : sur écrans plus larges, centrer et réduire */
@media (min-width: 600px) {
  .language-banner {
    max-width: 400px;
    margin: 0 auto 1em;
    border-radius: 10px 10px 0 0;
    bottom: 1em;
  }
}
