/* styles.css */

/* Basic body styling */
body {
  background: linear-gradient(120deg, #000000 0%, #5e5e5e 100%),
    /* Bright fluid gradient */
      url("https://www.transparenttextures.com/patterns/rebel.png"); /* Subtle geometric pattern */
  background-size: cover, 100px 100px; /* Adjust the pattern size for subtlety */
  background-attachment: fixed;
  background-blend-mode: overlay; /* Overlay the pattern with the gradient */
  color: #fff;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

html {
  scroll-padding-top: 100px; /* Match this to the height of your navbar */
  scroll-behavior: smooth; /* Adds smooth scrolling effect */
}

@media (max-width: 768px) {
  .lead {
    font-size: 1rem;

  }
}

/* Navbar custom styling */
.navbar {
  background-color: #000;
  padding: 20px 0px;
  border-bottom: 1px solid #222;
}

/* List item links styling */
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  text-transform: capitalize;
  font-size: 1rem;
  position: relative; /* Set position for the pseudo-element */
  overflow: hidden;
}

/* Underline effect */
.navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* Position it at the bottom of the link */
  height: 3px; /* Height of the underline */
  width: 100%; /* Full width */
  border-radius: 100%;
  background-color: #3f69e2; /* Underline color */
  transform: translateX(-100%); /* Start off screen */
  transition: transform 0.3s ease; /* Smooth transition */
}

/* Show the underline on hover */
.navbar-nav .nav-link:hover:after {
  transform: translateX(0); /* Move the underline into view */
}

.navbar-nav .nav-link:hover {
  color: #3f69e2; /* Change color on hover */
}

/* Button styling */
.contact-btn,
.dashboard-btn {
  background-color: #3f69e2; /* Button color */
  border-color: #3f69e2; /* Button border color */
  padding: 10px 20px;
}

.contact-btn:hover,
.dashboard-btn:hover {
  background-color: #8b8aeb; /* Darker shade for hover effect */
  border-color: #8b8aeb; /* Darker border color for hover effect */
}

/* Logo styling */
.logo-img {
  width: 60px;
  height: auto;
}

#top-one-percent {
  background: linear-gradient(to bottom, silver, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#top-one-percent {
  /* Ensure the span text-primary inherits gradient as well */
  background: inherit; /* Inherit the gradient */
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
  background-clip: inherit;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .navbar-nav {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
    justify-content: center;
  }

  .navbar-nav {
    margin-bottom: 15px; /* Adds space below nav links on small screens */
  }
}

@media (max-width: 480px) {
  .navbar-nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* For top and bottom cards */
.stats-card {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 20px;
  text-align: center;
  margin: 15px;
  display: flex;
  justify-content: center;
  border: 1px solid black;
}

.stats-card-info {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 20px;
  text-align: center;
  margin: 15px;
  display: flex;
  justify-content: center;
  border: 1px solid black;
  height: 200px;
}

/* For top and bottom cards */
.stats-card1 {
  background-image: url("/images/learners.jpg");
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 20px;
  text-align: center;
  margin: 15px;
  display: flex;
  justify-content: center;
  border: 1px solid black;
}

.stats-card h4 {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #000;
}

.stats-card p {
  font-size: 1rem;
  color: #666;
}

/* For icons and images */
.icon {
  font-size: 2.5rem;
  color: #0072b1; /* Default LinkedIn color */
  margin-right: 15px; /* Space between icon and text */
}

.text-left {
  text-align: left;
}

.icon-trustpilot {
  color: #00b67a; /* Trustpilot green */
}

.icon-google {
  color: #db4437; /* Google logo color */
}

.highlight-text {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

/* Ensure the height fills the container */
.bottom-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .stats-card {
    padding: 20px;
  }

  .top-card,
  .bottom-card {
    height: auto;
  }

  .icon {
    font-size: 2rem;
  }

  .highlight-text {
    font-size: 1.8rem;
  }

  .stats-card {
    padding: 15px;
  }

  .bottom-card {
    height: auto;
  }
}

h1 {
  font-size: 4rem; /* You can adjust this size */
  font-weight: bold;
}

button {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* counter and slide show section */
.counter-container {
  display: flex;
  justify-content: space-around;
}

#counter {
  font-weight: bold;
  color: #3f69e2; /* Bootstrap primary color */
  margin-left: 5px;
  font-size: 5.5rem; /* Adjust the size as needed */
}

.counter-wrapper {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  text-align: center;
  align-items: center;

  /* Gradient from light blue to blue */
  background: linear-gradient(to top, lightblue, blue);

  /* Apply the gradient only to the text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* WebKit-based browsers */

  /* Standard background-clip for other browsers */
  background-clip: text;
}

.counter-line {
  display: flex; /* Keep counter and plus sign in the same line */
  align-items: baseline; /* Aligns the number and the plus sign */
}

.counter-wrapper span {
  font-size: 5rem; /* Adjust to match the size of the number */
  margin-left: 5px; /* Space between number and plus sign */
  color: #3f69e2; /* Bootstrap primary color */
}

/* Responsive font sizes for smaller screens */
@media (max-width: 767.98px) {
  #counter {
    font-size: 3.5rem; /* Reduce font size on mobile */
  }

  .counter-wrapper span {
    font-size: 3rem; /* Reduce size of plus sign on mobile */
  }
}

