/* Services Page Body Content Styles */
/* ================================= */

/* Hero Section */




.home-banner {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a4a 0%, #0a0a2e 100%);
  color: #ffffff;
}

.typo-box {
  text-align: left;
  position: relative;
  z-index: 1;
}

.typo-box h6 {
  font-size: 1.25rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.typo-box h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #f03838;
}

.typo-box h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.8);
}

.typo-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

.home-avatar-box img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: #0b1d68 !important;
}

.feature-box-1 {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  height: 100%;
}

.feature-box-1:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.icon.hexagon {
  width: 60px;
  height: 60px;
  background: #28a745;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon.hexagon i {
  color: #fff;
  font-size: 1.75rem;
}

.feature-content h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a4a;
}

.feature-content p {
  color: #6c757d;
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 0;
  background: #ffffff;
}

.portfolio-box {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.portfolio-box:hover {
  transform: translateY(-5px);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
}

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

.portfolio-box:hover img {
  transform: scale(1.05);
}

.p-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.portfolio-box:hover .p-icon {
  opacity: 1;
}

.portfolio-info {
  padding: 1.5rem;
  background: #fff;
}

.portfolio-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.testimonial-col {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.testimonial-col .img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.testimonial-col p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tc-info h6 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.tc-info span {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Contact Section */
.contactus-section {
  padding: 5rem 0;
  background: #1a1a4a;
  color: #fff;
}

.contact-info {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.contact-name {
  margin-bottom: 2rem;
}

.sm-title h3 {
  color: #28a745;
  margin-bottom: 1rem;
}

.contact-form .form-control {
  background: rgba(255,255,255,0.05);
  border: none;
  color: #fff;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .typo-box h1 {
      font-size: 2.5rem;
  }
  
  .typo-box h2 {
      font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .home-banner {
      padding: 6rem 0 3rem;
  }
  
  .typo-box {
      text-align: center;
      margin-bottom: 3rem;
  }
  
  .home-avatar-box {
      max-width: 400px;
      margin: 0 auto;
  }
  
  .portfolio-box {
      margin-bottom: 2rem;
  }
  
  .testimonial-col {
      margin: 0.5rem;
  }
}

@media (max-width: 576px) {
  .typo-box h1 {
      font-size: 2rem;
  }
  
  .typo-box h2 {
      font-size: 1.5rem;
  }
  
  .feature-content h5 {
      font-size: 1.25rem;
  }
  
  .contact-info {
      padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .portfolio-info {
      padding: 1rem;
  }
  
  .portfolio-info h2 {
      font-size: 1.25rem;
  }
  
  .testimonial-col .img {
      width: 60px;
      height: 60px;
      margin-right: 1rem;
  }
}


/* Portfolio Section Styles */
.portfolio-section {
  background: #0a0a16;
  position: relative;
  overflow: hidden;
}

.portfolio-section .section-title h2 {
  font-weight: 700;
  letter-spacing: -1px;
}

.portfolio-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #1a1a2e;
  border-radius: 1rem !important;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-wrapper {
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.portfolio-card img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 300px;
  object-fit: cover;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 167, 69, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.portfolio-card:hover .overlay-content {
  opacity: 1;
}

.content-inner {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .content-inner {
  transform: translateY(0);
}

.tech-stack .badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 500;
  margin: 0 5px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.card-body {
  border-radius: 0 0 1rem 1rem;
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.card-text {
  font-size: 0.95rem;
  color: #ffd9d9 !important;
}

.cta-button {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .cta-button {
  opacity: 1;
}

@media (max-width: 768px) {
  .portfolio-card {
      margin-bottom: 2rem;
  }
  
  .portfolio-card img {
      height: 250px;
  }
}


/* Services Section Styles */
.services-section {
  background: #f9fafe;
  position: relative;
  overflow: hidden;
}

.gradient-text {
  background: linear-gradient(45deg, #28a745, #1a7c37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  height: 95%;
}

.service-card:hover {
  transform: translateY(-10px);
  /* box-shadow: 0 25px 50px -12px rgba(40, 167, 69, 0.15); */
}

.icon-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

.hexagon-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #28a745, #1a7c37);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s ease;
}

.service-card:hover .hexagon-bg {
  background: linear-gradient(135deg, #1a7c37, #28a745);
}

.service-card h3 {
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1.5rem;
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.service-features li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .service-card {
      padding: 2rem 1.5rem;
  }
  
  .service-card h3 {
      font-size: 1.3rem;
  }
  
  .icon-wrapper {
      width: 70px;
      height: 70px;
  }
}

@media (max-width: 576px) {
  .service-card {
      margin-bottom: 1.5rem;
  }
  
  .display-4 {
      font-size: 2.5rem;
  }
}