/* ============================================
   EPITERMAL SA - OPTIMIZED STYLE.CSS
   Mobile-First Responsive Design
   ============================================ */

/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
   :root {
    /* Color Palette */
    --color-tierra: #8B4513;
    --color-oro: #E5A922;
    --color-cobre: #CE7151;
    --color-oscuro: #222;
    --color-claro: #f9f9f9;
    --color-fuente-menu: #222222e0;
    
    /* Metallic Colors */
    --gold: #FFD700;
    --copper: #B87333;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    
    /* Spacing */
    --nav-height-mobile: 70px;
    --nav-height-desktop: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
  }
  
  /* Universal Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ============================================
     BASE STYLES - MOBILE FIRST
     ============================================ */
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-oscuro);
    background-color: #fff;
    overflow-x: hidden;
    padding-top: var(--nav-height-mobile);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Desktop body padding */
  @media (min-width: 768px) {
    body {
      padding-top: var(--nav-height-desktop);
    }
  }
  
  /* ============================================
     TYPOGRAPHY - MOBILE FIRST
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  /* Tablet Typography */
  @media (min-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
  }
  
  /* Desktop Typography */
  @media (min-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
  }
  
  p {
    margin-bottom: 1rem;
    line-height: 1.7;
  }
  
  /* ============================================
     CONTAINERS - MOBILE FIRST
     ============================================ */
  .container,
  .header-container,
  .footer-container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Tablet Containers */
  @media (min-width: 768px) {
    .container,
    .header-container,
    .footer-container {
      max-width: 720px;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  
  /* Desktop Containers */
  @media (min-width: 1024px) {
    .container,
    .header-container,
    .footer-container {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1280px) {
    .container,
    .header-container,
    .footer-container {
      max-width: 1200px;
    }
  }
  
  /* ============================================
     IMAGES - MOBILE OPTIMIZED
     ============================================ */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.5rem;
  }
  
  /* Image Container with Inset */
  .image-container {
    position: relative;
    width: 100%;
  }
  
  .image-main {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
  }
  
  .image-inset {
    position: relative;
    width: 90%;
    max-width: 250px;
    margin: 1rem auto 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Tablet Image Inset */
  @media (min-width: 768px) {
    .image-inset {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 40%;
      margin: 0;
      z-index: 10;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }
  }
  
  /* ============================================
     GRID SYSTEMS - MOBILE FIRST
     ============================================ */
  .grid-cols-1,
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }
  
  /* Tablet Grids */
  @media (min-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }
  
  /* Desktop Grids */
  @media (min-width: 1024px) {
    .grid-cols-3 {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-cols-4 {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* ============================================
     SECTIONS - MOBILE FIRST
     ============================================ */
  section {
    padding: 2rem 0;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    section {
      padding: 3rem 0;
    }
  }
  
  @media (min-width: 1024px) {
    section {
      padding: 4rem 0;
    }
  }
  
  /* ============================================
     BUTTONS - MOBILE OPTIMIZED
     ============================================ */
  button,
  .btn,
  .link {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  button:active,
  .btn:active {
    transform: scale(0.97);
  }
  
  @media (min-width: 768px) {
    button,
    .btn,
    .link {
      font-size: 1rem;
      padding: 0.75rem 1.5rem;
    }
  }
  
  /* ============================================
     CARDS - MOBILE OPTIMIZED
     ============================================ */
  .card,
  .service-card,
  .project-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    width: 100%;
  }
  
  .card:hover,
  .service-card:hover,
  .project-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
  
  @media (min-width: 768px) {
    .card,
    .service-card,
    .project-card {
      padding: 1.5rem;
      border-radius: 1rem;
    }
  }
  
  /* ============================================
     MOBILE NAVIGATION - CRITICAL
     ============================================ */
  
  /* Hamburger Lines */
  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    transition: all var(--transition-normal);
    border-radius: 2px;
  }
  
  /* Hamburger Animation */
  #mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  #mobile-menu-button[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Mobile Menu */
  #mobile-menu {
    display: none;
    max-height: calc(100vh - var(--nav-height-mobile));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #mobile-menu.show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hide mobile menu on desktop */
  @media (min-width: 768px) {
    #mobile-menu {
      display: none !important;
    }
    
    #mobile-menu-button {
      display: none !important;
    }
  }
  
  /* Mobile Menu Scrollbar */
  #mobile-menu::-webkit-scrollbar {
    width: 4px;
  }
  
  #mobile-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
  }
  
  #mobile-menu::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
  }
  
  /* ============================================
     ACTIVE NAVIGATION LINKS
     ============================================ */
  .nav-link[aria-current="page"],
  .mobile-nav-link[aria-current="page"] {
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  
  .nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  
  .mobile-nav-link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent) !important;
    border-left: 3px solid var(--gold) !important;
  }
  
  /* ============================================
     NAVBAR METALLIC EFFECTS
     ============================================ */
  nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    pointer-events: none;
  }
  
  /* ============================================
     FOOTER - MOBILE OPTIMIZED
     ============================================ */
  footer {
    background-color: var(--color-oscuro) !important;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }
  
  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 3rem;
    }
  }
  
  /* ============================================
     SOCIAL ICONS - GOLD/COPPER GLOW
     ============================================ */
  .footer-column .fab.fa-linkedin-in,
  footer .fab.fa-linkedin-in,
  .footer-column .fas.fa-file-pdf,
  footer .fas.fa-file-pdf {
    transition: all var(--transition-normal);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-column .fab.fa-linkedin-in:hover,
  footer .fab.fa-linkedin-in:hover,
  .footer-column .fas.fa-file-pdf:hover,
  footer .fas.fa-file-pdf:hover {
    box-shadow:
      0 0 9px 2px var(--gold),
      0 0 16px 7px var(--copper),
      0 0 32px 13px rgba(255, 215, 0, 0.8);
    transform: scale(1.1);
  }
  
  /* ============================================
     TABLE - MOBILE OPTIMIZED
     ============================================ */
  .table-wrapper {
    overflow-x: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  @media (min-width: 768px) {
    .table-wrapper {
      padding: 1.5rem;
    }
  }
  
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.75rem;
    min-width: 600px;
  }
  
  @media (min-width: 768px) {
    table {
      font-size: 0.9rem;
    }
  }
  
  @media (min-width: 1024px) {
    table {
      font-size: 0.95rem;
      min-width: auto;
    }
  }
  
  thead th {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: #c9aa71;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    border-right: 1px solid rgba(201, 170, 113, 0.3);
    font-size: 0.8em;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  
  @media (min-width: 768px) {
    thead th {
      padding: 14px 10px;
      font-size: 0.9em;
    }
  }
  
  tbody td {
    padding: 10px 8px;
    text-align: center;
    font-weight: 500;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
  }
  
  @media (min-width: 768px) {
    tbody td {
      padding: 14px 12px;
    }
  }
  
  tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  @media (min-width: 768px) {
    tbody tr:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
  }
  
  /* Table Color Coding */
  .very-low { 
    background: linear-gradient(135deg, #2d4a2b 0%, #1e3a1e 100%);
    color: #a8d5a3;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .low { 
    background: linear-gradient(135deg, #4a4419 0%, #3d3714 100%);
    color: #f4e4a6;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .medium { 
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: #ffcc80;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .high { 
    background: linear-gradient(135deg, #8b2500 0%, #661a00 100%);
    color: #ffb3b3;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .very-high { 
    background: linear-gradient(135deg, #cc0000 0%, #8b0000 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4), 0 0 10px rgba(204,0,0,0.3);
  }
  
  /* Search Box */
  .search-box {
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
  }
  
  .search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  @media (min-width: 768px) {
    .search-box {
      padding: 1.5rem;
    }
    
    .search-box input {
      padding: 1rem 1.25rem;
      font-size: 1rem;
    }
  }
  
  /* Legend */
  .legend {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    flex-wrap: wrap;
  }
  
  @media (min-width: 768px) {
    .legend {
      gap: 1.25rem;
      padding: 1.5rem;
    }
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  
  @media (min-width: 768px) {
    .legend-item {
      font-size: 0.9rem;
    }
  }
  
  .legend-color {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
  }
  
  @media (min-width: 768px) {
    .legend-color {
      width: 30px;
      height: 20px;
    }
  }
  
  /* ============================================
     UTILITY CLASSES - MOBILE OPTIMIZED
     ============================================ */
  
  /* Spacing */
  .p-4 { padding: 0.75rem !important; }
  .p-6 { padding: 1rem !important; }
  .mb-8 { margin-bottom: 1.5rem !important; }
  .mt-8 { margin-top: 1.5rem !important; }
  .py-12 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  
  @media (min-width: 768px) {
    .p-4 { padding: 1rem !important; }
    .p-6 { padding: 1.5rem !important; }
    .mb-8 { margin-bottom: 2rem !important; }
    .mt-8 { margin-top: 2rem !important; }
    .py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  }
  
  /* Shadows */
  .shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
  .shadow-md { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
  .shadow-lg { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
  
  /* Border Radius */
  .rounded-lg { border-radius: 0.5rem; }
  .rounded-xl { border-radius: 0.75rem; }
  
  @media (min-width: 768px) {
    .rounded-xl { border-radius: 1rem; }
  }
  
  /* Visibility */
  .mobile-hide {
    display: none !important;
  }
  
  .mobile-block {
    display: block !important;
  }
  
  @media (min-width: 768px) {
    .mobile-hide {
      display: block !important;
    }
    
    .mobile-block {
      display: none !important;
    }
  }
  
  /* No Scrollbar */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  /* ============================================
     PERFORMANCE OPTIMIZATIONS
     ============================================ */
  
  /* GPU Acceleration for smooth animations */
  .nav-link,
  .mobile-nav-link,
  .card,
  .service-card,
  .project-card,
  button,
  .btn {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  /* Prevent text selection on touch devices during interactions */
  button,
  .btn,
  .hamburger-line {
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Optimize font rendering */
  body {
    text-rendering: optimizeLegibility;
  }
  
  /* ============================================
     PRINT STYLES
     ============================================ */
  @media print {
    nav,
    footer,
    .mobile-menu-button {
      display: none !important;
    }
    
    body {
      padding-top: 0 !important;
    }
    
    * {
      box-shadow: none !important;
    }
  }
  .img-modal-bg {
    background: rgba(0, 0, 0, 0.85);
}

.img-modal {
    z-index: 10000;
}

/* Custom gradient for cobre/gold buttons */
.btn-cobre-gold {
    background-image: linear-gradient(90deg, #b87333 0%, #ffd700 100%);
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-cobre-gold:hover {
    background-image: linear-gradient(90deg, #c69248 0%, #ffed4e 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Enlargeable images cursor */
.enlargeable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.enlargeable-img:hover {
    transform: scale(1.02);
}
 

/* Smooth transitions */
* {
    transition: opacity 0.3s ease-in-out;
}

/* Language button styles */
.lang-btn {
    background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
    box-shadow: 0 4px 6px rgba(234, 179, 8, 0.3);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(234, 179, 8, 0.4);
}

.google-translate-btn {
        background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .google-translate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
    }

    .google-translate-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
    }

    .google-translate-btn:hover::before {
        left: 100%;
    }

    /* Hide Google Translate banner */
    .goog-te-banner-frame {
        display: none !important;
    }

    body {
        top: 0 !important;
    }

    /* Style Google Translate dropdown */
    .goog-te-gadget {
        font-family: inherit !important;
    }

    .goog-te-gadget-simple {
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        font-size: 14px !important;
    }

    .goog-te-gadget-icon {
        display: none !important;
    }

    /* Custom dropdown container */
    #google_translate_element {
        display: inline-block;
    }

    #google_translate_element select {
        background: white;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 14px;
        color: #1f2937;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #google_translate_element select:hover {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }

    #google_translate_element select:focus {
        outline: none;
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }

    /* Active nav link - Projects highlighted */
    .nav-link.active,
    .mobile-nav-link.active {
        color: #f59e0b !important;
    }

    .nav-link.active .absolute.bottom-0 {
        width: 100% !important;
        left: 0 !important;
    }

    .mobile-nav-link.active {
        background-color: rgba(217, 119, 6, 0.1) !important;
    }

    /* Mobile translate button */
    @media (max-width: 768px) {
        #google_translate_element select {
            width: 100%;
            font-size: 16px;
            padding: 12px;
        }
    }

     /* Google Translate Button Styling */
     .google-translate-btn {
      background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }

  .google-translate-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
  }

  .google-translate-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s;
  }

  .google-translate-btn:hover::before {
      left: 100%;
  }

  /* Hide Google Translate banner */
  .goog-te-banner-frame {
      display: none !important;
  }

  body {
      top: 0 !important;
  }

  /* Style Google Translate dropdown */
  .goog-te-gadget {
      font-family: inherit !important;
  }

  .goog-te-gadget-simple {
      background-color: transparent !important;
      border: none !important;
      padding: 0 !important;
      font-size: 14px !important;
  }

  .goog-te-gadget-icon {
      display: none !important;
  }

  /* Custom dropdown container */
  #google_translate_element {
      display: inline-block;
  }

  #google_translate_element select {
      background: white;
      border: 2px solid #e5e7eb;
      border-radius: 8px;
      padding: 8px 12px;
      font-size: 14px;
      color: #1f2937;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  #google_translate_element select:hover {
      border-color: #f59e0b;
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  }

  #google_translate_element select:focus {
      outline: none;
      border-color: #f59e0b;
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  }

  /* Active nav link - Projects highlighted */
  .nav-link.active,
  .mobile-nav-link.active {
      color: #f59e0b !important;
  }

  .nav-link.active .absolute.bottom-0 {
      width: 100% !important;
      left: 0 !important;
  }

  .mobile-nav-link.active {
      background-color: rgba(217, 119, 6, 0.1) !important;
  }

  /* Mobile translate button */
  @media (max-width: 768px) {
      #google_translate_element select {
          width: 100%;
          font-size: 16px;
          padding: 12px;
      }
  }