/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1e9fd8;
  --dark-blue: #0d6ba6;
  --light-blue: #e8f5fb;
  --orange: #ff6b35;
  --dark-gray: #2c3e50;
  --light-gray: #f5f7fa;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 24px; */
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  width: 260px;
  height: auto;
}

.logo img {
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-blue);
}

.nav-item {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

.nav-item > span {
  padding: 4px 0;
  display: inline-block;
}

.nav-item:hover > span {
  color: var(--primary-blue);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 140px;
  display: none;
  z-index: 1001;


  
}

.nav-dropdown a {
  display: block;
  padding: 8px 18px;
  color: var(--text-dark);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-about{
      width: 112px;
    height: 32px;
    border-radius: 46px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(243, 187, 66, .55)), to(rgba(254, 228, 11, .55)));
    background: linear-gradient(90deg, rgba(243, 187, 66, .55), rgba(254, 228, 11, .55));
    text-align: center
}
.btn-contact {
  width: 112px;
    height: 32px;
    border-radius: 46px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(248, 99, 15, .55)), to(rgba(255, 166, 112, .55)));
    background: linear-gradient(90deg, rgba(248, 99, 15, .55), rgba(255, 166, 112, .55));
    text-align: center;
    line-height: 32px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  margin-top: 70px;
  /* background: linear-gradient(135deg, #e8f5fb 0%, #d4edfa 50%, #c0e5f9 100%); */
  background: url("../images//HMob_banner.png") no-repeat center;
  background-size: cover;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-company {
  background: url("../images/banner.png") no-repeat center;
  background-size: cover;
  height: 980px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 550px;
}

.hero-company .hero-text {
  margin: 0 auto;
  text-align: center;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.hero-text p {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 0;
  line-height: 1.8;
}

.btn-primary {
  background: #ffffff;
  color: #2f80ed;
  border: none;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 128, 237, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 128, 237, 0.3);
  background: #f0f7ff;
  color: #1e6fd9;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-banner {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-banner:hover {
  transform: rotateY(-5deg) rotateX(1deg) scale(1.02);
}

.hero-gifs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-gif-item {
  position: absolute;
  width: 110px;
  height: 110px;
}

.hero-gif-item img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: block;
}

.hero-gif-item:nth-child(1) {
  top: 49%;
    right: 25%;
}

.hero-gif-item:nth-child(2) {
      bottom: 33%;
    right: 10%;
}

.hero-gif-item:nth-child(3) {
  top: 52%;
    left: 11%;
}

.hero-gif-item:nth-child(4) {
  bottom: 13%;
    left: 53%;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--white);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-row {
  display: grid;
  width: 100%;
  gap: 40px;
}

.stats-row:first-child {
  grid-template-columns: repeat(3, 1fr);
}

.stats-row:last-child {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.66%;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  font-size: 20px;
  color: #010201;
  line-height: 1.5;
  max-width: 180px;
}

/* Brands Section */
.brands {
  padding: 60px 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.brands-grid:last-child {
  margin-bottom: 0;
}

.brand-item {
  /* background: var(--white); */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); */
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-item:hover {
  transform: translateY(-4px);
}

/* Case Studies Section */
/* Events Hero Slider */
.events-hero {
  margin-top: 200px;
  background: var(--white);
  margin-bottom: 130px;
}

.event-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.event-slides {
  position: relative;
  width: 100%;
  height: 670px;
}

.event-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.event-slide.active {
  opacity: 1;
  visibility: visible;
}

.event-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.event-slider-btn.prev {
  left: 24px;
}

.event-slider-btn.next {
  right: 24px;
}

.event-slider-dots {
  position: absolute;
  right: 40px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 11;
}

.event-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.event-slider-dots .dot.active {
  background: var(--primary-blue);
}

/* Case Studies Section */
/* Case Studies Section - Swiper */
.case-studies {
  background: linear-gradient(135deg, #56ccf2 0%, #2f80ed 100%);
  overflow: hidden;
}

.swiper-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

.swiper-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.swiper-slide.active {
  opacity: 1;
  visibility: visible;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-blue);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: translateY(-50%) scale(0.95);
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background: var(--white);
}

.solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.solution-item:last-child {
  margin-bottom: 0;
}

.solution-item.reverse {
  direction: rtl;
}

.solution-item.reverse .solution-text {
  direction: ltr;
}

.solution-text h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-dark);
  line-height: 1.3;
}

.highlight-orange {
  color: var(--orange);
}