/* Container for the slideshow */
.slideshow-container {
  width: 100%; /* Full width container */
  height: 300px; /* Fixed height for the images */
  overflow: hidden; /* Hide overflow so the images slide out of view */
  position: relative;
  display: flex;
  align-items: center;
}

/* Slideshow div that holds all images */
.slideshow {
  display: flex; /* Align images in a row */
  animation: slide 30s linear infinite; /* Slow, continuous sliding animation */
}

/* Individual images */
.slide {
  width: auto; /* Fixed width for each image */
  height: 100px; /* Fixed height for each image */
  object-fit: cover; /* Ensure the image covers the fixed dimensions */
  flex-shrink: 0; /* Prevent the images from shrinking */
  margin-right: 10px; /* Add space between images */
}

/* Keyframes for continuous sliding effect */
@keyframes slide {
  0% {
    transform: translateX(0); /* Start at the first image */
  }
  100% {
    transform: translateX(-40%); /* Slide through all images */
  }
}

/* ROADMAP */
.timeline {
  position: relative;
  max-width: 800px; /* Maximum width for the timeline */
  margin: auto; /* Center the timeline */
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px; /* Width of the timeline line */
  background-color: #3f69e2; /* Bootstrap primary color */
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1; /* Behind the cards */
}
.timeline-item {
  display: flex;
  justify-content: flex-start;
  width: 50%;
  padding: 20px;
  position: relative;
}
.timeline-item:nth-child(even) {
  left: 50%;
  justify-content: flex-end;
}
.timeline-item:nth-child(even)::before {
  content: "";
  position: absolute;
  left: -7px; /* Position the arrow */
  top: 15px; /* Adjust vertical position */
  border: 8px solid transparent;
  border-right-color: #fff; /* Triangle effect */
}
.timeline-item:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: -7px; /* Position the arrow */
  top: 15px; /* Adjust vertical position */
  border: 8px solid transparent;
  border-left-color: #fff; /* Triangle effect */
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #3f69e2; /* Circle color */
  color: #fff;
  border-radius: 50%;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .timeline-item {
    width: 100%; /* Full width on small screens */
    justify-content: center; /* Center alignment */
  }
  .timeline::before {
    display: none; /* Hide the line on small screens */
  }
  .timeline-item::before,
  .timeline-item::after {
    display: none; /* Hide arrows on small screens */
  }
}

/* Timeline Card Styling */
.timeline-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.timeline-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Week Title */
.week-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #3f69e2; /* Bootstrap primary color */
}

/* Week Duration */
.week-duration {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #6c757d; /* Muted text */
}

/* Section Title Styling */
.section-title {
  font-size: 1.25rem;
  color: #343a40;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.section-title i {
  color: #3f69e2;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Timeline Card Styling */
.timeline-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.timeline-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Week Title */
.week-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #3f69e2; /* Bootstrap primary color */
}

/* Week Duration */
.week-duration {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #6c757d; /* Muted text */
}

