@import url("https://use.typekit.net/ckf0smd.css");

@font-face {
  font-family: 'Mal815';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.0/Malssami815.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.logo {
  font-family: 'Mal815', sans-serif;
  font-size: 1.8rem;
  font-weight: normal;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: -1px;
}

:root {
  --primary-color: #0052ff;
  --text-color: #212529;
  --text-muted: #6c757d;
  --background-color: #ffffff;
  --background-light: #f8f9fa;
  --border-color: #dee2e6;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-content h3.pg-font,
.showcase-text h2.pg-font {
  font-family: natom-pro, sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 28px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 2.5rem;
}

.main-nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--background-color);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  z-index: 999;
}

.mobile-nav-menu.active {
  display: block;
}

.mobile-nav-menu ul {
  list-style: none;
  text-align: center;
}

technology .mobile-nav-menu ul li {
  padding: 1rem 0;
}

.mobile-nav-menu ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
  padding: 12rem 0 8rem;
  text-align: center;
  background: radial-gradient(circle, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  color: #ffffff;
  text-shadow: 4px 4px 5px rgb(0 0 0 / 73%);
}

.hero-section p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-background .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 82, 255, 0.3);
}

/* Common Section Styles */
.content-section {
  padding: 4rem 0;
}

.bg-light {
  background-color: var(--background-light);
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header span {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
}

/* Brands Section */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.brand-card {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.brand-image {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-content {
  padding: 1.5rem;
}

.brand-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.brand-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Brand Card Title with Link Icon */
.brand-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.brand-title-wrapper h3 {
  margin-bottom: 0;
}

.brand-link-icon {
  color: #adb5bd;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand-link-icon:hover {
  color: var(--primary-color);
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
}

.about-text .section-header {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.technology-card {
  background: var(--background-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.technology-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.technology-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.technology-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.technology-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* News Section */
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s;
}

.news-item:hover {
  background-color: rgba(0, 82, 255, 0.03);
}

.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-width: 120px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 1rem;
  flex-grow: 1;
}

.news-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

/* contact CTA Section */
.contact-cta-section {
  padding: 5rem 0;
  background: var(--text-color);
  color: #fff;
  text-align: center;
}

.contact-cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* Footer */
.main-footer {
  padding: 5rem 0 0;
  background: var(--background-light);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-info {
  max-width: 620px;
  position: relative;
}

.footer-mascot {
  width: 120px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  opacity: 0.5;
  border-radius: 6px;
}

.footer-logo img {
  height: 28px;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  color: var(--text-muted);
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--primary-color);
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  position: relative;
  z-index: 10;
  background: var(--background-light);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-bottom span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-section .scroll-fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

.hero-section .scroll-fade-in:nth-child(2) {
  transition-delay: 0.2s;
}

.hero-section .scroll-fade-in:nth-child(3) {
  transition-delay: 0.3s;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Brand Showcase Section */
.showcase-item {
  padding: 6rem 0;
}

.showcase-item:nth-child(even) {
  background-color: var(--background-light);
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.alt-layout .showcase-container {
  grid-template-columns: 1fr 1fr;
}

.alt-layout .showcase-image {
  order: 2;
}

.showcase-image img,
.showcase-image video {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 6px;
}

.youtube-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.youtube-embed-wrapper:last-child {
  margin-bottom: 0;
}

.youtube-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.brand-subtitle {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.brand-story {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.tech-list h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tech-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
  width: 30px;
  text-align: center;
}

.tech-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tech-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.partner-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  padding: 0.8rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: color 0.3s ease;
}

.tab-button:hover {
  color: var(--text-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.partner-panel {
  display: none;
}

.partner-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-item img {
  max-width: 150px;
  max-height: 30px;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--background-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 300;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--text-color);
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.email-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: var(--background-light);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.email-container a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

.copy-email-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s;
}

.copy-email-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.copy-email-btn .fa-check {
  color: #28a745;
}

body.modal-open {
  overflow: hidden;
}

.mission-section {
  padding: 6rem 0;
  background-color: var(--text-color);
  color: #ffffff;
  text-align: center;
}

.mission-section .container {
  max-width: 900px;
}

.mission-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.mission-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

#back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: #313131;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top-btn:hover {
  background-color: #737373;
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    padding: 0 2rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .brand-title {
    font-size: 2.5rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .technology-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .alt-layout .showcase-container {
    grid-template-columns: 1fr;
  }

  .alt-layout .showcase-image {
    order: -1;
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 3rem;
  }

  .footer-info,
  .footer-nav {
    flex-basis: 45%;
  }
}

@media (max-width: 576px) {
  body {
    line-height: 1.6;
  }

  .section-header h2 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .brand-title {
    font-size: 2.2rem;
  }

  .hero-section {
    padding: 9rem 0 6rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .content-section,
  .showcase-item {
    padding: 4rem 0;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .mission-section {
    padding: 3rem 0;
  }

  .mission-section h2 {
    font-size: 1.4rem;
  }

  .logo-grid {
    gap: 2rem;
  }

  .contact-cta-section {
    padding: 3rem 0;
  }

  .contact-cta-section h2 {
    font-size: 1.6rem;
  }

  .main-footer {
    padding: 2.5rem 0 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding-bottom: 0;
  }

  .footer-info {
    margin: 0 auto;
    order: 2;
  }

  .footer-nav {
    order: 1;
  }

  #back-to-top-btn {
    width: 45px;
    height: 45px;
    right: 1.5rem;
    bottom: 1.5rem;
    font-size: 1.2rem;
  }
}