.solution-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.solution-graphic {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.solution-graphic:hover {
  transform: scale(1.02);
}

.graphic-advertiser {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: url("../images/HMob_case_1.png") no-repeat center;
  background-size: contain;
}

.graphic-optimization {
  /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
  background: url("../images/HMob_case_2.png") no-repeat center;
  background-size: contain;
}

/* About Section - standalone pages */
.about {
  padding: 80px 0 60px;
  background: #ffffff;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}

.about-item.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 20px;
    color: #010101;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}

/* Careers Section - standalone page */
.careers {
  padding: 80px 0;
  background: linear-gradient(180deg, #e8f5fb 0%, #ffffff 60%);
}

.careers .section-title {
  margin-bottom: 40px;
}

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.career-card {
  background: #f5f9ff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 24px 28px;
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
}

.career-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.career-header::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
}

.career-card.open .career-header::after {
  content: "−";
}

.career-meta {
  font-size: 14px;
  color: var(--primary-blue);
}

.career-body {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: flex-start;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.career-illustration img {
  width: 100%;
  max-width: 260px;
  display: block;
}

.career-card.open .career-body {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 16px;
  pointer-events: auto;
}

.career-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.career-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-gray);
}

.career-content ul li {
  margin-bottom: 4px;
}

.hero-content-company{
  margin-top: 120px;
  width: 100%;
}
.hero-text-company{
  max-width: 100%;
}
/* Events Section */
.events {
  padding: 80px 0;
  background: var(--light-gray);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.event-card {
  position: relative;
  /* background: var(--white); */
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); */
  transition: transform 0.3s;
  padding-bottom: 70px;
  width: 260px;
  max-width: 100%;
  height: 290px;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-image {
  width: 100%;
  /* height: 180px; */
  height: 100%;
  background: var(--light-blue);
}

.event-img-1 {
  width: 260px;
  height: 280px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: url("../images/HMob_news_1.png") no-repeat center;
  background-size: contain;
}

.event-img-2 {
  width: 260px;
  height: 280px;
  /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
  background: url("../images/HMob_news_2.png") no-repeat center;
  background-size: contain;
}

.event-img-3 {
  width: 260px;
  height: 280px;
  /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
  background: url("../images/HMob_news_3.png") no-repeat center;
  background-size: contain;
}

.event-img-4 {
  width: 260px;
  height: 280px;
  /* background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); */
  background: url("../images/HMob_news_4.png") no-repeat center;
  background-size: contain;
}

.event-desc {
  padding: 20px;
  font-size: 14px;
  color: var(--text-gray);
  min-height: 80px;
}

.btn-learn {
  position: absolute;
  bottom: -0px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 160px;
  min-height: 44px;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.btn-learn:hover {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30, 159, 216, 0.3);
}

.btn-learn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 159, 216, 0.2);
}

