/* General Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #0077cc;
  transition: color 0.3s ease;
}

a:hover {
  color: #005fa3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background-color: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.logo-container {
  text-align: left;
  flex-shrink: 0;
}

.logo {
  width: 220px;
  height: auto;
  transition: transform 0.5s ease;
}

.logo:hover {
  transform: rotateY(360deg);
}

/* Navigation Styles */
.main-nav {
  margin-top: 0;
  flex-grow: 1;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu>li {
  margin: 0 15px;
  position: relative;
}

.menu>li>a {
  display: block;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.menu>li:hover>a {
  border-bottom: 2px solid #0077cc;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
  list-style: none;
  padding: 0;
}

.menu>li:hover .sub-menu {
  display: block;
  animation: slideDown 0.3s ease;
}

.sub-menu li {
  border-bottom: 1px solid #eee;
}

.sub-menu a {
  display: block;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

.sub-menu a:hover {
  background-color: #f8f8f8;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section-content {
  margin-bottom: 40px;
  padding: 40px 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0077cc;
  text-transform: uppercase;
}

.title-1 {
  animation: slideInLeft 1s ease-in-out;
}

.title-2 {
  animation: slideInRight 1s ease-in-out;
}

.title-3 {
  animation: slideInLeft 1s ease-in-out;
}

.title-4 {
  animation: slideInRight 1s ease-in-out;
}

.title-5 {
  animation: slideInLeft 1s ease-in-out;
}

.title-6 {
  animation: slideInRight 1s ease-in-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.text-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  order: 2;
}

.text-content p {
  margin-bottom: 15px;
}

.image-content {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  order: 1;
}

.image-content img {
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.intro {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f8f8;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.intro h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.intro-connect {
  font-size: 1.2rem;
  margin-bottom: 10px;
  animation: fadeIn 2s ease infinite alternate;
}

@keyframes fadeIn {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
  }
}

.intro-com {
  font-size: 1rem;
  color: #555;
}

/* About Us Section */
.about-img-1 {
  width: 90%;
  max-width: 500px;
}

.about-img-2 {
  width: 80%;
  max-width: 400px;
}

/* Products Section */
.product-img-1,
.product-img-2,
.product-img-3 {
  width: 80%;
  max-width: 350px;
}

/* Services Section */
.service-img-1,
.service-img-2 {
  width: 90%;
  max-width: 450px;
}

/* Commitment Section */
.commitment-img-1,
.commitment-img-2 {
  width: 85%;
  max-width: 400px;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact p {
  text-align: center;
  margin-bottom: 20px;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
}

.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact textarea {
  resize: vertical;
}

.contact-link {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-link:hover {
  background-color: #005fa3;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px;
  }

  .menu>li {
    margin: 0 10px;
    flex-shrink: 0;
  }

  .sub-menu {
    width: 100%;
    position: static;
    box-shadow: none;
    display: none;
  }

  .menu>li:hover .sub-menu {
    display: block;
    animation: none;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .text-content,
  .image-content {
    order: 0;
    /* Reset order for mobile */
  }

  .image-content {
    margin-top: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .intro h1 {
    font-size: 2.5rem;
  }

  .intro-connect {
    font-size: 1.1rem;
  }

  .intro-com {
    font-size: 0.9rem;
  }
}

/* Additional Styling & Effects */
.about-us {
  position: relative;
  overflow: hidden;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 204, 0.2), transparent);
  animation: shine 3s infinite;
  z-index: -1;
}

@keyframes shine {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

.products {
  position: relative;
  overflow: hidden;
}

.products::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, transparent, rgba(0, 119, 204, 0.15), transparent);
  animation: shine-reverse 4s infinite;
  z-index: -1;
}

@keyframes shine-reverse {
  0% {
    right: -50%;
  }

  100% {
    right: 150%;
  }
}

.services {
  position: relative;
  overflow: hidden;
}

.services::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent, rgba(0, 119, 204, 0.1));
  animation: pulse 3s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

.commitment {
  position: relative;
  overflow: hidden;
}

.commitment::before,
.commitment::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.commitment::before {
  top: 0;
  left: 0;
  background: linear-gradient(to right, transparent, rgba(0, 119, 204, 0.1), transparent);
  animation: slideLeft 5s infinite;
}

.commitment::after {
  bottom: 0;
  right: 0;
  background: linear-gradient(to left, transparent, rgba(0, 119, 204, 0.1), transparent);
  animation: slideRight 5s infinite;
}

@keyframes slideLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Sponsor Section High-End Styling */
.sponsor-section {
  margin: 40px auto;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.85));
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
  border: 1px solid rgba(0, 86, 179, 0.15);
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-section:hover {
  box-shadow: 0 20px 45px rgba(0, 86, 179, 0.15);
  transform: translateY(-5px);
}

.sponsor-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(90deg, #0056b3, #0077cc);
  color: white;
  border-radius: 50px;
  padding: 5px 15px;
  font-size: 0.85em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

.sponsor-badge-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid white;
  text-align: center;
  line-height: 15px;
  font-weight: bold;
  font-style: italic;
  font-size: 12px;
}

.sponsor-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.sponsor-logo-col {
  flex: 1 1 300px;
  text-align: center;
}

.sponsor-img {
  max-width: 200px;
  height: auto;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sponsor-img:hover {
  transform: scale(1.08) rotate(2deg);
}

.sponsor-text-col {
  flex: 2 1 500px;
}

.sponsor-title {
  font-size: 1.8em;
  color: #0056b3;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.sponsor-p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.sponsor-link-main {
  color: #0056b3;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dashed #0056b3;
  transition: color 0.2s, border-bottom 0.2s;
}

.sponsor-link-main:hover {
  color: #003d82;
  border-bottom: 1px solid #003d82;
}

.sponsor-link-fb,
.sponsor-link-shopee,
.sponsor-link-service {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.sponsor-link-fb {
  color: #e83e8c;
}

.sponsor-link-fb:hover {
  color: #c21e64;
  text-decoration: underline;
}

.sponsor-link-shopee {
  color: #ff5722;
}

.sponsor-link-shopee:hover {
  color: #d84315;
  text-decoration: underline;
}

.sponsor-link-service {
  color: #007bff;
}

.sponsor-link-service:hover {
  color: #0056b3;
  text-decoration: underline;
}