* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Hero Section with Background Image */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 90vh;
    background: url('/images/Itsolutionshero.avif') no-repeat center center/cover; /* Background image */
    background-attachment: fixed; /* Parallax effect */
    color: white;
    text-align: center;
}

/* Dark Overlay for Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* Centered Content */
.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 2s ease-out; /* Fade-in effect */
}

/* Hero Heading */
.hero-content h1 {
    font-size: 3.0rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7); /* Text shadow for readability */
    color: #109caf; /* Attractive color */
    animation: slideIn 1.5s ease-out; /* Slide-in animation */
}

/* Hero Paragraph */
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 300;
    color: #422dba; /* White color */
    animation: fadeIn 2s ease-out;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons a {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #fff;
    background: #00bcd4; /* Matching color */
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
    font-weight: bold;
}

.hero-buttons a:hover {
    background: #008c9e; /* Darker shade on hover */
    transform: translateY(-5px); /* Lift effect */
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Make the hero section responsive */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Adjust heading size on small screens */
    }

    .hero-content p {
        font-size: 1.1rem; /* Adjust paragraph size */
    }

    .hero-buttons a {
        padding: 12px 25px; /* Adjust button padding */
        font-size: 1rem; /* Adjust button font size */
    }
}


 
    /* Carousel Card Hover Effect */
.carousel-card h4:hover {
    color: #1b79c1; /* Highlight card text */
}

/* Services Section */
.services-section {
    padding: 40px 20px;
    text-align: center;
    background-color: lightblue;
}

.services-section h2 {
    font-size: 40px;
    color: #1b79c1;
    font-weight: bold;
}

.services-section p {
    font-size: 20px;
    color: #131418;
    margin-bottom: 30px;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: auto;
    width: 80%;
}

/* Carousel */
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Carousel Cards */
.carousel-card {
    height: 300px;
    flex: 0 0 calc(25% - 20px);
    margin: 0 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect on cards */
.carousel-card:hover {
    color: #1b79c1; /* Highlight card text */
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image in the cards */
.carousel-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 5px;
}

/* Card Title */
.carousel-card h4 {
    transition: color 0.3s ease;
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
}

/* Dots for Carousel */
.dots {
    margin-top: 15px;
}

.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: blue;
}

/* Mobile View - Adjustments for Small Screens */
@media screen and (max-width: 768px) {
    /* Services Section */
    .services-section h2 {
        font-size: 28px;
    }

    .services-section p {
        font-size: 16px;
    }

    /* Carousel Cards */
    .carousel-card {
        flex: 0 0 calc(100% - 20px); /* Make each card full width on mobile */
        height: 200px;
        padding: 10px; /* Reduce padding */
    }

    /* Image in the cards */
    .carousel-card img {
        height: 140px; /* Adjust image height for mobile */
    }

    /* Card Title */
    .carousel-card h4 {
        font-size: 16px; /* Smaller font size for mobile */
    }

    /* Carousel Container */
    .carousel-container {
        width: 100%; /* Full width on mobile */
    }
}

/* For Very Small Devices (e.g., phones in portrait mode) */
@media screen and (max-width: 480px) {
    .carousel-card {
        height: 180px; /* Adjust height further for very small screens */
        width: 300px;
    }

    .carousel-card img {
        height: 120px; /* Further reduce image height */
    }

    .services-section h2 {
        font-size: 24px;
    }

    .services-section p {
        font-size: 14px;
    }
}



    /* Explore solutions */
    /* <style> */
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    .solutions-section {
        padding: 50px 20px;
        background-color: #ded2d2;
        text-align: center;
    }
    .solutions-section h2 {
        font-size: 2.5rem;
        color:  #1b79c1;
        margin-bottom: 20px;
        font-weight: bold;

    }
    .solutions-section p {
        font-size: 1.2rem;
        color:#131418;
        margin-bottom: 40px;
    }
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .solution-card {
        height: 250px;
        background-color: white;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    }
    .solution-card:hover {
        background-color: #0a74da;
        color: white;
        transform: translateY(-5px);
    }
    .solution-card h3 {
        font-size: 1.2rem;
        color: #0a74da;
        margin-bottom: 15px;
        text-align: left;
    }
    .solution-card:hover h3 {
        color: white;
    }
    .solution-card p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 50px;
        text-align: left;
        line-height: 1.5;
    }
    .solution-card:hover p {
        color: white;
    }
    .solution-card a {
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
        color: #0a74da;
        text-decoration: none;
        border-bottom: 2px solid #0a74da;
        transition: color 0.3s, border-color 0.3s;
    }
    .solution-card:hover a {
        color: white;
        border-color: white;
    }
    @media (max-width: 768px) {
        .solutions-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 480px) {
        .solutions-grid {
            grid-template-columns: 1fr;
        }
    }

