*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html,body{
  height: 100%;
  width: 100%;
}
.main{
  height: 100%;
  width: 100%;
}
/* part-1 */
.part-1{
  height: auto;
  width: 100%;
}
/* ---------- Part-1 Styles ---------- */
.contact-part1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e90ff;
  color: #ffffff;
  padding: 10px 20px;
  max-height: 11vh;
  min-height: 11vh;
  overflow: hidden;
}

.contact-typewriter {
  display: flex;
  flex-direction: row; /* Desktop view */
  align-items: center;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
}
.contact-item {
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  white-space: nowrap;
}

.contact-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* Typewriter animation */
@keyframes typingPart1 {
  from { width: 0; opacity: 1; }
  to { width: 100%; opacity: 1; }
}
@keyframes blinkPart1 {
  50% { border-color: transparent; }
}

/* JS triggers this class */
.show-typing .contact-item {
  opacity: 1;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  animation: typingPart1 2.5s steps(25, end) forwards, blinkPart1 0.7s step-end infinite;
}

.show-typing .email {
  animation-delay: 2.7s; /* starts after phone */
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .contact-typewriter {
    flex-direction: column; /* Mobile view */
    gap: 10px;
  }

  .contact-item {
    font-size: 1rem;
    padding: 4px 12px;
  }
 
}
/* part-2 */
.part-2{
  height: auto;
  width: 100%;
}
/* ---------- Part-2 Styles ---------- */
/* ---------- Part-2 Styles ---------- */
.logo-part2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e90ff;
  color: #ffffff;
 height: 23vh;
  padding: 10px 20px;
  overflow: hidden;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  animation: fadeInPart2 1.5s ease forwards, floatPart2 4s ease-in-out infinite;
  opacity: 0;
}

@keyframes fadeInPart2 {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatPart2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.logo-image {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.logo-image:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 45px rgba(255,255,255,0.35);
}

/* Text block */
.text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
}

/* Typewriter for Hari Dentals */
.clinic-name {
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 2px solid #ffffff;
  overflow: hidden;
  width: 0;
  animation: typingPart2 2.8s steps(20, end) forwards, blinkPart2 0.7s step-end infinite;
}

@keyframes typingPart2 {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkPart2 {
  50% { border-color: transparent; }
}

/* Tagline animation */
.tagline {
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInTag 1.5s ease forwards;
  animation-delay: 2.8s;
}

@keyframes fadeInTag {
  to { opacity: 1; transform: translateY(0); }
}

/* Social icons */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  opacity: 0;
  animation: showSocial 1.2s ease forwards;
  animation-delay: 3.2s;
}

@keyframes showSocial {
  to { opacity: 1; transform: translateY(0); }
}

.social-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  animation: floatIcons 4s ease-in-out infinite alternate;
}

@keyframes floatIcons {
  0% { transform: translateX(0); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.social-icon:hover {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
  transform: scale(1.1);
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .logo-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .text-block {
    align-items: center;
  }

  .clinic-name {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 0.9rem;
    text-align: center;
  }
  .logo-part2{
    height: auto;
    width: 100%;
  }
}
/* part-3 + Including the media querries */
.part-3{
  height: auto;
  width: 100%;
}
 .eco-navbar {
        position: sticky;
        top: 0;
        z-index: 999;
        background-color: dodgerblue;
        color: white;
        width: 100%;
        position: relative;
        z-index: 1000;
      }
      .eco-container {
        max-width: 1200px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        position: relative;
      }
      .eco-logo {
        color: white;
        font-size: 14px;
        margin-left: 10px;
        font-size: 20px;
        font-weight: bold;
      }
      .eco-nav-links {
        margin-left: 10px;
        flex-wrap: wrap;
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        list-style: none;
        gap: 20px;
      }
      .eco-nav-links li {
        position: relative;
      }
      .eco-nav-links > li > a {
        color: white;
        font-size: 14px;
        white-space: nowrap;
        color: white;
        text-decoration: none;
        padding: 10px;
        display: block;
        cursor: pointer;
        transition: background 0.3s;
      }
      .eco-nav-links li:hover > a {
        background: #333;
        border-radius: 4px;
      }

      .eco-login-btn {
        padding: 6px 12px;
        background: yellow;
        color: black;
        font-weight: bold;
        border-radius: 4px;
        text-decoration: none;
      }
      .eco-cart-btn {
        margin-left: 10px;
        color: white;
        font-size: 18px;
        text-decoration: none;
      }

      .eco-hamburger {
        display: none;
        font-size: 24px;
        cursor: pointer;
      }

      .eco-mega-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: white;
        color: black;
        display: none;
        padding: 30px 40px;
        z-index: 999;
        animation: fadeSlide 0.3s ease forwards;
      }
      .eco-mega-wrapper.active {
        display: block;
      }
      .eco-mega-content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        max-width: 1200px;
        margin: auto;
      }
      .eco-mega-content ul {
        list-style: none;
        width: 200px;
      }
      .eco-mega-content h3 {
        font-size: 14px;
        margin-bottom: 8px;
      }
      .eco-mega-content li a {
        color: black;
        text-decoration: none;
        padding: 4px 0;
        font-size: 14px;
        display: block;
        transition: color 0.3s;
      }
      .eco-mega-content li a:hover {
        color: #007bff;
      }

      @keyframes fadeSlide {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .eco-submenu-toggle {
        display: none;
        font-size: 18px;
        padding-left: 6px;
        color: yellow;
        cursor: pointer;
      }
      .eco-mobile-submenu {
        display: none;
        background: #222;
        padding: 10px 20px;
      }
      .eco-mobile-submenu.active {
        display: block;
      }
      .eco-mobile-submenu li {
        color: #bbb;
        font-size: 14px;
        padding: 4px 0;
      }
      .eco-mobile-submenu li strong {
        display: block;
        color: #fff;
        margin-top: 10px;
        font-weight: bold;
      }
      .eco-mobile-submenu li a {
        color: #ddd;
        padding: 4px 0;
        display: block;
        text-decoration: none;
      }
      .eco-mobile-submenu li a:hover {
        color: #fff;
      }

      @media (max-width: 768px) {
        .eco-hamburger {
          display: block;
        }
        .eco-nav-links {
          display: none;
          flex-direction: column;
          background: #111;
          width: 100%;
          position: absolute;
          top: 60px;
          left: 0;
        }
        .eco-nav-links.show {
          display: flex;
        }
        .eco-submenu-toggle {
          display: inline;
        }
        .eco-mega-wrapper {
          display: none !important;
        }
      }
      @media (max-width: 768px) {
        .eco-container.eco-flex-wrap {
          flex-wrap: wrap;
          justify-content: space-between;
        }
        .eco-logo {
          order: -1;
          margin-right: auto;
        }
      }

      