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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: url("../assets/images/Aarmax-World.webp") no-repeat calc(100% + 150px) -50px;
  background-size: 150vh;
  background-color: #0C0A1E;
  color: #FFFFFF;
  line-height: 1.5;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #5C44FC;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background-color: #0C0A1E;
}

html {
  scrollbar-color: #5C44FC #0C0A1E;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: #0C0A1E;
  flex-wrap: nowrap;
}

.footer-description {
  font-size: 0.95rem;
  color: #CCCCCC;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 20px;
}

.logo img {
  width: 60px;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(92, 68, 252, 0.6));
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.company-name {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: bold;
  color: #FFFFFF;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.2), 0 0 6px rgba(255, 255, 255, 0.15);
}
.company-name::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 10%, rgba(0, 0, 0, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

nav a {
  margin-left: 30px;
  font-weight: 500;
  word-spacing: 5px;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease-in-out;
}
nav a:hover {
  color: #5C44FC;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #5C44FC;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
nav a:hover::after {
  width: 100%;
  left: 0;
}

.contact-btn {
  background-color: #5C44FC;
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.contact-btn:hover {
  background-color: #9380FA;
  color: #FFFFFF !important;
}
.contact-btn::after {
  display: none !important;
}

@media (max-width: 768px) {
  .contact-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .contact-btn {
    padding: 7px 12px;
    font-size: 0.85rem;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0; /* Remove extra space */
  line-height: 1.1;
}

.company-slogan {
  font-size: 0.72rem;
  font-weight: 400;
  color: #CCCCCC;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-top: 1px; /* minimal spacing */
  white-space: nowrap;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .company-slogan {
    font-size: 0.65rem;
  }
}

@media (max-width: 767px) {
  .company-slogan {
    font-size: 0.6rem;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .logo img {
    width: 48px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  nav a {
    margin-left: 16px; /* smaller gap */
    font-size: 0.82rem;
  }

  .contact-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .logo img {
    width: 45px; /* smaller logo */
  }

  .company-name {
    font-size: 0.85rem;
  }

  .company-slogan {
    font-size: 0.58rem;
  }

  .logo-text {
    max-width: 110px;
  }
}
.hero {
  text-align: center;
  padding: 100px 5% 0px;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 1150px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 5px rgba(128, 128, 128, 0.6), 0 0 10px rgba(128, 128, 128, 0.4);
}
.hero p {
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 30px;
  max-width: 650px;
}
.hero p:first-of-type {
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
}
.hero-buttons .btn {
  flex: 1;
  min-width: 140px;
  max-width: 250px;
  text-align: center;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #5C44FC;
  color: #5C44FC;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  min-width: 160px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
.btn-secondary:hover {
  background: #5C44FC;
  color: #ffffff;
}

.btn-primary {
  background: #5C44FC;
  color: #FFFFFF;
  border: none;
  padding: 12px 48px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  min-width: 250px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
  background: #9380FA;
}

.partners {
  padding: 60px 5% 50px;
  text-align: left;
}
.partners h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(128, 128, 128, 0.6), 0 0 10px rgba(128, 128, 128, 0.4);
}

.partner-logos {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  white-space: nowrap;
  justify-content: center;
}
.partner-logos img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(70%);
  transition: filter 0.3s ease-in-out, transform 0.3s ease;
  opacity: 0.8;
}
/* ✅ TikTok logo inverted */
.partner-logos img[alt="TikTok Logo"] {
  filter: invert(100%) brightness(200%) contrast(90%);
}
.partner-logos img[alt="Apple Logo"],
.partner-logos img[alt="TikTok Logo"],
.partner-logos img[alt="Twitter Logo"],
.partner-logos img[alt="YouTube Logo"] {
  filter: invert(100%) brightness(200%) contrast(90%);
}
.partner-logos img:hover {
  filter: grayscale(0%) brightness(120%);
  opacity: 1;
  transform: scale(1.15);
}
.partner-logos img[alt="Apple Logo"]:hover,
.partner-logos img[alt="TikTok Logo"]:hover,
.partner-logos img[alt="Twitter Logo"]:hover,
.partner-logos img[alt="YouTube Logo"]:hover {
  filter: invert(100%) brightness(250%) contrast(100%);
}
.partner-logos img[alt="Google Logo"],
.partner-logos img[alt="Bing Logo"] {
  filter: grayscale(100%) brightness(100%);
}
.partner-logos .logos-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: scroll 45s linear infinite;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding-left: 50px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.partner-logos:hover .logos-wrapper {
  animation-play-state: paused;
}

.footer-brand-name {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #222;
}

/* === TWO COLUMN === */
.two-column {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 50px 5%;
  gap: 50px;
}
.two-column .column {
  flex: 1 1 400px;
  min-width: 300px;
}
.two-column h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.two-column p {
  color: #CCCCCC;
  margin-bottom: 30px;
  text-align: justify;
}
.two-column .btn-secondary {
  background: transparent;
  border: 2px solid #5C44FC;
  border-radius: 30px;
  padding: 10px 20px;
  color: #5C44FC;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.two-column .btn-secondary:hover {
  background: #5C44FC;
  color: #ffffff;
}
.two-column .column img {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.two-column .column img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(12, 10, 30, 0) 0%, rgba(12, 10, 30, 0.9) 100%);
}

.why-choose-section {
  background-color: #0C0A1E;
  color: #fff;
  padding: 100px 5%;
  text-align: center;
}

.why-choose-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 60px;
}

.why-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-item {
  flex: 1 1 22%; /* Roughly 4 items per row */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  min-width: 200px;
  max-width: 260px;
}

.why-item:hover {
  background-color: rgba(92, 68, 252, 0.1);
  transform: translateY(-5px);
  border-color: #5C44FC;
}

.why-item i {
  font-size: 28px;
  color: #5C44FC;
  margin-bottom: 15px;
}

.why-item p {
  font-size: 1rem;
  color: #C9C9D1;
  line-height: 1.6;
  margin: 0;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 20px 5%;
  text-align: center;
  border-radius: 10px;
}
.testimonials h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 40px;
}
.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin: auto;
}
.testimonial-card {
  background: #25233A;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: left;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-left: 5px solid #5C44FC;
}
.testimonial-card:hover {
  box-shadow: 0 10px 20px rgba(92, 68, 252, 0.3);
}
.testimonial-card h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: #CCCCCC;
  margin-bottom: 15px;
  line-height: 1.4;
  text-align: justify;
}
.stars {
  color: #FFD700;
  font-size: 1.2rem;
}

