/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  background-image: url('./influencerMarketing.jpg');
  height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.carousel-hero {
  max-height: 100%;
  position: relative;
  overflow: hidden;
  

}

.carousel-hero .carousel-inner {
  height: 100%;
}

.carousel-hero .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  position: absolute;
  top: 300px;
  left: -30px;
  max-width: 30%;
  max-height: 30%;
  border-radius: 25px;
  text-align: center;
  padding: 0 15px;
  z-index: 10;
}




.text-shadow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}



/* Hero Section */
.hero {
  
  max-height: 100vh;
  max-width: 100vw;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  
}

.hero-text {
  flex: 1;
  padding: 20px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

/* Keyframe for image */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }

}


/* When in view */
.animate-text {
  animation: fadeSlideRight 1s ease-out forwards;
}

.animate-image {
  animation: fadeSlideUp 1s ease-out forwards;
}



.hero-text {
  position: relative;
  
}

.hero-text h1,
.hero-text p,
.hero-text .btn {
  
  transform: translateX(-100%);
  animation: fadeSlideRight 1s ease-out forwards;
  
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation-delay: 0.3s;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  animation-delay: 0.6s;
}

.hero-text .btn {
  padding: 0.8rem 1.5rem;
  background: #00bfff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #009acd;
}

/* Animation */
@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Social Icons */
.social-icons {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-icons .comment-icon,
.social-icons .like-icon {
  font-size: 1.5rem;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.social-icons .comment-icon {
  background-color: #00bfff;
}

.social-icons .like-icon {
  background-color: #ff0000;
}

.social-icons i:hover {
  transform: scale(1.1);
}

/* What We Do Section */
.what-we-do {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #f8fbfd, #e8f4fa);
  color: #1a1a1a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.what-we-do .container {
  max-width: 1200px;
  margin: 0 auto;
}

.what-we-do h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #004c8c;
  position: relative;
}

.what-we-do h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00bfff;
  margin: 0.5rem auto 2rem;
  border-radius: 2px;
}

.what-we-do .intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.section {
  margin-bottom: 3rem;
  color: aliceblue;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 800px;
}


.section-heading {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #e63946;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-paragraph {
  font-size: 1.5rem;
  line-height: 1.7;
  text-shadow: #000000;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
}


.closing{
  color: #e8f4fa;
  font-size: 1.2rem;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
  
}
.what-we-do h3 {
  color: #003b6f;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 4px solid #00bfff;
  padding-left: 1rem;
}

.process-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
}

.process-list li {
  padding: 0.5rem 0;
  font-size: 1.05rem;
  position: relative;
  padding-left: 1.2rem;
  color: #000000;
}

.process-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00bfff;
  font-weight: bold;
}

/* Domain Grid */
.domains-grid {
  padding: 1px 5px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 20px;
  background-color: #2e2e2e56;
  border-radius: 25px;
}

@media (max-width:768px) {
    .domains-grid {
      padding: 1px 5px;
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 30px;
      padding: 40px 20px;
      background-color: #2e2e2e56;
      border-radius: 25px;
    }
    
}

.domain-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When visible */
.domain-card.animate-drop {
  opacity: 1;
  transform: translateY(0);
}


.domain-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.domain-card:hover img {
  transform: scale(1.05);
}

.domain-text {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  text-align: center;
}

.domain-card:hover .domain-text {
  opacity: 1;
}

.domain-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.domain-text p {
  font-size: 1rem;
}





/* Footer */
footer {
  padding: 1.5rem;
  text-align: center;
  background: #222;
  color: #fff;
}

/* Parallax Icon Effects */
.parallax-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.parallax-icon {
  position: absolute;
  width: 30px;
  opacity: 0.7;
  transition: transform 0.1s linear;
  user-select: none;
}

#iconRainContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.icon-drop {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.8;
  animation: fall 3s linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .what-we-do h2 {
    font-size: 2rem;
  }

  .what-we-do h3 {
    font-size: 1.5rem;
  }

  .hero {
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
  }
  .hero-image{
    max-width: 50%;
    max-height: 50%
  }
  .carousel-hero{
    max-height: 50%;
  }
  .carousel-caption {
    top: 50px;
    left: 1000px;
    max-width: 100%;
    max-height: 100%;
    border-radius: 25px;
    text-align: left;
    padding: 0 15px;
    z-index: 10;
  }
  .carousel-caption p {
    font-size: 1rem;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    
  }
  .hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}

.whatsapp-btn img {
  width:  70px;
  height: 70px;
  display: block;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}
