/*footer pages css*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f3f5;
   
   
}
    h1 {
          font-size: 3rem;
          font-weight: 800;
          text-align: center;
          margin: 30px 0;
          text-transform: uppercase;
          background: linear-gradient(90deg, #ff6600, #d53987, #6600ff);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          animation: gradientMove 3s linear infinite, popIn 1s ease-out forwards;
          letter-spacing: 2px;
          position: relative;
          padding-top: 7%;
     }

     /* Underline effect */
     h1::after {
          content: "";
          display: block;
          width: 0;
          height: 4px;
          margin: 10px auto 0;
          background: linear-gradient(90deg, #ff6600, #3e1cc7, #6600ff);
          border-radius: 2px;
          animation: underlineGrow 1s ease-out forwards;
     }

     /* Keyframes for text animation */
     @keyframes gradientMove {
          0% {
               background-position: 0% 50%;
          }

          100% {
               background-position: 200% 50%;
          }
     }

     @keyframes popIn {
          0% {
               opacity: 0;
               transform: scale(0.7) translateY(-20px);
          }

          100% {
               opacity: 1;
               transform: scale(1) translateY(0);
          }
     }

     @keyframes underlineGrow {
          to {
               width: 80px;
          }
     }


     .content {
          display: flex;
          justify-content: center;
          width: 100%;
          margin-top: 40px;
          font-family: cursive;
     }

     .left {
          width: 40%;
          margin-right: 50px;

     }

     .left img {
          height: 90vh;
          width: 100%;
          text-align: center;
     }

     .right {
          width: 40%;
          margin-left: 30px;
          text-align: justify;
     
     }

     .right p {
          font-size: 28px;
     }
     @media (max-width: 600px) {
          h1{
               padding-top: 30%;
          }
     .content {
          flex-direction: column;
          padding: 10px;
          gap: 20px;
      
     }

     .left, .right {
          width: 100%;
          margin: 0;
     }

     .left img {
          width: 100%;
          height: auto;
          border-radius: 10px;
     }

     .right p {
          font-size: 16px;
          line-height: 1.5;
     }

     h1 {
          font-size: 26px;
          text-align: center;
     }
}

     .services-section {
          padding: 30px 20px;
          background: #f8f9fa;
          /* light grey background */
     }

     .services-container {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
          /* responsive grid */
          gap: 20px;
          max-width: 1200px;
          margin: 0 auto;
     }

     .service-box {
          background: white;
          border-radius: 12px;
          padding: 25px;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
     }

     .service-box:hover {
          transform: translateY(-5px);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
          background-color: rgb(241, 170, 162);
          
         
     }
     .service-box:hover h3{
          color: white;
          font-size: 1.5rem;
     }
     .service-box:hover p{
          color: white;
          font-size: 1.1rem;
     }

     .service-box h3 {
          font-size: 1.3rem;
          margin-bottom: 10px;
          color: #222;
     }

     .service-box p {
          font-size: 1rem;
          color: #555;
          line-height: 1.6;
     }

     /* Full-Width Section */
     .why-choose-us {
          background: #fff;
          margin: 10px auto;
          padding: 10px;
          border-radius: 12px;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
          max-width: 1200px;
     }
     .why-choose-us p{
          font-size: 20px;
          padding-top: 10px;
     }

     .why-choose-us h1 {
          color: #222;
          margin-bottom: 20px;
     }

     .why-list {
          list-style: none;
          padding: 0;
     }

     .why-list li {
          background: #f3f3f3;
          margin: 10px 0;
          padding: 15px;
          border-radius: 8px;
          transition: transform 0.4s ease, background 0.3s ease;
          position: relative;
          font-size: 20px;
     }

     .why-list li::before {
          content: "✔";
          color: #ff6600;
          margin-right: 10px;
          font-weight: bold;
     }

     .why-list li:hover {
          background: #fff8f2;
          transform: translateX(10px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     }
    .last-para p{
          
          line-height: 1.5;
          padding: 50px;
          padding-left: 100px;
          padding-right: 100px;
          font-size: 1.3rem;
       text-align: justify;
         
     }
     .last-para b{
          color: blue;
     }
     @media (max-width: 1000px) and (min-width: 500px) {
     h1{
          padding-top: 15%;   /* apne hisab se adjust kar lena */
     }
}
@media (max-width: 2100px) and (min-width: 500px) {
     .services-section h1,
     .why-choose-us h1 {
          margin-top: 0;       /* upar ki space hat gayi */
          padding-top: 0;      /* ensure no padding */
     }
}

@media (max-width: 500px) and (min-width: 351px) {
     .services-section h1,
     .why-choose-us h1 {
          margin-top: 0 !important;
          padding-top: 0 !important;
          font-size: 26px;
     }
}
@media (max-width: 350px) {
     .services-section h1,
     .why-choose-us h1 {
          margin-top: 0 !important;
          padding-top: 0 !important;
          font-size: 22px;
     }
}
