/* Custom CSS for JMC Group Website - Ultra Modern Design 2025 */

:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --accent-color: #457b9d;
  --light-color: #f1faee;
  --dark-color: #0a1128;
  --gray-color: #8d99ae;
  --white-color: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 15px 45px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(20px);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.7;
  background-color: #0a0a0a;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative; /* Ensure positioning context for header */
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
  position: relative;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -0.5px;
}

.section-logo .section-title {
  font-size: 2.2rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.section-logo .section-title::after {
  display: none;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 50px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(230, 57, 70, 0.2);
  z-index: -1;
}

.wave-container {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  margin-top: -1px; /* Ensure seamless connection with content */
  filter: drop-shadow(0 -10px 20px rgba(0, 0, 0, 0.2));
}

.wave-container.footer-wave {
  filter: drop-shadow(0 -15px 30px rgba(0, 0, 0, 0.4));
  margin-bottom: -2px; /* Create seamless connection with footer content */
}

.wave-container.top-wave {
  background: #000000; /* Match header background */
  margin-top: 60px; /* Add space below header */
  z-index: 5;
}

.wave-img {
  width: 100%;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-transform: uppercase;
  font-size: 0.9rem;
  z-index: 1;
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: var(--white-color);
  border: none;
  background-size: 200% auto;
  animation: gradientFlow 8s ease infinite;
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3), 0 0 0 rgba(230, 57, 70, 0.5);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.4), 0 0 25px rgba(230, 57, 70, 0.2) !important;
  filter: brightness(1.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 0 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--white-color) !important;
  border-color: var(--white-color) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

.directions-btn {
  margin-top: 25px;
  border-radius: var(--border-radius);
}

/* Header */
.header {
  background: #000000;
  color: var(--white-color);
  position: sticky;
  top: 15px;
  z-index: 100;
  border-radius: 15px;
  margin: 0 20px;
  width: calc(100% - 40px);
}

.header:hover {
  /* Empty ruleset removed */
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white-color);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 55px;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 35px;
  position: relative;
}

.nav-link {
  color: var(--white-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  opacity: 0.85;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
  border-radius: 50px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Removed hamburger menu */

/* Keep animation keyframes for potential use elsewhere */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Companies Section */
.companies {
  padding: 120px 0;
  position: relative;
  background-color: #ffffff;
  color: var(--dark-color);
}

.companies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.section-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section-logo-img {
  height: 65px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.section-logo:hover .section-logo-img {
  transform: scale(1.05);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  perspective: 1200px;
}

.company-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.company-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  z-index: 0;
  border-radius: var(--border-radius-lg);
  pointer-events: none;
}

.company-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.08);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 245, 0.95));
  border: 1px solid rgba(230, 57, 70, 0.1);
  position: relative;
}

.highlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 70%, rgba(230, 57, 70, 0.1));
  z-index: 0;
  border-radius: 0 0 0 100%;
}

.corner-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
  z-index: 10;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transform: rotate(5deg);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: rotate(5deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.08); }
  100% { transform: rotate(5deg) scale(1); }
}

.premium-wrapper {
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1), inset 0 0 0 2px rgba(230, 57, 70, 0.05);
}

.company-header {
  text-align: center;
  padding: 40px 30px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

.logo-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 15px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
  transition: transform 0.5s ease;
}

.company-card:hover .company-logo {
  transform: scale(1.05) rotate(2deg);
}

.company-name {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-tagline {
  font-size: 1rem;
  color: var(--gray-color);
  margin-bottom: 15px;
}

.card-content {
  padding: 25px;
  position: relative;
  z-index: 1;
}

.partners-title {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--secondary-color);
  position: relative;
  padding-left: 15px;
}

.partners-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 3px;
}

.partner-list {
  padding: 5px 0;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.partner-list::-webkit-scrollbar {
  width: 4px;
}

.partner-list::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
  border-radius: 10px;
}

.partner-list::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 20px;
}

.partner-list li {
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  position: relative;
  background: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
}

.partner-list li:hover {
  transform: translateY(-3px);
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-color: var(--accent-color);
  z-index: 2;
}

.partner-name {
  display: block;
  position: relative;
  letter-spacing: -0.2px;
}

/* Specialty list for JMC Generic */
.specialty-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.specialty-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  transition: all 0.2s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.specialty-list li:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transform: translateX(5px);
  background: #fff;
  border-color: var(--primary-color);
}