/* Section Title Styling */
.section-title {
  font-size: 1.25rem;
  color: #343a40;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.section-title i {
  color: #3f69e2;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Project List Styling */
.project-list {
  list-style-type: none; /* No bullets */
  padding-left: 0; /* Remove default padding */
  margin-bottom: 15px; /* Margin between project lists */
}

.project-item {
  margin-bottom: 8px; /* Space between items */
  font-size: 1rem; /* Text size */
  padding-left: 25px; /* Space for custom bullet */
  position: relative; /* Position for custom bullet */
  line-height: 1.5; /* Line height */
}

/* Custom bullet points using icons */
.project-item::before {
  content: "\2022"; /* Unicode bullet */
  color: #3f69e2; /* Primary color bullet */
  font-size: 1.5rem; /* Bullet size */
  position: absolute; /* Position absolute */
  left: 0; /* Align bullet to the left */
  top: 0; /* Align bullet vertically */
}

/* Project Section Margin */
.project-section {
  margin-bottom: 20px; /* Space between sections */
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .project-list {
    text-align: left; /* Force text to align left on mobile */
  }

  .project-section h6,
  .project-item {
    text-align: left; /* Ensure all headings and items are aligned left */
  }
}

.dropdown-item {
  border-bottom: 1px solid #ccc; /* Add a border for better separation */
}

.dropdown-item:last-child {
  border-bottom: none; /* Remove the last border */
}

/* CONTACT US */

/* General Form Styling */
.form-control {
  font-size: 16px; /* Increase font size */
  padding: 15px; /* Increase padding for better touch interaction */
  border-radius: 5px; /* Slightly round corners for a modern look */
}

/* Submit Button Styling */
.submit-btn {
  font-size: 18px; /* Increase font size for button text */
  padding: 12px; /* Increase padding for the button */
  background-color: orange; /* Bright yellow */
  color: #000;
  border: none;
}

/* Responsive Adjustments for Mobile Devices */
@media (max-width: 768px) {
  .form-control {
    font-size: 18px; /* Larger font size on smaller screens */
    padding: 18px; /* Larger padding on smaller screens */
  }

  .submit-btn {
    font-size: 20px; /* Bigger button text on mobile */
    padding: 16px; /* Increase button padding for easier tapping */
    background-color: orange; /* Bright yellow */
    color: #000;
  }
}

.form-label {
  color: #3f69e2; /* Light green for labels */
}

.image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-column img {
  max-width: 100%; /* Make image responsive */
  height: auto; /* Maintain aspect ratio */
}

/* Add custom margin for spacing between fields */
.form-group {
  margin-bottom: 15px; /* Space between form groups */
}

@media (max-width: 768px) {
  .course-container {
    margin-top: 40px; /* Adjust the value as needed */
  }
}

/* Custom Styles for the Footer */
footer {
  background-color: #f8f9fa;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
}
.social-icons a {
  margin-left: 10px;
  color: #495057;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #3f69e2;
}

.gradient-text {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(
    to bottom,
    #3f69e2,
    #619afc
  ); /* Gradient from top to bottom */
  -webkit-background-clip: text; /* Clip the background to the text for WebKit browsers */
  -webkit-text-fill-color: transparent; /* WebKit browsers only */
  background-clip: text; /* Standard for other browsers */
  color: transparent; /* Ensures the text itself is transparent, revealing the gradient */
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .gradient-text {
    font-size: 1.8rem; /* Smaller font size for mobile */
  }
}

.text-primary {
  color: #3f69e2 !important; /* Override Bootstrap's text-primary */
}

/* About Us Section */
.about-us-section {
  background-color: #f9f9f9; /* Light background for contrast */
  padding: 20px; /* Padding for spacing */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  text-align: center; /* Center the content */
  margin-bottom: 20px; /* Space below the section */
}

/* Title styling */
.about-title {
  font-size: 1.8rem; /* Larger size */
  font-weight: bold; /* Make it stand out */
  color: #3f69e2; /* Bootstrap blue for emphasis */
  margin-bottom: 15px; /* Space below the title */
}

/* Image styling */
.about-image {
  border-radius: 50%; /* Make it a circle for a modern look */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Add a subtle shadow */
  margin-bottom: 20px; /* Space below the image */
}

/* Tagline styling */
.about-tagline {
  font-size: 1.5rem; /* Size of the tagline */
  font-weight: 600; /* Medium weight */
  color: #343a40; /* Dark gray text color for contrast */
  letter-spacing: 2px; /* Add spacing between letters */
  text-transform: uppercase; /* All caps for a bold statement */
  margin-top: 10px; /* Space above the tagline */
}

/* Follow Us Section */
.social-icons {
  display: flex;
  justify-content: center; /* Center the icons horizontally */
  gap: 20px; /* Space between the icons */
  margin-top: 15px; /* Space above the icons */
}

/* Social Media Icons Styling */
.social-icons a {
  font-size: 2rem; /* Increase the size of the icons */
  color: #343a40; /* Dark gray color for the icons */
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover Effect for Social Icons */
.social-icons a:hover {
  color: #3f69e2; /* Bootstrap primary color on hover */
  transform: scale(1.2); /* Slightly enlarge the icon on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .social-icons a {
    font-size: 1.8rem; /* Slightly smaller size for mobile */
  }
}

/* Contact Info Styling */
.contact-info {
  margin-top: 20px; /* Space between About Us and Contact Info */
  font-size: 0.875rem; /* Smaller font size (approx. 14px) */
}

.contact-info a {
  text-decoration: none; /* Remove underline from links */
  color: #3f69e2; /* Bootstrap primary color for links */
  transition: color 0.3s ease; /* Smooth transition for hover effects */
}

.contact-info a:hover {
  color: #0056b3; /* Darker blue on hover */
}

/* WhatsApp Link Styling */
.whatsapp-link {
  font-size: 0.875rem; /* Match font size of contact info */
  color: #25d366; /* WhatsApp green */
  display: flex;
  align-items: center; /* Align icon and text */
}

.whatsapp-link i {
  margin-right: 5px; /* Space between WhatsApp icon and text */
}

.whatsapp-link:hover {
  color: #1ebc58; /* Darker shade of green on hover */
}

/* Card styling */
.card {
  border: none; /* Remove default border */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  margin-bottom: 20px; /* Space between cards */
}

/* Specific card gradient backgrounds */
.placement-info-card {
  background: linear-gradient(
    135deg,
    #8ec5fc 0%,
    #e0c3fc 100%
  ); /* Gradient for placements card */
}

/* Card body styling */
.card-body {
  padding: 20px; /* Padding inside the card */
}

/* Section headings */
.card-title {
  font-size: 1.3rem; /* Font size for headings */
  color: #343a40; /* Dark color for text */
  margin-bottom: 1rem; /* Space below headings */
}

/* List styling */
.placement-list {
  list-style: none; /* Remove default bullet points */
  padding-left: 0; /* Remove padding */
}

.placement-item {
  font-size: 1rem; /* Font size for list items */
  line-height: 1.5; /* Space between lines */
  margin-bottom: 10px; /* Space between list items */
  color: #000; /* Muted text color */
}

.brush-underline {
  display: inline-block;
  position: relative;
  font-weight: bold;
}

.brush-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.1em; /* Adjust for thickness of the stroke */
  background: linear-gradient(
    to right,
    rgba(0, 89, 255, 0.5),
    rgba(0, 89, 255, 0.6) 20%,
    rgba(0, 89, 255, 0.7) 60%,
    rgba(0, 89, 255, 0.9) 100%
  ); /* Brush-like color transitions */
  z-index: -1;
  transform: skewX(-12deg); /* Makes it look like a brush stroke */
  border-radius: 10px; /* Slight rounding for a softer brush stroke look */
}

