/* Updated CSS incorporating all new instructions */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #000000;
  scroll-padding-top: 100px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 3px solid orange;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  cursor: pointer;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 600;
  color: #000;
}

nav a:hover {
  color: orange;
}

.section {
  padding: 4rem 2rem;
  border-bottom: 3px solid orange;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
  scroll-margin-top: 150px;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

h1, h2, h3 {
  color: orange;
}

.hero-logo {
  width: 120px;
  margin: 1rem auto;
  display: block;
  cursor: pointer;
}

.home-content {
  text-align: center;
  padding-top: 5rem;
}

.social-icons {
  margin: 1rem 0;
}

.icon-link {
  font-size: 2rem;
  margin: 0 1rem;
  color: #000;
  transition: transform 0.3s, color 0.3s;
}

.icon-link:hover {
  transform: scale(1.2);
  color: orange;
}

.cta-btn {
  background: orange;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 250px;
  height: 250px;
  background: #ddd;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid orange;
  box-shadow: 0 0 15px rgba(255,165,0,0.5);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.1);
}

blockquote {
  font-style: italic;
  font-size: 0.9rem;
  color: #444;
  margin-top: 1rem;
}

.cert-grid {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cert-grid div {
  text-align: center;
  flex: 1 1 120px;
}

.cert-grid img {
  width: 80px;
  height: auto;
  cursor: pointer;
  border: 2px solid orange;
  box-shadow: 0 0 10px rgba(255,165,0,0.5);
  transition: transform 0.3s ease;
}

.cert-grid img:hover {
  transform: scale(1.1);
}

.cert-grid a {
  color: #000;
  text-decoration: underline;
}

.cert-grid a:hover {
  color: orange;
}

.service {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service img.flyer-preview {
  flex: 1 1 250px;
  max-width: 200px;
  margin-left: 2rem;
  border: 2px solid orange;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service img.flyer-preview:hover {
  transform: scale(1.05);
}

.services-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  gap: 1rem;
}

form input,
form select,
form textarea,
form button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  border: 2px solid #ccc;
}

form button {
  background-color: orange;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

form button:hover {
  background-color: #e69500;
}

#successMessage {
  text-align: center;
  color: green;
  margin-top: 1rem;
  display: none;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 3px solid orange;
  background-color: #fff;
  color: #000;
}

canvas#confettiCanvas {
  position: fixed;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-left {
  flex: 1 1 300px;
}

.contact-left h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-square {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-square:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
}

.gray-square {
  width: 48px;
  height: 48px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.3rem;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.social-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  overflow: hidden;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  background: orange;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.contact-right {
  flex: 1 1 500px;
}

.icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
}

.nav-links li a:hover {
  color: orange;
}



@media (max-width: 768px) {
  .nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: fit-content;
  }

  .nav-links li {
    text-align: center !important;
  }

  .nav-links li a {
    display: block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #000 !important;
  }

  .nav-links li a:hover {
    color: orange !important;
  }
}

.nav-links,
.nav-links li {
  list-style-type: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