.specialty-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(230,57,70,0));
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.specialty-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, transparent, rgba(230, 57, 70, 0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.specialty-list li:hover .specialty-icon::after {
  opacity: 1;
  transform: scale(1);
}

.specialty-details {
  display: flex;
  flex-direction: column;
}

.specialty-name {
  font-weight: 600;
  color: var(--secondary-color);
}

.specialty-desc {
  font-size: 0.85rem;
  color: var(--gray-color);
}

.partner-list li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.partner-list li:hover::before {
  opacity: 1;
}

.partner-list li:last-child {
  border-bottom: none;
}

/* About Section */
.about {
  position: relative;
  background: #000000;
  color: var(--white-color);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.1), transparent 60%);
  top: -200px;
  left: -200px;
  border-radius: 50%;
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 60%);
  bottom: -150px;
  right: -150px;
  border-radius: 50%;
  z-index: 0;
}

.about .container {
  padding: 120px 20px;
  position: relative;
  z-index: 1;
}

.about .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.about-text p {
  margin-bottom: 26px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--white-color);
  opacity: 0.9;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-left: 10px; /* Add spacing from text */
  padding: 15px; /* Create padding to prevent overflow */
  box-sizing: border-box;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

.about-img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
  transform: translateY(0);
  animation: float-in-place 6s ease-in-out infinite;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@keyframes float-in-place {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Keep original float for other elements */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background-color: var(--white-color);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  opacity: 0.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Equal columns for balance */
  gap: 50px;
  position: relative;
  z-index: 2;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  min-height: 450px;
  height: 450px;
  width: 100%; /* Ensure full width */
  display: flex; /* Help with centering the iframe */
  align-items: center;
  justify-content: center;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: calc(var(--border-radius-lg) - 3px);
}

.contact-info {
  background-color: var(--white-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(230, 57, 70, 0.03), transparent);
  transform: rotate(45deg);
  animation: shimmer 10s infinite linear;
  z-index: -1;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 30px;
  height: 30px;
  margin-right: 20px;
  margin-top: 5px;
  filter: opacity(0.8) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-item p {
  font-size: 1.05rem;
  color: var(--gray-color);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #000000;
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 0 50px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-contact {
  display: flex;
  gap: 40px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  background-color: rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 10px 18px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.footer-contact-item:hover {
  transform: translateY(-5px);
  background-color: rgba(230, 57, 70, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(230, 57, 70, 0.2);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.footer-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  filter: none;
  opacity: 1;
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}

.footer-contact-item p {
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  border-top: 1px solid rgba(230, 57, 70, 0.15);
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3) inset;
}

.footer-bottom p {
  font-size: 0.95rem;
  opacity: 0.7;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-logo .section-title {
    font-size: 1.9rem;
  }
  
  .section-logo-img {
    height: 55px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-left: 0; /* Reset margin on mobile */
    padding: 20px 0; /* Add vertical padding */
  }
  
  .about-img {
    max-width: 280px;
    margin: 0 auto;
    animation: float-in-place 5s ease-in-out infinite; /* Slightly faster animation on mobile */
  }
  
  .map-container {
    max-height: 400px;
  }
  
  .contact-info {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  /* Hamburger menu removed */
  
  .section-logo {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-logo-img {
    margin-right: 0;
    height: 50px;
  }
  
  .section-logo .section-title {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    z-index: 100;
  }
  
  .nav-list {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 25px;
  }
  
  .nav-item {
    margin: 12px 0;
    margin-left: 0;
  }
  
  .nav-link {
    padding: 15px 10px;
    display: block;
    font-size: 1.1rem;
  }
  
  .hero {
    padding: 100px 0 0;
  }
  
  .hero-content {
    padding-bottom: 70px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .companies {
    padding: 80px 0;
  }
  
  .company-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .company-card:hover {
    transform: translateY(-10px);
  }
  
  .partner-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    max-height: 260px;
  }
  
  .logo-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .company-name {
    font-size: 1.8rem;
  }
  
  .section-header {
    margin-bottom: 50px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .map-container {
    aspect-ratio: 1 / 1;
    max-height: 300px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .btn {
    width: 100%;
    padding: 14px 25px;
  }
  
  .contact-info {
    padding: 30px 20px;
  }
}