/* why choose IT Solutions */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.partner-section {
    display: flex;
    align-items: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #63a1d7, #e6f7ff);
    overflow: hidden;
}
.partner-section .image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner-section .image-container img {
    width: 100%;
    max-width: 600px;
    height: 700px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.partner-section .image-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}
.partner-section .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 116, 218, 0.3);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.partner-section .image-container:hover::after {
    transform: scale(1.1);

}
.partner-section .text-container {
    flex: 1;
    padding: 20px 40px;
}
.partner-section .text-container h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.partner-section .text-container p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.partner-section .stats {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}
.partner-section .stats .stat-item {
    text-align: center;
    background: none;
    padding: 20px;
}
.partner-section .stats .stat-item h3 {
    font-size: 2.5rem;
    color: #0a74da;
    margin-bottom: 5px;
}
.partner-section .stats .stat-item p {
    font-size: 1rem;
    color: #555;
}
@media (max-width: 768px) {
    .partner-section {
        flex-direction: column;
    }
    .partner-section .image-container, 
    .partner-section .text-container {
        text-align: center;
    }
    .partner-section .stats {
        flex-direction: column;
        gap: 20px;
    }

    .partner-section .image-container img {
        width: 300px;
        /* max-width: 600px; */
        height: 400px;
        /* border-radius: 15px; */
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .partner-section .image-container img:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    }
}

  

  /* Testimonial Section Base Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.carousel-section {
    background-color: rgb(181, 156, 177);
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.carousel-section h2 {
    font-size: 40px;
    font-weight: bold;
    color: rgb(56, 56, 211);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(162, 145, 145, 0.934);
}

.carousel-section p {
    font-size: 25px;
    color: rgb(17, 17, 110);
    margin-bottom: 40px;
    text-shadow: 1px 1px 6px rgba(218, 189, 189, 0.5);
}

.carousel-container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 8s ease-in-out;
}

/* Card Styling */
.carousel-item {
    flex: 0 0 48%;
    height: 300px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    background: white;
    border-radius: 10px;
    margin: 0 1%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid rgb(135, 135, 220);
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(63, 25, 153, 0.879);
}

.carousel-item img {
    max-width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: rotate(15deg);
}

.carousel-item .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.carousel-item h3 {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    color: #0c0811;
}

.carousel-item .stars {
    color: gold;
    margin: 10px 0;
}

.carousel-item p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    font-style: italic;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .carousel-section {
        padding: 60px 20px;
    }

    .carousel-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .carousel-section p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .carousel-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Add space between stacked cards */
    }

    .carousel-item {
        flex: 0 0 90%; /* Full-width cards on mobile */
        margin: 10px 0;
        height: auto; /* Adjust height dynamically */
        padding: 15px;
    }

    .carousel-item img {
        max-width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .carousel-item h3 {
        font-size: 18px;
    }

    .carousel-item p {
        font-size: 14px;
    }
}


  /* reputation */

  .reputation-section {
      padding: 50px 0;
      background-color: lightskyblue;
  }

  .container {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
  }

  .left-side {
      width: 75%; /* Increased width for left side */
      padding-right: 30px;
  }

  .left-side h2 {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 20px;
  }

  .left-side h2 span {
      color: #FF5733; /* Custom color for text after <br> */
  }

  .left-side ul {
      list-style-type: none;
      padding: 0;
  }

  .left-side ul li {
      font-size: 18px;
      color: #666;
      margin-bottom: 10px;
  }

  .left-side ul li::before {
      content: "✔️";
      margin-right: 8px;
      color: #4caf50;
  }

  .right-side .image-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      
  }

  .right-side .image-left, 
  .right-side .image-right {
      width: 90%; /* Increased size of the images */
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease; /* Hover transition */
      border: 4px solid rgb(51, 51, 132); /* Added border line */
  }

  /* Hover effect for images */
  .right-side .image-left:hover,
  .right-side .image-right:hover {
      transform: scale(1.05); /* Slightly increase the size on hover */
      }

  .image-description {
      margin-top: 20px;
  }

  .image-description h3 {
      font-size: 22px;
      font-weight: bold;
      color: blue; /* Title color set to blue */
      margin-bottom: 15px;
  }

  .image-description p {
      font-size: 16px;
      color: #555;
      margin-bottom: 10px;
  }

  @media (max-width: 768px) {
      .container {
          flex-direction: column;
          align-items: center;
      }

      .left-side, .right-side {
          width: 100%;
          text-align: center;
      }

      .right-side .image-container {
          flex-direction: column;
      }

      .right-side .image-left,
      .right-side .image-right {
          width: 80%;
          margin-bottom: 20px;
      }
  }
/* </style> */