/* === CTA SECTION === */
.cta {
  background: linear-gradient(135deg, #5C44FC, #1C1A2E);
  text-align: center;
  padding: 75px 5%;
  border-radius: 10px;
  color: #fff;
  margin: 50px auto;
}
.cta h3 {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #E0E0E0;
  margin-bottom: 50px;
}
.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.cta p {
  font-size: 0.95rem;
  color: #DDD;
  margin-bottom: 25px;
}
.cta .btn {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  background: #FFFFFF;
  color: #5C44FC;
  transition: all 0.3s ease;
  margin-top: 15px;
}
.cta .btn:hover {
  background: #9380FA;
  color: #ffffff;
}

/* === FOOTER === */
.footer {
  padding: 50px 5%;
  color: #CCCCCC;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(128, 128, 128, 0.6), 0 0 10px rgba(128, 128, 128, 0.4);
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.footer-social img {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s;
}
.footer-social img:hover {
  opacity: 0.7;
}
.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(128, 128, 128, 0.6), 0 0 10px rgba(128, 128, 128, 0.4);
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a,
.footer-contact a {
  color: #CCCCCC;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease-in-out;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: #5C44FC;
}
.footer-links a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #5C44FC;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.footer-links a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
  left: 0;
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #666666;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1fr 1.2fr;
  gap: 20px;
}

/* === WHATSAPP CHAT === */
.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-chat img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}
.whatsapp-chat img:hover {
  transform: scale(1.1);
}

/* === APPLE MAP BADGE === */
.apple-below-header {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, #191c23 60%, #323859 100%);
  border-radius: 20px;
  padding: 2.5px 10px 2.5px 3px;
  box-shadow: 0 2px 7px 0 rgba(0,0,0,0.14), 0 0px 0px 1px #a2aaad35 inset;
  width: fit-content;
  margin: -9px auto 10px 55px;
  font-size: 0.95rem;
  position: relative;
  z-index: 3;
  min-height: 36px;
  transition: box-shadow 0.3s, margin 0.3s, font-size 0.3s;
}
.apple-badge-logo {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  padding: 1.5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.badge-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 2px #2226, 0 0 2px #fff1;
  line-height: 1.2;
  white-space: nowrap;
}
.invert-logo {
  filter: invert(1) brightness(2) grayscale(1) contrast(1.3);
}

/* === MEDIA QUERIES === */
@media (max-width: 900px) {
  .apple-below-header {
    margin: 6px auto 8px 40px;
    font-size: 0.92rem;
    min-height: 30px;
    padding: 2px 8px 2px 3px;
  }
  .apple-badge-logo {
    width: 19px;
    height: 19px;
    padding: 1px;
  }
  .badge-text {
    font-size: 0.90rem;
  }
}

@media (max-width: 600px) {
  .apple-below-header {
    margin: -10px auto 7px 18px;
    font-size: 0.88rem;
    min-height: 26px;
    padding: 1.5px 6px 1.5px 2px;
  }
  .apple-badge-logo {
    width: 16px;
    height: 16px;
    padding: 0.5px;
  }
  .badge-text {
    font-size: 0.82rem;
  }
}

/* ✅ Normalize button padding and font size on small devices */
@media (max-width: 480px) {
  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    min-width: 180px;
    text-align: center;
  }
  .hero-buttons .btn,
  .btn-primary,
  .btn-secondary {
    flex: unset !important;
    min-width: unset !important;
    max-width: unset !important;
    width: auto !important;
    display: inline-block !important;
    padding: 10px 18px !important;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  nav a {
    margin-left: 18px;
    font-size: 0.95rem;
  }
  .contact-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  .company-name {
    font-size: 1rem;
  }
  header {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

@media (max-width: 768px) {
  .partners {
    padding-top: 20px;
  }
  .partner-logos img {
    height: 30px !important;
    width: auto !important;
    max-height: 30px !important;
    object-fit: contain;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    min-width: 250px;
    flex: 0 0 90%;
  }
  .two-column {
    flex-direction: column;
    gap: 0px;
  }
  .two-column .column:first-child {
    max-height: 315px;
    overflow: hidden;
  }
  .hero {
    padding: 80px 5%;
    text-align: left;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .company-name {
    font-size: 1rem;
  }
  .logo img {
    width: 50px;
  }
  .menu-container {
    position: relative;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 30px;
    cursor: pointer;
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 5px;
  }
  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  
  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 42px;
    right: 0;
    min-width: 160px;
    background: #0d0b1f;
    z-index: 9999;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }
  .mobile-nav.active {
    display: flex;
  }
  .mobile-nav a {
    color: #fff;
    padding: 12px 18px;
    text-align: left;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.25s ease, padding-left 0.2s;
  }
 
 .mobile-nav a:last-child {
  border-bottom: none;
  margin: 10px 10px 0 auto;
}

  .mobile-nav a:hover {
    padding-left: 24px;
    background: rgba(255, 255, 255, 0.07);
  }
}