.content-section {
  background-color: #ffffff;
  color: #161616;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.content-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.content-section h3 {
  font-weight: bold;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.content-section p {
  font-size: 1rem;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-section {
    text-align: center;
  }
  .img-fluid {
    margin-top: 80px;
  }
}

.whatsapp-container {
  background-color: #25d366; /* WhatsApp green color */
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin: 20px auto;
  max-width: 250px;
}
.whatsapp-container img {
  height: 50px;
  width: auto;
  border-radius: 50%;
}
.whatsapp-text {
  flex-grow: 1;
  text-align: center;
  font-size: 18px;
  margin: 0 10px;
}
.enquiry-link a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.enquiry-link a:hover {
  color: #075e54; /* Darker WhatsApp color on hover */
}

.testimonial-card {
  background: linear-gradient(
    135deg,
    #3f69e2,
    #6f86d6,
    #1e1e1e
  ); /* Gradient with multiple colors */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  width: 350px; /* Fixed width */
  height: 200px; /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.testimonial-card img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-header h5 {
  margin: 0;
  font-weight: bold;
}

.testimonial-header small {
  display: block;
  font-style: italic;
  color: #444444;
  font-weight: 600;
}

.scrolling-wrapper {
  display: flex;
  animation: scroll 30s linear infinite;
}

/* Animation for horizontal scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-40%);
  }
}

.testimonial-content p {
  margin: 0;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limits the paragraph to 3 lines */
  -webkit-box-orient: vertical;
  line-clamp: 4; /* Standard property */
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimony-con p {
  margin-bottom: auto;
}

.testimony-con {
  max-height: 200px; /* Adjust this value as needed */
  overflow-y: auto;
}

/* Custom Scrollbar for WebKit browsers (Chrome, Safari) */
.testimony-con::-webkit-scrollbar {
  width: 2px; /* Extra thin scrollbar width */
  background-color: #f1f1f1; /* Optional: Background color of the scrollbar track */
}

.testimony-con::-webkit-scrollbar-thumb {
  background-color: #888; /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded scrollbar thumb */
}

.testimony-con::-webkit-scrollbar-track {
  background-color: transparent; /* Make the track transparent */
}

/* Hide the arrows in the scrollbar */
.testimony-con::-webkit-scrollbar-button {
  display: none; /* Hides the arrow buttons */
}

/* Custom Scrollbar for Firefox */
.testimony-con {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: #888 transparent; /* Thumb color and track color */
}

/* Pause animation on hover */
.scrolling-wrapper:hover {
  animation-play-state: paused;
}

/* Pause animation when tooltip is shown */
.testimonial-card:hover .tooltip-content {
  display: block; /* Show tooltip on hover */
}

/* Pause scrolling when tooltip is displayed */
.scrolling-wrapper:hover {
  animation-play-state: paused;
}

/* Tooltip styles */
.tooltip-content {
  display: none;
  position: absolute;
  background-color: #fff;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
  width: 300px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none; /* Prevents mouse events on tooltip */
}

.evaluation {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Section container styling */
.tools-section {
  text-align: center;
  margin: 40px 0;
  padding: 0;
}

/* Grid layout for the tool cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns by default */
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 0; /* Remove extra padding */
  margin: 0 auto; /* Center grid if needed */
}

/* Individual card styling */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  height: 150px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

/* Hover effect for gradient transition */
.tool-card:hover {
  background: linear-gradient(135deg, #3f69e2, #8b8aeb);
}

.tool-card:hover img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 2; /* Position the radial effect above the image */
  transition: opacity 0.3s ease;
  opacity: 1; /* Show the effect */
}

.tool-card:hover h3,
.tool-card:hover p {
  color: #fff !important; /* Force text to become white */
}

/* Image styling for each card */
.tool-card img {
  width: auto;
  height: 80px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 4px;
}

/* Media Queries for responsiveness */

/* Adjust grid for tablets */
@media (max-width: 992px) {
  .tools-grid {
    grid-template-columns: repeat(4, 1fr); /* 3 columns on medium screens */
  }
}

/* Adjust grid for smaller screens */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
  }
}

