/* MAIN STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #151515;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #fcd500;
  flex-wrap: wrap;
}

.logo img {
  max-width: 150px;
  height: auto;
}

.amv {
  max-width: 150px;
  height: 65px;
  margin: 0 10px;
  order: -1;
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fcd500;
}

/* HERO SECTION */
#hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 100px 50px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.background-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-button {
  padding: 15px 40px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: auto; /* Add this */
  display: inline-block; /* Add this */
  margin: 0 auto; /* Center the button */
  white-space: nowrap; /* Prevent text wrapping */
}

.cta-button:hover {
  background-color: #ffdf32;
  transform: translateY(-2px);
}

.hero-content h1 {
  color: #141414;
  font-family: "Archivo Black", sans-serif;
  max-width: 800px; /* Controls wrapping on desktop */
  margin: 0 auto; /* Centers the heading */
  padding: 0 20px; /* Prevents edge sticking on mobile */
  line-height: 1.3; /* Better readability for wrapped text */
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 900;
  font-size: x-large;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
    max-width: 90%;
    line-height: 1.4;
  }
}

@media (min-width: 769px) {
  .hero-content h1 {
    font-size: 2.5rem;
    white-space: normal;
  }
}

/* Hero Section Updates */
.hero-section {
  margin-bottom: 40px;
  max-width: 800px;
}

.section-divider {
  width: 60%;
  height: 2px;
  background-color: #fcd500;
  margin: 30px auto;
  opacity: 0.7;
}

.hero-section h1 {
  color: #fcd500;
  font-family: "Archivo Black", sans-serif;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.hero-section p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .section-divider {
    width: 80%;
    margin: 20px auto;
  }

  .cta-button {
    margin-top: 20px;
  }
}

.hero-section h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0px;
}

.hero-title-fix {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}


@media (max-width: 768px) {
  .hero-section h1 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}



/* SERVICES SECTION */
#services {
  background-color: #141414;
  padding: 100px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 50px;
}

.services-header h1 {
  color: #fcd500;
  font-size: 2.5em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.services-description p {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.service-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.service-btn {
  background-color: #fcd500;
  color: #000;
  padding: 18px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.service-btn:hover {
  background-color: transparent;
  border: 2px solid #fcd500;
  color: #fcd500;
}

/* CONTACT SECTION */
#contact {
  background-color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  padding: 0 20px;
}

.contact-form {
  flex: 1;
  max-width: 600px;
}

.contact-info {
  flex: 1;
  padding-left: 50px;
  border-left: 2px solid #fcd500;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  transition: 0.3s ease all;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: #2a2a2a;
  border: 2px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: 0.3s ease all;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fcd500;
  background: #333;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #fcd500;
  background: #1a1a1a;
  padding: 2px 5px;
}

.submit-btn {
  background: #fcd500;
  color: #000;
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease all;
}

.submit-btn:hover {
  background: #ffdf32;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    padding: 0 20px;
  }

  .contact-info {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #fcd500;
    padding-top: 30px;
    width: 100%;
  }

  .form-group label {
    font-size: 14px;
  }

  .submit-btn {
    width: 100%;
  }
}

/* FOOTER */
footer {
  background-color: white;
  padding: 50px;
  border-top: 2px solid #fcd500;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3,
p {
  color: #000;
  margin-bottom: 15px;
}

.social-links a {
  color: #1a1a1a;
  text-decoration: none;
  margin-right: 15px;
}

.id06 {
  max-width: 140px;
  height: 70px;
  margin: 0 10px;
  order: -1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  nav {
    padding: 10px 15px;
    flex-direction: row;
  }

  .logo img {
    max-width: 100px;
  }

  .amv {
    max-width: 120px;
    height: 120px;
    margin: 0 5px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .service-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .service-btn {
    width: 100%;
    max-width: 400px;
  }

  .contact-content {
    flex-direction: column;
    padding: 0 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content p {
    font-size: 1.2em;
  }

  .cta-button {
    font-size: 1em;
    padding: 12px 30px;
  }

  .services-header h1 {
    font-size: 2em;
  }
}

/* Update the existing footer image styles */
.footer-section img.amv,
.footer-section img.id06 {
  max-width: 140px; /* Uniform size for both logos */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
  margin: 10px 0;
}

/* Add a container for the certification logos */
.cert-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
}

/* Update footer image styles */
.footer-section .cert-logos img {
  width: 140px; /* Fixed width for both */
  height: 70px; /* Fixed height for both */
  object-fit: contain; /* Maintain aspect ratio */
  margin: 0 10px;
}

/* Update mobile styles */
@media (max-width: 768px) {
  .footer-section .cert-logos {
    flex-direction: row; /* Keep logos side-by-side */
    justify-content: center;
    gap: 15px;
  }

  .footer-section .cert-logos img {
    width: 100px;
    height: 50px;
  }

  /* Remove the display: none rule */
  /* .amv { display: none; } */
}

/*WHITE*/

.white {
  color: white;
}

.yellow {
  color: #fcd500;
}

/* Hamburger Menu */

.hamburger {
  display: none;
  padding: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  order: 2;
  transition: transform 0.3s ease;
}

.hamburger i {
  transition: transform 0.3s ease;
}

.hamburger.active i {
  transform: rotate(90deg);
}

.amv {
  max-width: 60px;
  height: auto;
  margin-right: auto;
  order: 1;
}

.logo {
  order: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  order: 3;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    height: calc(100vh - 70px);
    background-color: #151515;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #333;
  }

  nav {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 10px 15px;
  }

  .logo img {
    max-width: 100px;
  }

  /* Hide AMV logo on mobile if needed */
  .amv {
    display: none;
  }
}
