/* Professional Service Details Page - Card-Based Layout */
/* Green and White Theme with Premium Spacing and Typography */

:root {
  --primary-green: #10b981;
  --dark-green: #059669;
  --light-green: #d1fae5;
  --accent-green: #34d399;
  --white: #ffffff;
  --light-gray: #f9fafb;
  --medium-gray: #e5e7eb;
  --dark-gray: #374151;
  --text-dark: #1f2937;
  --bg-light: #f0fdf4;
}

/* Professional background with subtle gradient */
body {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #ffffff 100%);
  background-attachment: fixed;
  font-family: "Roboto", sans-serif;
}

/* Add gap below sticky navbar */
.main {
  padding-top: 10px;
}

/* Card-based section layout with gaps on all sides */
.section-card {
  margin: 20px;
  padding: 60px 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out;
}

.card-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero section card styling */
.hero-section {
  margin: 20px;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Updated hero background to properly display dynamic images */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

/* Dark overlay for better text visibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.7) 0%, rgba(5, 150, 105, 0.8) 100%);
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* Centered content overlay with proper positioning */
.hero-content-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 0.9s ease-out;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.hero-content-overlay .hero-title {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 56px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-overlay .hero-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 300;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-overlay .hero-description p {
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Professional section titles */


.section-title {
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 50px;
  font-size: 42px;
  position: relative;
  padding-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 100%);
  border-radius: 3px;
  animation: slideInLeft 0.7s ease-out;
}

@keyframes slideInLeft {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}


/* Why Choose Us - Professional 2 Column Layout */
.why-choose-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  /* background: #60e086; */
}

.why-choose-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
  animation: slideInLeft 0.8s ease-out;
}

.why-choose-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.why-choose-image:hover img {
  transform: scale(1.08);
}

.why-choose-content {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.why-choose-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-content ul li {
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  color: var(--dark-gray);
  font-size: 16px;
  line-height: 1.7;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  font-weight: 500;
}

.why-choose-content ul li:last-child {
  border-bottom: none;
}

.why-choose-content ul li:hover {
  color: var(--primary-green);
  transform: translateX(12px);
  padding-left: 12px;
}

.why-choose-content ul i {
  font-size: 24px;
  margin-right: 16px;
  color: var(--primary-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Service Cards - Professional styling */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.service-card {
  background: var(--light-gray);
  border: 2px solid var(--medium-gray);
  border-radius: 14px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out;
  background: #7eed85;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2);
  border-color: var(--primary-green);
}

.service-card h5 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--dark-gray);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Development Process - Image Only Display */
.process-image-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
  animation: fadeInUp 0.8s ease-out;
}

.process-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.process-image-container:hover img {
  transform: scale(1.08);
}

/* Industries Grid - 2 Rows, 3 Columns */
.industries-grid-2x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-card {
  background: var(--light-gray);
  border-radius: 14px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out;
  border: 2px solid var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(52, 211, 153, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2);
  border-color: var(--primary-green);
}

.industry-icon {
  font-size: 52px;
  color: var(--primary-green);
  margin-bottom: 18px;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.industry-card:hover .industry-icon {
  transform: scale(1.15) rotateY(10deg);
}

.industry-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.industry-card h5 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
  position: relative;
  z-index: 1;
  letter-spacing: -0.3px;
}

/* Transform CTA Section - Card styling */
.transform-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 50%, var(--accent-green) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin: 20px;
}

.transform-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.transform-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(25px);
  }
}

.transform-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.transform-title {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 52px;
  font-weight: 800;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: -1px;
}

.transform-subtitle {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.transform-contact {
  margin-bottom: 40px;
}

.contact-phone {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.btn-transform {
  background: var(--white);
  color: var(--primary-green);
  border: none;
  font-weight: 700;
  padding: 16px 50px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  font-size: 17px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.btn-transform:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  background: #f5f5f5;
  color: var(--dark-green);
}

/* Footer Services Links */
#footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer-services li {
  margin-bottom: 12px;
}

#footer-services a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

#footer-services a:hover {
  color: var(--primary-green);
  padding-left: 8px;
}

/* Responsive Design - Tablet and Mobile */
@media (max-width: 1200px) {
  .section-card {
    padding: 50px 30px;
    margin: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-grid-2x3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content-overlay .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .transform-title {
    font-size: 44px;
  }
}

@media (max-width: 992px) {
  .section-card {
    padding: 40px 25px;
    margin: 15px;
  }

  .why-choose-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .industries-grid-2x3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .hero-content-overlay .hero-title {
    font-size: 40px;
  }

  .hero-content-overlay .hero-description {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .transform-title {
    font-size: 38px;
  }

  .transform-subtitle {
    font-size: 18px;
  }

  .contact-phone {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .section-card {
    padding: 35px 20px;
    margin: 12px;
    border-radius: 12px;
  }

  .hero-section {
    margin: 12px;
    min-height: 400px;
  }

  .services-hamburger-menu-right {
    right: 15px;
  }

  .hamburger-toggle {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .hamburger-panel {
    width: 300px;
    right: -300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .industries-grid-2x3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content-overlay .hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .hero-content-overlay .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .section-title::after {
    width: 80px;
  }

  .why-choose-container {
    gap: 30px;
  }

  .why-choose-content ul li {
    padding: 14px 0;
    font-size: 15px;
  }

  .service-card {
    padding: 25px;
  }

  .service-card h5 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 14px;
  }

  .industry-card {
    padding: 30px 20px;
  }

  .industry-icon {
    font-size: 44px;
  }

  .industry-card img {
    width: 70px;
    height: 70px;
  }

  .industry-card h5 {
    font-size: 15px;
  }

  .transform-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .transform-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .contact-phone {
    font-size: 28px;
  }

  .btn-transform {
    padding: 14px 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section-card {
    padding: 30px 15px;
    margin: 10px;
  }

  .hero-section {
    margin: 10px;
    min-height: 350px;
  }

  .hero-content-overlay {
    padding: 0 20px;
  }

  .hero-content-overlay .hero-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .hero-content-overlay .hero-description {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .section-title::after {
    width: 70px;
  }

  .why-choose-content ul li {
    padding: 12px 0;
    font-size: 14px;
  }

  .why-choose-content ul i {
    font-size: 20px;
    margin-right: 12px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h5 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 13px;
  }

  .industry-card {
    padding: 25px 15px;
  }

  .industry-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .industry-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .industry-card h5 {
    font-size: 14px;
  }

  .transform-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .transform-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contact-phone {
    font-size: 24px;
  }

  .btn-transform {
    padding: 12px 35px;
    font-size: 15px;
  }

  .hamburger-toggle {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .hamburger-panel {
    width: 280px;
    right: -280px;
  }

  .hamburger-header {
    padding: 20px;
  }

  .hamburger-header h4 {
    font-size: 18px;
  }

  .hamburger-service-link {
    padding: 14px 16px;
    font-size: 14px;
    margin: 10px 0;
  }
}