/* Adjust grid and card size for mobile screens */
@media (max-width: 576px) {
  .tools-grid {
    grid-template-columns: repeat(
      1,
      1fr
    ); /* Maintain 2 columns on very small screens */
  }

  .tool-card {
    width: 180px; /* Smaller card width */
    height: 120px; /* Smaller card height */
    padding: 10px; /* Adjust padding for smaller screens */
    margin: 0;
  }

  .tool-card img {
    height: 50px; /* Reduce image height */
    margin-bottom: 8px; /* Adjust spacing */
  }
  .tools-section {
    margin: 20px 0; /* Reduce section margin */
  }
}

.copyright-notice {
  font-size: 0.8rem;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .contact-info,
  .text-left,
  .text-left h5,
  .text-left p {
    text-align: center;
  }

  .contact-info p a {
    display: inline-block;
    text-align: center;
  }
}

.stats-card-stack {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 15px;
  display: flex;
  justify-content: center;
}

.stack-container {
  position: relative;
  width: 100%;
  height: 165px;
  perspective: 1000px; /* Allows 3D flipping */
}

.stack {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #3f69e2;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transform: rotateY(180deg); /* Start rotated (hidden) */
  animation: flipBackward 32s infinite;
  backface-visibility: hidden; /* Don't show backside during the flip */
  background: linear-gradient(135deg, #eefefd, #76a8f3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stack:nth-child(1) {
  animation-delay: 0s;
}

.stack:nth-child(2) {
  animation-delay: 4s; /* Adjusted delay for longer animation */
}

.stack:nth-child(3) {
  animation-delay: 8s; /* Adjusted delay for longer animation */
}

.stack:nth-child(4) {
  animation-delay: 12s; /* Adjusted delay for longer animation */
}

.stack:nth-child(5) {
  animation-delay: 16s; /* Adjusted delay for longer animation */
}

.stack:nth-child(6) {
  animation-delay: 20s; /* Adjusted delay for longer animation */
}

.stack:nth-child(7) {
  animation-delay: 24s; /* Adjusted delay for longer animation */
}

.stack:nth-child(8) {
  animation-delay: 28s; /* Adjusted delay for longer animation */
}

@keyframes flipBackward {
  0% {
    opacity: 0;
    transform: rotateY(90deg); /* Hidden, starting flipped */
  }
  10% {
    opacity: 1;
    transform: rotateY(0deg); /* Flip into view */
  }
  40% {
    opacity: 1;
    transform: rotateY(0deg); /* Stay visible */
  }
  60% {
    opacity: 0;
    transform: rotateY(-90deg); /* Flip backwards */
  }
  100% {
    opacity: 0;
    transform: rotateY(-90deg); /* Hidden after flip */
  }
}

/* Icon styling */
.stack i {
  margin-bottom: 10px;
  color: #3f69e2;
}

.testimonial-section {
  border: none;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}
.testimonial-section img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.icon-linkedin {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #0077b5;
}
.testimonial-section h6 {
  margin-top: 15px;
  font-weight: bold;
}
.testimonial-section p {
  margin: 10px 0;
}

.profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover; /* Ensures the image fits within the circle */
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Flexbox layout for profile info */
.profile-info {
  display: flex;
  align-items: center; /* Vertically center the image and text */
}

/* Margin adjustment for spacing */
.profile-info .ms-3 {
  margin-left: 10px; /* Add space between image and text */
}

/* WhatsApp Button Styles */
.whatsapp-button {
  position: fixed;
  bottom: 20px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1000; /* Ensure it's above other elements */
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.shake {
  animation: shake 0.5s infinite;
}

/* Bouncing animation */
@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  max-height: 200px;
  overflow: hidden; 
}
.word {
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  transition: transform 0.3s;
}
.word:hover {
  transform: scale(1.2);
  opacity: 1; /* Full opacity on hover */
}
.seo {
  font-size: 16px;
  color: #ff5733;
}
.content {
  font-size: 14px;
  color: #33ff57;
}
.social {
  font-size: 12px;
  color: #3357ff;
}
.ppc {
  font-size: 18px;
  color: #ff33a1;
}
.email {
  font-size: 12px;
  color: #ff33a1;
}
.influencer {
  font-size: 16px;
  color: #ffbd33;
}
.analytics {
  font-size: 8px;
  color: #33ffbd;
}
.conversion {
  font-size: 30px;
  color: #bd33ff;
}

header {
  transition: top 0.3s ease-in-out;
}

.CompanySectioncontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .CompanySectioncontainer {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .CompanySectioncontainer {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }
}
