/*-------------------------Hero-Section-Styling--------------------------------*/
.hero {
  padding: 4rem 3rem 0rem 3rem;
  display: flex;
  align-items: center;
  background-color: #000;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.hero h1 span {
  display: block;
}

.circle {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: #f4b05a;
    color: #000;
    position: relative;
    top: 90px;
    left: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#curve {
  fill: transparent;
}

.circle{
  transform-origin: 50% 50%;
  animation: rotate 10s linear infinite;
}
@keyframes rotate {
  from{
    transform: rotatez(0deg);
  }
  to{
    transform: rotatez(360deg);
  }
}

.circle-text {
    writing-mode: inherit;
    transform: rotate(359deg);
    font-size: 0.90rem;
}


.circle-dot {
  width: 2rem;
  height: 2rem;
  background: #333;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.circle-dot {
  width: 2rem;
  height: 2rem;
  background: #333;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.description-container{
   display: flex;
  background-image: url(../img/home/home-page1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: lighten;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
/*      padding: 2rem 2rem 0; */
    border-radius: 2rem 2rem 0 0;
	align-items: center;
}
.description-box {
  width: 325px;
  height: 143px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description-box p {
  margin: 0;
  
}

.description-box p:first-child {
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.description-box p:first-child span {
  color: red;
}

.description-box .subtitle {
  font-size: 13px;
  color: #777;
 
}


.description-container .image-box {
    margin-top: -16rem;
    width: 60%;
}
.description-container .image-box img{
  width: 100%;
}



/*-----------------------Who we are styling----------------------*/
.who-we-are {
  padding: 4rem 2rem;
  background-image: url('../img/home/who.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
  
}

.who-we-are h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.square {
  width: 1rem;
  height: 1rem;
  background-color: #1b1b1b;
  display: inline-block;
}

.info-box {
  border: 1px solid #999;
  padding: 2rem;
  max-width: 38rem;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
}

.info-box h3 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.info-box h3 span {
  color: #999;
  font-weight: 400;
  margin-right: 0.5rem;
}

.info-box p {
  line-height: 1.6;
  color: #444;
  text-align: left;
}

.about {
  float: left;
  clear: both;
}

.vision {
  float: right;
}

@media (max-width: 768px) {
  .info-box {
    float: none;
    width: 100%;
    margin-bottom: 2rem;
  }

  .vision {
    margin-top: 2rem;
  }
}

.project-section-text {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
/*---------------------------------Back Bon Styling---------------------------------------*/
.backbone-section {
  padding: 4rem 2rem;
  background-color: #fff;
  animation: fadeSlide 1s ease forwards;
  
}

/* .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
} */

.square {
  display: inline-block;
  width: 25px;
  height: 25px;
  background: #000;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.backbone-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;

}

.backbone-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: left;
}

.backbone-section .description {
    max-width: 71rem;
    margin: auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
    text-align: left;
}



/* Services grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: stretch;
    align-items: center;
}

.service-box {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    font-size: 25px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: fadeSlide 0.8s ease forwards;
    flex-direction: column;
}

.service-grid-description p{
    font-size: 18px;
    color: #7f7f7f;
}

.service-box span {
 
  color: #fff;
  border-radius: 50%;
  padding: 0.6rem;
  font-size: 1rem;
}
@media (max-width: 576px) {
  .service-grid {
    display: flex;              /* switch from grid to flex */
    flex-direction: column;     /* stack vertically */
    gap: 1.5rem;                /* add spacing between rows */
    align-items: stretch;
  }

  .service-box {
    width: 100%;
    padding: 0.7rem;
  }
}


/* Color variations */
.yellow { background-color: #fff3d1; }
.green  { background-color: #e5fbe7; }
.purple { background-color: #e6e6ff; }
.pink   { background-color: #ffe6fa; }
.blue   { background-color: #dff6ff; }
.sky    { background-color: #e8f2ff; }
.coral  { background-color: #ffe3e3; }



/*----------------------------services styling------------------------------*/
/* Root settings */
html {
  scroll-behavior: smooth;
}

/* Scroll container to snap sections */
.scroll-container {
  /*height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;*/
}

/* Section styles */
.service-block {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
    top: 0;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* First section sticky */
.service-block.sticky {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Fake layered background to simulate scroll effect */
.service-block:nth-child(2) { background: #f8f8f8; z-index: 2; }
.service-block:nth-child(3) { background: #f8f8f8; z-index: 3; }
.service-block:nth-child(4) { background: #f8f8f8; z-index: 4; }
.service-block:nth-child(5) { background: #f8f8f8; z-index: 5; }
.service-block:nth-child(6) { background: #f8f8f8; z-index: 6; }

/* Animation */
.service-block h2 {
  font-size: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}
.service-block:nth-child(1) h2{
  display: flex;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-container h2{
    font-size: 2.8rem;
    margin-bottom: 5rem;
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.service-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
}

/* Left Text */
.text {
  flex: 1;
}

.image {
  flex: 1;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: end;
}

/* Image animation */
.image img {
  height: 439px;
  width: 353px;
  opacity: 0;
  transform: translateY(100%);
  animation: slideImageUp 1s ease forwards;
  animation-delay: 1s;
}

@keyframes slideImageUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.service-number {
  border: 2px solid #999;
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 34px;
}

.main-heading {
  font-size: 1.8rem;
}

.subtitle {
  font-weight: 400;
  color: #444;
  margin-bottom: 0.8rem;
  font-size: 20px;
  line-height: 2rem;
}

.tags {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tags span {
    background: #ccc;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    
    display: flex;
    align-items: center;
    line-height: 30px;
    gap: 8px;
}

.service-content .description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  width: 45rem;
}

/* Responsive */
@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    
  }

  .image {
   order: 0;
   height: auto;
  }
  .image img {
    width: 100%;
    height: auto;
  }

 
	
}




/*-----------------------------------Project- styling---------------------------------------*/

.project-section-text h2{
    padding: 5rem 0;
    display: flex;
    font-size: 2.8rem;
    margin-bottom: -1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}
section.project-section.aos-init.aos-animate .container{
  padding-bottom: 50px;
}
.main-pro {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.project-img {
    width: 70%;
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-image-group {
  display: flex;
  gap: 3rem;
  margin-bottom: -46px; 
}

/* Initial dark overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  transition: background-color 0.3s ease-in-out;
  z-index: 1;
}
.project-image.active .image-overlay{
  display: none;
}

/* On hover or click, turn overlay white */
.project-image:hover .image-overlay,
.project-image:active .image-overlay {
  background-color: rgba(255, 255, 255, 0.145); 
}

.image-color{
  background-color: #c8c8c8;
  z-index: 1;
}


.project-image{
  position: relative;
  top: 1rem;
  object-fit: cover;
  display: block;
}


.project-text{
     display: block;
    font-size: 2.2rem;
    margin-left: 50rem;
    margin-top: -54rem;
}
.project-image1{
      margin-top: 4rem;
}
.project-image-group.gp-0,
.project-image-group.gp-2 {
    margin-top: 60px;
}

.service-btn1 {
    display: inline-block;
    padding: 10px 22px;
    background: #000;
    color: #fff;
    margin-top: 7%;
    text-decoration: none;
    border-radius: 6px;
    font-size: 20px;
    transition: 0.3s ease;
}
/*-----------------------------Our Work Section Styling------------------------------*/

.our-work-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.our-work-section-text  h2{
    padding: 3rem 0;
    display: flex;
    font-size: 2.8rem;
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.our-work-section-text .square{
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #000;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.our-work-section-title{
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.our-work-section-title::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #000;
  margin-right: 10px;
}

/* Grid Layout */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Each card */
.work-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #999;
  border-radius: 10px;
  padding: 1rem;
  background-color: #fff;
  transition: 0.3s ease;
}

.work-item:hover {
  box-shadow: 0 0 0 2px #000;
}

/* Icon box */
.icon {
  background: #111;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  line-height: 1;
}

/* Text */
.work-item p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}


/*---------------------------Our Clients Says styling-------------------------------------*/

/* Section styling */
.testimonial-section {
  background: #f6f6f6;
  padding: 1rem 2rem;
  position: relative;
  margin-top: 3rem;
}
.testimonial-container-text{
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testimonial-container-text  h2{
    padding: 3rem 0;
    display: flex;
    font-size: 2.8rem;
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.testimonial-container-text .square{
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #000;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Arrow buttons */
.arrow-buttons {
    position: absolute;
    top: 52px;
    right: 0;
    display: flex;
    gap: 1rem;
}

.arrow {
  width: 60px;
  height: 60px;
  background: #fcd79b;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  text-decoration: none;
  color: #333;
  font-size: 53px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.arrow.right {
  background: #fcd79b;
}

.arrow:hover {
  background: #e5a944;
  color: white;
}

/* Horizontal scrolling container */
.testimonial-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slide {
  scroll-snap-align: start;
  background: #fff;
  padding: 2rem;
  min-width: 500px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-slide h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-slide p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;

}

/* Author Info */
.author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author div {
  font-size: 14px;
  color: #333;
}

.testimonial-slide {
  display: none;
}
.testimonial-slide.active {
  display: block;
}

/*---------------------Blog Section Styling-------------------------------*/

.blogs-section{
  padding: 4rem 0;
}
.blogs-header {
    display: flex;
    justify-content: left;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding: 3rem 0rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.blogs-header h2 {
    display: flex;
    font-size: 2.8rem;
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.blogs-header .square{
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #000;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.see-all {
  text-decoration: none;
  font-weight: 500;
  color: #676565;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 1.3rem;
    margin-left: 1rem;
}
.see-all:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

/* Blog grid */
.blogs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
	height:350px;
	
}
.blogs-grid .blog-card:nth-child(2),
.blogs-grid .blog-card:nth-child(3) {
/*   grid-column: 2; */
}

/* Blog Card */
.blog-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
/* 	margin-top: -5rem; */
  
}
.blog-card img {
  width: 694.17px;
  height: 520.62px;
  object-fit: cover;
  display: block;
}
.blog-card1 {
  position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
/*     margin-top: -5rem; */
}
.blog-card2 {
  position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
/* 	margin-top: -5rem; */
   
}
.blog-card1 img {
  width: 403px;
  height: 285.7px;
  object-fit: cover;
  display: block;
}

/* Meta tags */
.blog-meta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.blog-meta .date,
.blog-meta .tag {
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #1e1e1e;
}
.blog-meta .tag {
  background:#714e1e;
  color: #fff;
}


/* Content overlay */
.blog-content {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    max-width: 37%;
    text-align: start;
}

.blog-content span {
  font-size: 0.75rem;
  color: #fff;
}
.blog-content p {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
}

/* Content overlay */
.blog-content1 {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    max-width: 56%;
    text-align: start;
    margin-bottom: 4.9rem;
}

.blog-content1 span {
  font-size: 0.75rem;
  color: #555;
}
.blog-content1 p {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
}

@media screen and (max-width: 1280px) and (min-width: 1024px) {
  .circle{
    width: 16%;
    height: auto;
  }
  .circle img{
    width: 100%;
  }
  .description-box{
    margin-top: -50px;
  }
  .description-container .image-box {
      margin-top: -10rem;
  }
  .service-block{
    padding-left: 20px;
    padding-right: 20px;
  }
  .project-img{
    gap: 1rem;
  }
  .project-image-group{
    width: 47%;
  }
  .contact-box {
      width: 30%;
  } 
  .project-text {
     margin-left: 0; 
     margin-top: 0; 
  }
  .blog-card, .blog-card1, .blog-card2{
    width: auto;
    height: max-content;
  }
  .blog-card img{
    width: 100%;
    height: 100%;
  }
  .blogs-section{
    padding: 4rem 20px;
  }
  .blog-content1{
    top: auto;
    margin-bottom: 0.9rem;
  }
  .blog-content p{
        overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

  }
  
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
 
  .description-container{
    align-items: flex-end;
  }
  .description-container .image-box{
    margin-top: 0;
  }
  .service-block{
    padding-left: 10px;
    padding-right: 10px;
  }
  .service-content .description{
    width: auto;
  }
  
  .blogs-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 50px;
  }
  .blogs-grid .blog-card:nth-child(2), .blogs-grid .blog-card:nth-child(3) {
    grid-column: unset;
    margin-top: 0px;
  }
  .project-img{
    width: 60%;
  }
  .contact-box {
    width: 40%;
  } 
  .project-image-group.gp-0, .project-image-group.gp-2 {
    margin-top: 20px;
  }
  .contact-box {
    width: 40%;
  }
  .project-text{
    margin-left: 14px;
    margin-top: 0;
  }
  .project-image-group {
    display: flex;
    gap: 3rem;
    margin-bottom: 0;
    width: 46%;
  }
  
}


@media screen and (max-width: 768px) and (min-width: 200px) {
  .hero h1 {
    font-size: 25px;
  }
  .circle {
    width: 100px;
    height: 98px;
    position: relative;
    top: 58px;
    left: -25px;
  }
  .circle img{
    width: 100%;
  }
  .description-box {
      color: #1b1b1b;
      padding: 0px 0px 20px;
      margin-top: 0;
      width: 100%;
  }
  .description-container {
    background-size: 130% 114%;
    background-position: -34px 0;
    padding: 1rem 10px 0;
    flex-direction: column;
    margin-top: 30px;
  }
  .description-container .image-box{
     margin-top: 0;
     width: 100%;
  }
  .info-box h3{
    font-size: 25px;
  }
  .square {
    width: 10px !important;
    height: 15px !important;
  }
  .who-we-are h2 {
    font-size: 25px;
    margin-bottom: 2rem;
  }
  .backbone-section h2{
     font-size: 35px;
     gap: 8px;
  }
  .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  .who-we-are{
    padding: 2rem 1rem;
	  margin-top:30px;
  }
  .service-block{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 40px;
    position: relative;
  }
  .service-content .description{
    width: auto;
  }
  .main-pro{
    padding: 15px 20px;
  }
  .blogs-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 50px;
  }
  .blogs-grid .blog-card:nth-child(2), .blogs-grid .blog-card:nth-child(3) {
    grid-column: unset;
    margin-top: 0px;
  }
  .project-img{
    width: 100%;
    gap: 10px;
  }
  .contact-box {
    width: 100%;
  } 
  .project-image-group.gp-0, .project-image-group.gp-2 {
    margin-top: 20px;
  }
  .contact-box {
    width: 100%;
    margin-top: 50px;
  }
  .project-text{
    margin-left: 14px;
    margin-top: 0;
  }
  .project-image-group {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    width: 48%;
  }
  .our-work-section-text h2{
    font-size: 25px;
    padding: 0 0 20px 0;
  }
  .work-grid{
    grid-template-columns: 100%;
  }
  .scroll-container h2{
    font-size: 25px;
  }
  .project-text h3{
    font-size: 22px;
  }
  .project-text{
    font-size: 15px;
	line-height: 15px;
  }
  .testimonial-slide{
    min-width: auto;
  }
  
  .testimonial-container-text h2{
    font-size: 25px;
    padding: 0px 0px 60px 0;
  }
  .arrow-buttons {
    top: auto;
    bottom: 0;
  }
  .project-section-text h2 {
    padding: 20px;
    display: flex;
    font-size: 25px;
    margin-left: 0px;
  }
  .our-work-section{
    padding: 2rem 1rem;
  }
  .blogs-section{
    padding: 2rem 1rem;
  }
  .blogs-header h2{
    font-size: 22px;
  }
  .blog-card,
  .blog-card img {
    width: 100%;
    height: 100%;
  }
  .blog-content {
    top: auto;
    bottom: 9px;
    max-width: 90%;
    margin-bottom: 0;
  }
  .blog-content p{
        overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

  }

}


/* === Blog Section === */
.blogs-section {
  padding: 60px 0;
}

/* Header Section */
.blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.blogs-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.blogs-header .square {
  width: 25px;
  height: 25px;
  background: #000;
  display: inline-block;
}

.blogs-header .see-all {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

/* === Blog Cards Grid === */
.blogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.blog-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* === Orange Heading Line === */
.blog-meta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #714e1e; /* Orange heading */
  color: #fff;
  font-weight: 600;
  padding: 10px 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  z-index: 2;
}

.blog-meta .tag {
  font-size: 15px;
}

/* === White Content Box === */
.blog-content,
.blog-content1 {
  position: absolute;
  right: 15px;
  top: 50px; /* pushes it slightly below orange bar */
  background: #fff;
  color: #000;
  padding: 12px 15px;
  border-radius: 10px;
  width: 80%;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Category text inside content */
.blog-content span,
.blog-content1 span {
  display: block;
  font-size: 12px;
  color: #fff;
  margin-bottom: 4px;
}

/* Text inside content */
.blog-content p,
.blog-content1 p {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.project-grid .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 10px 0px 0px 0px;
}

/* Card Styling */
.project-card1 {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.project-card2 {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-top: 2rem;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px 20px 0 0;
}

/* Text Styling */
.card-text {
  padding: 20px;
}

.card-text h3 {
  color: #f6a42c;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-text p {
  font-size: 20px !important;
  color: #666;
  line-height: 1.6;
}
img.main-image {
    width: 100%;
    height: 397px;
    object-fit: cover;
    border-radius: 20px 20px 20px 20px;
}

/* Responsive */
@media (max-width: 992px) {
	.blogs-section{
		padding: 20px 0;
		 margin:0px 10px 0px 10px;
	}
  .blogs-grid {
    grid-template-columns: 1fr 1fr;
  height:800px; 
  }
	.project-grid .container{
		grid-template-columns: 100%;
	}
	
	.project-section-text{
		display: flex;
		align-items: center;
		justify-content: space-between;
		        padding: 20px;
	}
	.project-section-text h2{
		    padding: 0px;
	}
	.service-btn1{
		margin-top: 10px;
	}
}

@media (max-width: 600px) {
	.blogs-section{
		padding: 20px 0;
		 margin:0px 10px 0px 10px;
	}
  .blogs-grid {
    grid-template-columns: 1fr;
	  height:800px
		  margin:0px 10px 0px 10px;;
  }
	.service-btn1{
		margin-left: 28px;
	}
	img.main-image{
		height: 250px;
    	padding: 0px 20px;
	}
	.project-grid .container{
		gap:0px;
	}
}


.service-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #000;
    color: #fff;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s ease;
}

.service-btn:hover {
    background: #333;
}
@media (max-width: 1024px) {
  .info-box p {
    color: #444;
    text-align: left;
	line-height: 1.3;
	font-size: 12px;
  }
	.subtitle{
	line-height: 1rem;	
	}
	.backbone-section h2 { 
	font-size: 25px;	
	}
	.backbone-section h3 {
	font-size: 20px;
	}
	.backbone-section .description{
	color: #444;
    text-align: left;
	line-height: 1.3;
	font-size: 12px;
	}
	.service-grid-description p {
	font-size: 13px;	
	}
	.service-box{
	font-size: 17px !important;
	}
	.service-number{
	font-size: 20px;	
	}
	.main-heading {
    font-size: 17px;
	padding-bottom: 10px;
	}
	 .subtitle {
    line-height: 1rem;
    font-size: 15px;
    }
    .service-content .description {
	color: #444;
    text-align: left;
	line-height: 1.3 !important;
	font-size: 12px !important;	
	}
	.tags span {
	background: none; 
     padding: 0px;	
	 font-size: 15px;
	}
	
	section.project-section.aos-init.aos-animate .container{
	padding-bottom: 0px;
	}
	.work-item p {
	line-height: 1.1;
	font-size: 15px;
	}
	.arrow{
	width:45px;
	height: 40px;
	font-size: 22px;
	}
	.testimonial-slide h3{
	font-size: 20px;	
	}
	.testimonial-slide p{
	line-height: 1rem;
    font-size: 15px;	
	}
	.blogs-header{
	padding: 0px;
	}
	.blogs-header h2{
	font-size: 25px !important;
	}
	.see-all{
	margin-top: 0px;
	}
}

