/*
Theme Name: My HTML Theme
Author: Your Name
Description: Converted from HTML
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    background-color: #f5f5f0;
}



 .company-slider-container {
                    perspective: 800px;
                    background: transparent;
                    width: 100%;
                    /* position: relative;
                    height: 120px;
                    overflow: hidden; */
                }

                .company-slider {
                    display: flex;
                    flex-direction: row;
                    flex-wrap: nowrap;
                    align-items: center;
                    gap: 3rem;
                    /* Use a much longer min-width for seamless loop */
                    min-width: 4000px;
                    animation: companySliderMove 60s linear infinite;
                    /* <-- slowed down from 18s to 36s */
                    will-change: transform;
                    transform-style: preserve-3d;
                }

                .company-slider .company-logo {
                    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.15));
                    transition: transform 0.3s, opacity 0.3s;
                    height: 90px;
                    object-fit: contain;
                }

                @keyframes companySliderMove {
                    0% {
                        transform: translateX(0) skewX(-6deg) rotateX(8deg);
                    }

                    100% {
                        transform: translateX(-50%) skewX(-6deg) rotateX(8deg);
                    }
                }

                /* Enhanced fade and blur effect for left/right edges */
                .company-slider-blur {
                    position: absolute;
                    top: 0;
                    width: 400px;
                    height: 100%;
                    pointer-events: none;
                    z-index: 10;
                }

                .company-slider-blur-left {
                    left: 0;
                    background: linear-gradient(to right,
                            #000000 0%,
                            rgba(0, 0, 0, 0.95) 15%,
                            rgba(0, 0, 0, 0.8) 30%,
                            rgba(0, 0, 0, 0.6) 50%,
                            rgba(0, 0, 0, 0.3) 70%,
                            rgba(0, 0, 0, 0.1) 85%,
                            transparent 100%);
                }

                .company-slider-blur-right {
                    right: 0;
                    background: linear-gradient(to left,
                            #000000 0%,
                            rgba(0, 0, 0, 0.95) 15%,
                            rgba(0, 0, 0, 0.8) 30%,
                            rgba(0, 0, 0, 0.6) 50%,
                            rgba(0, 0, 0, 0.3) 70%,
                            rgba(0, 0, 0, 0.1) 85%,
                            transparent 100%);
                }

                /* Additional overlay for enhanced blur effect */
                .company-slider-container::before,
                .company-slider-container::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    width: 150px;
                    height: 100%;
                    pointer-events: none;
                    z-index: 8;
                    backdrop-filter: blur(2px);
                }

                .company-slider-container::before {
                    left: 0;
                    background: linear-gradient(to right,
                            rgba(0, 0, 0, 0.4) 0%,
                            rgba(0, 0, 0, 0.2) 50%,
                            transparent 100%);
                }

                .company-slider-container::after {
                    right: 0;
                    background: linear-gradient(to left,
                            rgba(0, 0, 0, 0.4) 0%,
                            rgba(0, 0, 0, 0.2) 50%,
                            transparent 100%);
                }

                /* Responsive adjustments for mobile */
                @media (max-width: 768px) {

                    .company-slider-blur,
                    .company-slider-container::before,
                    .company-slider-container::after {
                        width: 80px;
                    }

                    .company-slider-container {
                        height: 80px;
                    }

                    .company-slider .company-logo {
                        height: 60px;
                    }
                }



 /* slider animation */
  /* Scroll Animation Styles */
  .animate-on-scroll {
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.8s ease-out;
  }

  .animate-on-scroll.animate {
      opacity: 1;
      transform: translateY(0);
  }

  /* Different animation delays for staggered effects */
  .animate-delay-1 {
      transition-delay: 0.1s;
  }

  .animate-delay-2 {
      transition-delay: 0.2s;
  }

  .animate-delay-3 {
      transition-delay: 0.3s;
  }

  .animate-delay-4 {
      transition-delay: 0.4s;
  }

  .animate-delay-5 {
      transition-delay: 0.5s;
  }

  /* Specific animations for different elements */
  .animate-fade-up {
      /*opacity: 0;*/
      transform: translateY(30px);
      transition: all 0.6s ease-out;
  }

  .animate-fade-up.animate {
      opacity: 1;
      transform: translateY(0);
  }

  .animate-slide-left {
      opacity: 0;
      transform: translateX(-50px);
      transition: all 0.8s ease-out;
  }

  .animate-slide-left.animate {
      opacity: 1;
      transform: translateX(0);
  }

  .animate-slide-right {
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.8s ease-out;
  }

  .animate-slide-right.animate {
      opacity: 1;
      transform: translateX(0);
  }
 
 /* slider animation */
 
 .poppins{
      font-family: "Poppins", sans-serif;
 }
 
  h2,
  h3,
  h4,
  h5,
  h6,
  p, {
      font-family: 'Poppins', sans-serif;
  }
  
  .job-title, .skills{
       font-family: 'Poppins', sans-serif;
  }
  
  .skill-label{
       font-family: "Oswald", sans-serif;
  }
  
  a{
       font-family: 'Poppins', sans-serif;
  }

  h1 {
      font-family: "Oswald", sans-serif;
  }

  .navbar {
      background-color: #f5f5f0;
      /* Background color matching the Figma design */
      padding: 20px 0;
  }

  .hero-section {
      background-color: #f5f5f0;
  }

  .navbar-brand {
      font-size: 2rem;
      font-weight: bold;
  }

  .navbar-nav .nav-link {
      color: #000000;
      font-size: 1.363rem;
      font-weight: 500;
      letter-spacing: -0.5px;
      margin: 0 20px;
  }

  .navbar-subtitle {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 0.938rem;
      color: #00008b;
      letter-spacing: 1.44px;
  }

  .bg-dark {
      background-color: #000000 !important;
  }

  .company-logo {}

  .chandan-sharma{
    font-size: 9.838rem;
        letter-spacing: -2px;
        position: relative;
        /* z-index: 2; */
        font-weight: 800;
  }

  .hero-section-right{
    font-size: 1.125rem;;
        /* max-width: 350px; */
  }

  .rating{
    font-size: 1.125rem;
        font-weight: 800;
        font-family: 'Poppins', sans-serif;
  }

  .rating-p{
    font-size: 1.125rem;
        font-weight: 300;
        max-width: 300px;
  }

  .big-image-div{
    position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
  }
  .big-image{
    max-width: 100%;
        position: absolute;
        top: -219px;
        z-index: 3;
        border: 8px solid #fff;
        transition: transform 0.4s;
  }

  .showcase-img {
      transform: rotate(10deg);
  }

  .showcase-img:hover {
      transform: rotate(0deg);
  }

  .COMPANY-heading{
    font-size: 1.125rem;
        letter-spacing: 0.5px;
        font-weight: 800;
  }


  .about-me-title {
      font-size: 1.125rem;
      font-weight: 800;
      margin-bottom: 0;
      margin-top: -28px;
      margin-left: -22px;
  }

  .about-me-text {
      font-size: 1.125rem;
      line-height: 1.6;
      font-weight: 100;
      margin-left: -26px;
  }

  .service-heading{
    font-size: 3.45rem;
        font-weight: 800;
  }
  

  /* Services Section Styles */
  .services-section {
      padding: 20px 0;
      background-color: #f5f5f0;
  }

  .service-card {
      background-color: #f7f7f7;
      transition: transform 0.3s ease;
  }

  .service-card:hover {
      transform: translateY(-10px);
  }

  .card-number {
      font-size: 1rem;
      color: #888;
      font-weight: 500;
      border: 1px solid #ccc;
      border-radius: 9px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .service-card .card-title {
      font-size: 1.8rem;
      font-weight: 800;
      color: #000;
  }

  .service-card .card-text {
      font-size: 16px;
      line-height: 1.5;
      color: #555;
  }

  .expand-link {
      color: #000;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      /* background-color: #fff; */
      /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  }

  .expand-link:hover {
      background-color: #000;
      color: #fff;
  }

  /* Published In The Media Section Styles */
  .media-section {
      padding: 80px 0;
  }

  .media-arrow{
    transform: rotate(-5deg);
  }

  .media-heading {
      font-size: 32px;
      font-weight: 400;
      margin: 0;
      font-family: 'Dancing Script', cursive;
      transform: rotate(-10deg);
      margin-left: 10px;
      margin-bottom: 49%;
  }

  .media-card {
       height: 300px; 
      transition: transform 0.3s ease;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      width: fit-content;
  }

  /*.col-md-6 .media-card {*/
  /*     height: 300px; */
  /*}*/

  .media-card:hover {
      transform: translateY(-10px);
  }

  .media-card-img {
    width: 641px;
      
  }

  .media-card-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
      height: 100%;
  }

  .media-card-title {
      font-size: 18px;
      font-weight: 600;
      color: white;
      line-height: 1.4;
      margin: 0;
  }

  .small-title {
      font-size: 16px;
  }

  .view-more-btn {
      border-radius: 0;
      padding: 8px 30px;
      border-width: 1px;
      font-weight: 400;
      transition: all 0.3s ease;
  }

  .view-more-btn:hover {
      background-color: #000;
      color: #fff;
  }
  
  .button-hover:hover{
    background-color: #f5f5f0;
    color: #000;
    border: 1px solid #000;

  }

  .cursive-text {
      font-family: 'Dancing Script', cursive;
  }

  /* Contact Section Styles */
  .contact-section {
      padding: 0px 0;
      background-color: #f5f5f5;
  }

  .contact-sidebar {
      background-color: #ffffff;
      height: 100%;
      min-height: 500px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .contact-form {
      background-color: #ffffff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .contact-heading {
      font-family: 'Oswald', sans-serif;
      font-size: 1.775rem;
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: -0.6px;
      color: #000000;
  }

  .contact-info {
      font-size: 1rem;
      color: rgba(0, 0, 0, 0.33);
      font-weight: 300;
      margin-top: 10px;
  }

  .contact-icon {
      width: 36px;
      height: 36px;
  }

  .form-label {
      font-size: 1.563rem;
      font-weight: 400;
      color: #000000;
      letter-spacing: -0.5px;
      margin-bottom: 15px;
  }

  .custom-input {
      padding: 15px;
      font-size: 1.25rem;
      border-radius: 17px;
      border: 1px solid #000000;
      color: rgba(0, 0, 0, 0.32);
      margin-bottom: 20px;
  }

  .custom-input::placeholder {
      color: rgba(0, 0, 0, 0.32);
  }

  .btn-dark {
      background-color: #000000;
      font-size: 14px;
      font-weight: 500;
      min-width: 150px;
      border-radius: 0;
  }
  

  

  .social-icons img {
      transition: transform 0.3s ease;
  }

  .social-icons img:hover {
      transform: translateY(-5px);
  }


  .work-together-section{
    background: #f5f5f0;
        position: relative;
  }

  .work-sub-heading{
    font-family: 'Poppins', sans-serif;
        font-size: 1.875rem;
        font-weight: 300;
        letter-spacing: -0.6px;
        color: #000;
        text-align: center;
        margin-bottom: 20px;
  }

  .lets-work-together{
    font-family: 'Oswald', sans-serif;
        font-size: 9.25rem;
        font-weight: bold;
        letter-spacing: -3.78px;
        color: #000;
        line-height: 1;
        margin-bottom: 80px;
        text-align: center;
  }

  .bottom-text{
    font-family: 'Poppins', sans-serif;
        font-size: 0.938rem;
        letter-spacing: -0.3px;
        color: #000000;
        margin-bottom: 0;
  }

  /* .container {
    max-width: 1920px;
  }

  .container-fluid {
    max-width: 1920px;
  } */

.hover-change:hover .card-number {
font-size: 1rem;
    color: #fff;
    background-color: #000;
    transition: all 0.3s ease;
}

.hover-change:hover .bi-arrow-up-right{
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}



@media (max-width: 424px) {

.media-card {
     height: auto; 
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: fit-content;
}


.hero-section-right {
    margin-top: 26%;
}


.big-image-div {
    margin-top: 64%;
}

.big-image {
    max-width: 85%;
}

.about-me-text {
    padding-left: 35px;
}



}


*, ::after, ::before {
    box-sizing: border-box;
}

 




  /* media query start */
  @media (max-width: 767px) {
   
   
   .media-card {
     height: auto; 
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: fit-content;
}
   


.box-row {
    
display: revert-layer; 
    
}


.card-body{
    margin-bottom: 5%;
}
   
    .navbar-brand {
      flex-direction: row;
    }

.form-gap{
    gap: 10px !important ;
}
    .hero-section {
      padding: 40px 0;
    }

    .hero-section h1 {
      font-size: 2.8rem;
    }
    
    .service-heading {
    font-size: 2.8rem;
    font-weight: 800;
}

    .hero-section p {
      font-size: 1rem;
    }

    .work-sub-heading {
      font-size: 1.5rem;
    }

    .lets-work-together {
      font-size: 3rem;
      margin-bottom: 30px;
    }

    .bottom-text {
      font-size: 0.875rem;
    }
  }
  /* media query end */

  @media screen and (min-device-width: 992px) and (max-device-width: 1024px) {
    .navbar-nav .nav-link {
            font-size: 1.12rem;
        }

                .chandan-sharma {
                    font-size: 6.838rem;
                }

                                .lets-work-together {
                                    font-family: 'Oswald', sans-serif;
                                    font-size: 6.875rem;
                                }
  }


  @media screen and (min-device-width: 1024px) and (max-device-width: 1400px){
    .chandan-sharma {
            font-size: 6.838rem;
        }

                .navbar-nav .nav-link {
                    color: #000000;
                    font-size: 1.1rem;
                    font-weight: 500;
                    letter-spacing: -0.5px;
                    margin: 0 20px;
                }

                                .lets-work-together {
                                    font-size: 6.25rem;
                                }
  }


  @media screen and (min-device-width: 768px) and (max-device-width: 991px){
    .chandan-sharma {
            font-size: 4.838rem;
        }

                .hero-section-right {
                    font-size: 1rem;
                    /* max-width: 350px; */
                }

                                .rating {
                                    font-size: 1rem;
                                    font-weight: 800;
                                }

                                                                .rating-p {
                                                                    font-size: 1rem;
                           }

                                                   .about-me-text {
                                                       font-size: 1rem;
                                                   }

                                                                                                   .about-me-title {
                                                    font-size: 1rem;
 }              
.service-heading {
    font-size: 2.45rem;
    font-weight: 800;
}                 

.lets-work-together {
    
    font-size: 5.25rem;
}



}


@media screen and (min-device-width: 641px) and (max-device-width: 768px){
.big-image {
        max-width: 100%;
        position: initial;
}

.about-me-text {
     margin-left: 0px;
}

.navbar-nav .nav-link {
    color: #000000;
    font-size: 1rem;
}

 .about-me-text {
     font-size: 1rem;
 }



}

@media screen and (min-device-width: 425px) and (max-device-width: 640px) {
    .big-image {
        max-width: 80%;
        position: initial;
    }

        .about-me-text {
            margin-left: 0px;
        }


                .navbar-nav .nav-link {
                    color: #000000;
                    font-size: 1rem;
                }


                                .about-me-text {
                                    font-size: 1rem;
                                }


}
.nav-item a{
    color: #000000;
    font-size: 1.363rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin: 0 20px;
    text-decoration:none;
    font-family: 'Poppins', sans-serif;
}
  /*========= Blog page ==========*/
  .page-id-2.blogpage-content{
                        text-align: center;

        }
        .page-id-2.blog-heading {
            font-weight: bold;
            font-size: 10.813rem;
              font-family: "Oswald", sans-serif;

        }
        
        .page-id-7271.blog-heading-service {
            font-weight: bold;
            font-size: 7.619rem !important;
              font-family: "Oswald", sans-serif;

        }
        
        .page-id-2.blog-paragraph {
            font-weight: 500;
            font-size: 1.3rem;
            margin-top: 1rem;
        }
        .page-id-2.blog-section{
             background-color: #000;
      color: #fff;
      margin-top: 12%;
      margin-bottom: 2%;
        }
         .page-id-2.card {
      border: none;
      border-radius: 0;
      top: -50%;
      background: none;
      
    }
    .page-id-2.card-body{
         background-color: #000;
    }

    .page-id-2.card-img-top {
      border-radius: 17px;
      height: 330px;
      object-fit: cover;
      width: 410px;
    }
    .page-id-2.card-title {
      font-weight: bold;
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }
.page-id-2.card-text{
    font-size: 1.25rem;
          margin-bottom: 2rem;

}
.page-id-2.card-btn{
    background-color: #fff;
    color: #000;
    font-size: 0.813rem;
    font-weight: 600;
    padding: 1rem 2rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    text-decoration: none;
}
    .page-id-2.featured-section {
      position: relative;
      margin-top: -10rem;
      margin-bottom: 80px;
    }

    .page-id-2.featured-card {
      position: absolute;
      bottom: 0px;
      right: 0px;
      z-index: 2;
      background: #fff;
      color: #000;
      padding: 50px;
      max-width: 600px;
      border-radius: 15px;
    }

    .page-id-2.featured-image {
      width: 100%;
      height: 700px;
      object-fit: cover;
      border-radius: 15px;
    }
.page-id-2.features-title{
    font-size: 1.688rem;
    font-weight: bold;
}
.page-id-2.featured-paragraph{
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    margin-top: 1rem;
}
.page-id-2.button{
      margin-top: 5rem;
    background: #000;
      color: #fff;
      border: 1px solid #000;
      font-size: 0.813rem;
    font-weight: 600;
    padding: 1rem 2rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    text-decoration: none;

}
    .page-id-2.btn-custom {
        margin-top: 5rem;
    background: #fff;
      color: #000;
      border: 1px solid #fff;
      font-size: 0.813rem;
    font-weight: 600;
    padding: 1rem 2rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    }

    .page-id-2.btn-custom:hover {
      background: #fff;
      color: #000;
    }
.page-id-2.cards {
  position: relative;
  overflow: visible;
}

.page-id-2.cards-body {
  position: absolute;
  top: 95%;
  left: 35%;
  transform: translate(-50%, -50%);
  background-color: #000;
  width: 70%;
  color: #fff;
  border-radius: 10px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  z-index: 2;
}
  .page-id-2.cards-img-top {
      border-radius: 17px;
      height: 500px;
      object-fit: cover;
      width: 650px;
    }
    .page-id-2.cards-title{
        font-weight: bold;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .page-id-2.cards-text{
        font-size: 1rem;
        margin-bottom: 2rem;
        font-weight: 400;
        margin-top: 1rem;
    }
    .page-id-2.carder{
         border: none;
      border-radius: 0;
      margin-top: 6rem;
      background: none;
        position: relative;
  overflow: visible;

    }
    .page-id-2.carder-img-top{
        border-radius: 17px;
        height: 330px;
        object-fit: cover;
        width: 410px;
    }
    .page-id-2.carder-body{
         position: absolute;
  top: 95%;
  left: 40%;
  transform: translate(-50%, -50%);
  background-color: #000;
  width: 80%;
  color: #fff;
  border-radius: 10px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  z-index: 2;
    }
    .page-id-2.buttons{
        margin-top: 12rem;
        margin-bottom: 2rem;
    }
    
    
    
    
    
    /*about page css*/
    
    /* Tablet responsiveness for design and development skills rows */
    @media (max-width: 991.98px) and (min-width: 768px) {

      .skills-section .row.g-3.mb-5>[class^="col-"],
      .skills-section .row.g-4>[class^="col-"] {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
      }

      .skill-card img {
        width: 80px;
        height: 80px;
      }

      .skill-label {
        font-size: 1rem;
      }
    }

   

    .blogpage-content {
      text-align: center;

    }

    .blog-heading {
      font-weight: bold;
      font-size: 10.813rem;
      font-family: "Oswald", sans-serif;
    }

    /* Responsive font size for ABOUT ME heading */
    @media (max-width: 991.98px) {
      .blog-heading {
        font-size: 5rem;
      }
    }

    @media (max-width: 767.98px) {
      .blog-heading {
        font-size: 3rem;
      }
    }

    @media (max-width: 575.98px) {
      .blog-heading {
        font-size: 2.8rem;
      }
      
      
      
      .skills-title {
    font-weight: bold;
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    margin-top: 0rem !important;
}


.job-title {
   line-height: normal;
    font-size: 2rem !important;
   
}

    }

    .blog-paragraph {
      font-weight: 500;
      font-size: 1.3rem;
      margin-top: 1rem;
    }

    .experience-card {
      background-color: #ffffff;
      padding: 24px;
      border-radius: 12px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
      position: relative;
      height: 100%;
    }

    .date-badge {
      position: absolute;
      top: 12px;
      left: 16px;
      background-color: #000;
      color: #fff;
      padding: 4px 12px;
      font-size: 0.75rem;
      border-radius: 30px;
      margin-bottom: 2rem;
    }

    .company {
      color: #1a73e8;
      font-weight: 500;
      text-decoration: none;
    }

    .company:hover {
      text-decoration: underline;
    }

    .job-title {
      font-weight: 700;
      font-size: 2.313rem;
      margin-top: 2rem;
    }

    .skills {
      font-size: 1rem;
      color: #444;
      margin-top: 1.5rem;
      margin-bottom: 2.5rem;
    }

    .skills-section {
      background-color: #000;
      padding: 60px 0;
      color: #fff;
    }

    .skills-title {
      font-weight: bold;
      font-size: 2.8rem;
      margin-bottom: 2rem;
      margin-top: 2rem;
    }

    .skill-card {
      background-color: #fff;
      border-radius: 12px;
      text-align: center;
      padding: 20px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      height: 100%;

    }

    .skill-card:hover {
      transform: translateY(-5px);
    }

    .skill-card img {
      width: 100px;
      height: 100px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .skill-label {
      font-weight: bold;
      color: #000;
      font-size: 1.2rem;
    }
    
    
    /*blog page css*/
   
/*media page css*/



    html,
    body {
      overflow-x: hidden;
    }

    .blog-heading {
      font-weight: bold;
      font-size: 10.813rem;
      font-family: "Oswald", sans-serif;
    }

    .blog-paragraph {
      font-weight: 500;
      font-size: 1.1rem;
      margin-top: 1rem;
    }

    .image-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .card-overlay {
      position: absolute;
      bottom: 50px;
      left: 20px;
      max-width: 360px;
      background: #fff;
      padding: 1.5rem;
      border-radius: 0.5rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .news-img {
      width: 100%;
      border-radius: 6px;
      object-fit: cover;
      margin-top: 2rem;
    }

    .news-card {
      border-top: 1px solid #000;
    }

    .read-more-btn,
    .read-more-white {
      font-size: 0.813rem;
      font-weight: 600;
      padding: 1rem 2rem;
      border: none;
      border-radius: 0;
      text-decoration: none;
      display: inline-block;
      border: 1px solid #fff;
    }

    .read-more-btn {
      background: #000;
      color: #fff;
    }

    .read-more-white {
      background: #fff;
      color: #000;
      margin-bottom: 2rem;
    }

    .overlay-content {
      background-color: rgba(0, 0, 0, 0.8);
    }

    @media (max-width: 992px) {
      .blog-heading {
        font-size: 1rem;
      }
    }

    @media (max-width: 768px) {
      .card-overlay {
        position: static;
        max-width: 100%;
        margin-top: 1rem;
      }

      .blog-heading {
        font-size: 1rem;
      }

      .blog-paragraph {
        font-size: 1.3rem;
      }

      .news-card img,
      .news-image-card img {
        margin: 0 auto;
      }
    }

    @media (max-width: 576px) {
      .blog-heading {
        font-size: 2.8rem;
      }

      .blog-paragraph {
        font-size: 1rem;
      }
    }

    .scroll-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background-color: #000;
      color: #fff;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 9999;
    }
    
    /*contact page css*/
    .blogpage-content{
                        text-align: center;

        }
        .blog-heading {
            font-weight: bold;
            font-size: 10.813rem;
              font-family: "Oswald", sans-serif;

        }
        .blog-paragraph {
            font-weight: 500;
            font-size: 1.3rem;
            margin-top: 1rem;
        }
        
        
        @media (max-width: 576px) {
    /*  .blog-heading {
        font-size: 2.8rem !important;
      }*/

      .blog-paragraph {
        font-size: 1.3rem;
      }
    }
    
     @media (max-width: 768px) {
      .card-overlay {
        position: static;
        max-width: 100%;
        margin-top: 1rem;
      }

      .blog-heading {
        font-size: 4rem;
      }

      .blog-paragraph {
        font-size: 1.3rem;
      }

      .news-card img,
      .news-image-card img {
        margin: 0 auto;
      }
    }
       
       
       @media (max-width: 992px) {
      .blog-heading {
        font-size: 4rem;
      }
    } 
    
    
    
    
    /*new css*/
    
    .about-section-1{
        background-color: #f5f5f0;
    }
        
        
        
        
         @media (max-width: 1072px) and (min-width: 991.98px) {
             .nav-item a{
    font-size: 1rem;
   
}
         }
         
/*///////////////////////////////////////////////////////////////////*/
.sidebar-post h6 a {color: rgb(33 37 41);     text-decoration: none;}
.buttons.text-center.mt-5 .page-numbers {
    margin-top: 5rem;
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    font-size: 0.813rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0;
    text-decoration: none;
}
  .page-id-24 .cards-body h6 .cards-title{color: #fff!important;}
/*===================Card Section ======================*/
  
        

        .services-section {
            padding: 50px 0;
        }

        .service-heading {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 2rem;
        }

        /* Flip Card Container */
        .flip-card {
            background-color: transparent;
            width: 100%;
            height: 400px;
            perspective: 1000px;
            cursor: pointer;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: left;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .flip-card1.flipped .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-card-front,
        .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 17px;
        }

        .flip-card-front {
            background-color: #fff;
            color: #000;
        }

        .flip-card-back {
            background-color: #000;
            color: #fff;
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 2rem;
        }

        /* Front Card Design */
        .service-card {
            border: none;
            border-radius: 17px;
            height: 100%;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card-number {
            font-size: 1.2rem;
            font-weight: 100;
            color: #888;
        }

        .expand-link {
            color: #000;
            text-decoration: none;
            transition: transform 0.3s;
        }

        .expand-link:hover {
            transform: scale(1.1);
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-top: 1rem;
            margin-bottom: 1rem;
        }

        .card-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
        }

        /* Back Card Design */
        .flip-card-back h3 {
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
        }

        .flip-card-back p {
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .flip-card-back ul {
            list-style: none;
            padding: 0;
            margin-top: 1rem;
        }

        .flip-card-back ul li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .flip-card-back ul li:last-child {
            border-bottom: none;
        }

        .back-arrow {
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            color: #fff;
            font-size: 1.2rem;
        }

        /* Removed hover transform override to avoid delayed flip on mouse leave */

        /* Hover Effects - only shadow */
        .flip-card1:hover .service-card {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* Responsive sizing: ensure equal heights for all cards */
        .flip-card1 {
            height: 400px; /* Fixed height for consistency */
            min-height: 400px;
        }

        /* Ensure all cards in a row have equal height */
        .row {
            display: flex;
            flex-wrap: wrap;
        }

        .row .col-md-4,
        .row .col-md-8 {
            display: flex;
        }

        .row .col-md-4 .flip-card1,
        .row .col-md-8 .flip-card1 {
            width: 100%;
        }

        @media (min-width: 992px) {
            .flip-card1 {
                height: 550px; /* Slightly taller on large screens */
                min-height: 450px;
            }
        }

        @media (max-width: 991.98px) {
            .services-section {
                padding: 32px 0;
            }
            .service-heading {
                font-size: 2.25rem;
                margin-bottom: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .flip-card1 {
                margin-bottom: 1.5rem;
                height: 550px; /* Fixed height for mobile */
                min-height: 350px;
            }
            .service-card {
                padding: 1.25rem;
            }
            .card-number {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.25rem;
                margin-top: 1.25rem;
            }
            .card-text {
                font-size: 0.95rem;
                line-height: 1.6;
            }
            .flip-card-back {
                padding: 1.25rem;
            }
        }
    
    
    
    
    /*new css for service page*/
    
    
     /*.page-id-7271.blog-heading-service {*/
     /*       font-weight: bold;*/
     /*       font-size: 7.619rem;*/
     /*         font-family: "Oswald", sans-serif;*/

     /*   }*/
    
    
    .page-id-7271.top-border{
         position: relative !important;
  width: 300px !important;
  height: 150px !important;
  background: #000 !important;
    }
    
    .page-id-7271.top-border::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;             /* change to 50% to align right side instead */
  width: 50% !important;          /* half the box width */
  height: 0 !important;
  border-top: 4px solid #000 !important;
}


.home-page-cards-flip-side{
    justify-content: space-between;
    align-items: center;
}
    