.btn-learn:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-detail a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 16px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.btn-submit {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
  transition: transform 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  /* background: linear-gradient(135deg, #56ccf2 0%, #56b8e6 100%); */
  background: url("../images/footer_bg.jpg") no-repeat center;
  background-size: cover;
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 320px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.footer-left p {
  font-size: 20px;
  color: var(--white);
  margin: 0;
  line-height: 1.6;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}

.social-icon {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* .social-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 2px;
  display: inline-block;
} */

.social-icon:hover {
  opacity: 0.8;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
/* Tablet Landscape - 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 20px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-content {
    gap: 60px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .stats-row:last-child {
    max-width: 75%;
  }

  .stats {
    padding: 60px 0;
  }

  .brands {
    padding: 50px 0;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .brand-item {
    padding: 20px;
    min-height: 85px;
  }

  .brand-item img {
    max-width: 80px;
    max-height: 70px;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
  }

  .solution-item.reverse {
    direction: ltr;
  }

  .solution-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .solution-text p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
  }

  .solution-graphic {
    height: 300px;
    max-width: 100%;
  }

  .events {
    padding: 60px 0;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    width: 100%;
    height: 250px;
  }

  .contact {
    padding: 60px 0;
  }

  .footer {
    padding: 70px 0 35px;
  }

  .footer-content {
    gap: 70px;
  }

  .footer-logo {
    font-size: 32px;
  }

  .footer-left p {
    font-size: 13px;
  }
}

/* Small Tablet - 900px */
@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 38px;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 66.66%;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .brand-item {
    padding: 16px;
    min-height: 75px;
  }

  .brand-item img {
    max-width: 70px;
    max-height: 60px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait & Mobile Landscape - 768px */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  /* Header */
  .header-inner {
    height: 60px;
  }

  .logo {
    width: 180px;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    gap: 16px;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-contact {
    width: 100%;
    text-align: center;
  }

  /* Hero Section */
  .hero {
    margin-top: 60px;
    padding: 60px 0 50px;
    background-size: cover;
    background-position: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .btn-primary {
    padding: 14px 32px;
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-banner {
    max-width: 100%;
    transform: rotateY(0) rotateX(0);
  }

  .hero-banner:hover {
    transform: scale(1.02);
  }

  /* Stats Section */
  .stats {
    padding: 50px 0;
  }

  .stats-grid {
    gap: 40px;
  }

  .stats-row {
    gap: 20px;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    justify-items: center;
  }

  .stat-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 12px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Brands Section */
  .brands {
    padding: 40px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .brand-item {
    padding: 12px;
    min-height: 60px;
    font-size: 14px;
  }

  .brand-item img {
    max-width: 60px;
    max-height: 50px;
  }

  .swiper-wrapper {
    height: 450px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }

  /* Solutions Section */
  .solutions {
    padding: 50px 0;
  }

  .solution-item {
    gap: 32px;
    margin-bottom: 50px;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .solution-item.reverse {
    direction: ltr;
  }

  .solution-text h2 {
    font-size: 26px;
    margin-bottom: 18px;
    line-height: 1.3;
  }

  .solution-text p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
  }

  .solution-graphic {
    height: 280px;
    max-width: 100%;
  }

  /* Events Section */
  .events {
    padding: 50px 0;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    width: 100%;
    height: 260px;
  }

  .event-card {
    width: 100%;
    max-width: 100%;
  }

  .btn-learn {
    max-width: 200px;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 15px;
    bottom: 18px;
    border-width: 2px;
  }

  /* Contact Section */
  .contact {
    padding: 50px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 15px;
  }

  .contact-form {
    padding: 30px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-left {
    gap: 15px;
  }

  .footer-logo {
    font-size: 30px;
  }

  .footer-left p {
    font-size: 13px;
  }

  .footer-right {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-social {
    gap: 16px;
  }

  .social-icon {
    font-size: 15px;
  }

  .social-icon::before {
    width: 18px;
    height: 18px;
  }
}

/* Medium Mobile - 600px */
@media (max-width: 600px) {
  .stats-row {
    gap: 16px;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    justify-items: center;
  }

  .stat-icon {
    width: 58px;
    height: 58px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  .solutions {
    padding: 42px 0;
  }

  .solution-item {
    gap: 26px;
    margin-bottom: 42px;
  }

  .solution-text h2 {
    font-size: 21px;
    margin-bottom: 13px;
  }

  .solution-text p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 480px;
  }

  .solution-graphic {
    height: 260px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .brand-item {
    padding: 10px;
    min-height: 55px;
  }

  .brand-item img {
    max-width: 55px;
    max-height: 45px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .event-card {
    width: 100%;
    max-width: 100%;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    height: 240px;
  }

  .btn-learn {
    max-width: 190px;
    min-height: 47px;
    padding: 13px 22px;
    font-size: 14px;
    bottom: 17px;
  }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
  .container {
    padding: 12px;
  }

  /* Header */
  .header-inner {
    height: 56px;
  }

  .logo {
    width: 150px;
  }

  .nav {
    top: 56px;
    padding: 16px;
  }

  /* Hero Section */
  .hero {
    margin-top: 56px;
    padding: 40px 0 30px;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.5;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
    margin-top: 20px;
  }

  /* Stats Section */
  .stats {
    padding: 40px 0;
  }

  .stats-grid {
    gap: 30px;
  }

  .stats-row {
    gap: 14px;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    justify-items: center;
  }

  .stat-icon {
    width: 55px;
    height: 55px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
    max-width: 180px;
  }

  /* Brands Section */
  .brands {
    padding: 30px 0;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .brand-item {
    padding: 8px;
    min-height: 50px;
    font-size: 12px;
  }

  .brand-item img {
    max-width: 50px;
    max-height: 40px;
  }

  .swiper-wrapper {
    height: 100px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .swiper-button-prev {
    left: 8px;
  }

  .swiper-button-next {
    right: 8px;
  }

  /* Solutions Section */
  .solutions {
    padding: 45px 0;
  }

  .solution-item {
    gap: 28px;
    margin-bottom: 45px;
    text-align: center;
  }

  .solution-text h2 {
    font-size: 22px;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .solution-text p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto;
  }

  .solution-graphic {
    height: 240px;
    max-width: 100%;
  }

  /* Events Section */
  .events {
    padding: 40px 0;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    width: 100%;
    height: 220px;
  }

  .event-card {
    width: 100%;
    max-width: 100%;
  }

  .btn-learn {
    width: calc(100% - 40px);
    max-width: 180px;
    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
    bottom: 16px;
    border-radius: 22px;
  }

  /* Contact Section */
  .contact {
    padding: 40px 0;
  }

  .contact-wrapper {
    gap: 30px;
  }

  .contact-info h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 13px;
  }

  .btn-submit {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 45px 0 24px;
  }

  .footer-content {
    gap: 35px;
  }

  .footer-left {
    gap: 12px;
  }

  .footer-logo {
    font-size: 26px;
  }

  .footer-left p {
    font-size: 12px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-social {
    gap: 14px;
  }

  .social-icon {
    font-size: 14px;
  }

  .social-icon::before {
    width: 16px;
    height: 16px;
  }
}

/* Small Mobile - 375px and below */
@media (max-width: 375px) {
  .container {
    padding: 10px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .btn-primary {
    padding: 10px 24px;
    font-size: 13px;
  }

  .stats-row {
    gap: 10px;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    justify-items: center;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 10px;
  }

  .section-title {
    font-size: 18px;
  }

  .swiper-wrapper {
    height: 280px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .swiper-button-prev {
    left: 6px;
  }

  .swiper-button-next {
    right: 6px;
  }

  .solution-item {
    gap: 20px;
    margin-bottom: 35px;
  }

  .solution-text h2 {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .solution-text p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto;
  }

  .solution-graphic {
    height: 200px;
    max-width: 100%;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .brand-item {
    padding: 6px;
    min-height: 45px;
    font-size: 11px;
  }

  .brand-item img {
    max-width: 45px;
    max-height: 35px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    height: 200px;
  }

  .event-card {
    width: 100%;
    max-width: 100%;
  }

  .btn-learn {
    width: calc(100% - 32px);
    max-width: 160px;
    min-height: 44px;
    padding: 11px 18px;
    font-size: 13px;
    bottom: 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
  }

  .contact-info h2 {
    font-size: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-left {
    gap: 10px;
  }

  .footer-logo {
    font-size: 24px;
  }

  .footer-left p {
    font-size: 11px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-social {
    gap: 12px;
  }

  .social-icon {
    font-size: 13px;
  }

  .social-icon::before {
    width: 14px;
    height: 14px;
  }
}

/* Universal Responsive Optimizations */
@media (max-width: 1024px) {
  /* Optimize images for tablets */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Improve touch targets */
  button,
  a,
  .btn-primary,
  .btn-learn,
  .btn-submit,
  .btn-contact {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .event-card:hover,
  .brand-item:hover,
  .hero-banner:hover {
    transform: none;
  }

  /* Make buttons easier to tap */
  .btn-learn {
    padding: 14px 24px;
    min-height: 48px;
    font-size: 15px;
    border-width: 2.5px;
  }

  .btn-submit,
  .btn-primary,
  .btn-contact {
    padding: 14px 24px;
  }

  /* Active state for touch feedback */
  .btn-learn:active {
    transform: translateX(-50%) scale(0.97);
    background: var(--primary-blue);
    color: var(--white);
  }

  /* Larger touch targets for navigation */
  .nav a {
    padding: 12px 16px;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize text rendering for retina displays */
  body {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 40px 0 30px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .stats {
    padding: 40px 0;
  }

  .stats-row:first-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row:last-child {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    justify-items: center;
  }

  /* Solutions Section in landscape */
  .solutions {
    padding: 40px 0;
  }

  .solution-item {
    gap: 30px;
    margin-bottom: 40px;
  }

  .solution-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .solution-text p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 500px;
  }

  .solution-graphic {
    height: 260px;
  }
  /* Events cards in landscape */
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .event-card {
    min-height: 320px;
    max-width: 100%;
  }

  .event-img-1,
  .event-img-2,
  .event-img-3,
  .event-img-4 {
    height: 220px;
  }

  .btn-learn {
    max-width: 170px;
    min-height: 44px;
    padding: 11px 20px;
    font-size: 14px;
    bottom: 14px;
  }

  /* Footer in landscape */
  .footer {
    padding: 50px 0 25px;
  }

  .footer-content {
    grid-template-columns: 1fr 2fr;
    gap: 50px;
  }

  .footer-right {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Print styles */
@media print {
  .header,
  .mobile-menu-toggle,
  .btn-primary,
  .btn-learn,
  .btn-submit,
  .footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
