/* General Styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

.header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  background-color: #ffffff;
}

.logo-container {
  width: 250px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #ffffff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  z-index: 101;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 120px;
}

.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  padding: 0;
  margin: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 51, 102, 0.1));
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 6px rgba(0, 51, 102, 0.2));
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 102;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: #003366;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #003366;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #003366;
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

nav ul li a:hover {
  color: #0055aa;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  background-color: #ffffff;
  color: #003366;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.hero .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Section Styling */
section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #003366;
  position: relative;
  padding-bottom: 15px;
}

section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #003366, #0055aa);
}

/* About Section */
.about {
  background-color: #ffffff;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 60px 40px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* Products Section */
.products {
  background-color: #f8f9fa;
  text-align: center;
}

.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* View More Badge */
.view-more-badge {
  position: absolute;
  top: 15px;
  left: 0;
  background: rgba(0, 51, 102, 0.8);
  color: white;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transition: all 0.3s ease;
  z-index: 5;
}

.category-clickable:hover .view-more-badge {
  background: rgba(0, 85, 170, 0.9);
  transform: translateX(3px);
  opacity: 1;
}

.category {
  width: calc(25% - 30px);
  min-width: 250px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category .img-container {
  height: 200px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.category img {
  max-width: 90%;
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category:hover img {
  transform: scale(1.05);
}

.category h3 {
  margin: auto 0;
  padding: 15px;
  font-size: 1.2rem;
  color: #003366;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: white;
}

.category-desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 180px;
  padding: 0 18px 18px 18px;
  text-align: center;
}

.category-desc h3 {
  margin: 18px 0 10px 0;
  font-size: 1.2rem;
  color: #003366;
}

.category-desc p {
  color: #555;
  font-size: 1rem;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-clickable {
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 85, 170, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-clickable:hover {
  box-shadow: 0 10px 30px rgba(0, 85, 170, 0.18);
  transform: translateY(-4px) scale(1.02);
}

.category-clickable a {
  cursor: pointer;
}

.category-clickable .img-container {
  background: linear-gradient(135deg, #f8f9fa 70%, #e3eaf3 100%);
  border-bottom: 1px solid #e0e6ef;
  box-shadow: 0 2px 8px rgba(0, 85, 170, 0.06);
  border-radius: 10px 10px 0 0;
}

.category-clickable .category-desc {
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0, 85, 170, 0.04);
  padding: 24px 18px 18px 18px;
  min-height: 180px;
  margin-top: -8px;
  position: relative;
  z-index: 1;
}

.category-clickable .category-desc h3 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: #003366;
}

.category-clickable .category-desc p {
  color: #555;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  display: block;
  padding: 0 4px;
}

/* Recognition Section */
.recognition {
  background-color: #ffffff;
  position: relative;
  padding: 80px 20px;
  text-align: center;
}

.recognition-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-wrapper {
  width: 100%;
  max-width: 400px;
  margin-bottom: 30px;
}

.certificate {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.certificate:hover {
  transform: scale(1.03);
}

.recognition-text {
  max-width: 700px;
  text-align: center;
}

.recognition-text h3 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 20px;
}

.recognition-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

/* For future additions - when multiple certificates are added */
.multi-certificates {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;
  width: 100%;
}

.multi-certificates .certificate-wrapper {
  flex: 0 1 350px;
}

/* Contact Page */
.contact {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
  width: calc(100% - 30px);
  box-sizing: border-box;
}

.form-note {
  text-align: left;
  margin-top: -10px;
  margin-bottom: 5px;
  color: #666;
}

#form-status {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}

#form-status p {
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 500;
}

#form-status .success {
  background-color: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

#form-status .error {
  background-color: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

#form-status .submitting {
  background-color: rgba(0, 123, 255, 0.15);
  color: #007bff;
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0055aa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 85, 170, 0.2);
}

.contact-form button {
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 30px;
  background-color: #003366;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.contact-form button:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-row-top,
.contact-row-bottom {
  width: 100%;
  max-width: 100%;
}

.contact-row-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.contact-row-top .contact-item {
  flex: 1;
  min-width: 0;
}

.contact-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  background-color: #f0f4f9;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: #003366;
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-text h4 {
  font-size: 20px;
  color: #003366;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.contact-text p {
  margin: 0;
  line-height: 1.5;
  color: #0055aa;
}

.contact-text a {
  color: #0055aa;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-text a:hover {
  color: #003366;
  text-decoration: underline;
}

.main-address {
  font-weight: 500;
  margin-bottom: 8px !important;
}

.secondary-address {
  color: #888 !important;
  font-size: 0.95em;
  font-weight: normal;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-details {
    padding: 0;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-row-top,
  .contact-row-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .contact-row-top .contact-item,
  .contact-row-bottom .contact-item {
    width: 100%;
    max-width: 85%;
    margin-bottom: 15px;
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .contact-item {
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .contact-text {
    width: 100%;
  }

  .contact-text h4 {
    font-size: 18px;
    text-align: center;
  }

  .contact-text p {
    text-align: center;
  }
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 0;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #003366;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 25px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.scroll-to-top span {
  display: block;
  line-height: 48px;
}

.scroll-to-top:hover {
  background-color: #0055aa;
  cursor: pointer;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 15px;
    position: relative;
  }

  .logo {
    height: 50px;
    margin-bottom: 0;
  }

  .burger-menu {
    display: flex;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 1000;
    width: 100%;
    margin-left: 0;
  }

  nav.active {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    display: block;
    padding: 15px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .category {
    width: 90%;
  }

  .certificate {
    width: 90%;
  }

  .contact {
    padding: 60px 0;
  }

  .contact-form {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-details {
    padding: 0 15px;
  }

  .contact-row-top {
    flex-direction: column;
  }

  .contact-row-top .contact-item,
  .contact-row-bottom .contact-item {
    width: 100%;
  }

  .contact-item {
    border-radius: 15px;
    margin: 0;
  }

  .contact-address {
    width: 100%;
    text-align: left;
    margin: 0;
  }

  .address-details {
    margin-top: 5px;
  }

  .contact-icon {
    font-size: 20px;
    min-width: 35px;
    height: 35px;
  }
}

@media (max-width: 1200px) {
  .category {
    width: calc(50% - 30px);
  }
}

.product-group {
  margin-bottom: 60px;
  padding: 40px 0 60px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.product-group h3 {
  font-size: 1.5rem;
  color: #0055aa;
  margin-bottom: 10px;
  margin-top: 0;
}

.product-group p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.product-link {
  display: inline-block;
  margin: 18px auto 0 auto;
  padding: 8px 22px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
}
.product-link:hover {
  background: #0055aa;
}

@media (max-width: 768px) {
  .product-group {
    padding: 20px 0 0 0;
    margin-bottom: 40px;
  }
}
