/* Animation for counter */
.counter {
  display: inline-block;
}

/* Hover effects for team cards */
.group:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Image scaling on hover */
.group:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}



.tech-box {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 8rem;
}

.tech-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
}

#counts h2 {
  color: white;
}

.section-bg {
  background-color: #f7f7f7;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #1e90ff;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/* Portfolio Section - Main Theme Harmonized */
#portfolio {
  background-color: #ffffff;
  /* Light section background */
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#portfolio .section-title h2 {
  color: #2c4964;
  /* Branding Dark Blue */
}

#portfolio .section-title h2::after {
  background: #dc3545;
  /* Branding Red */
  box-shadow: none;
}

#portfolio .section-title p {
  color: #444;
  /* Standard text color */
}

/* Card Styling */
.portfolio-card {
  background: #fff;
  /* White card */
  border-radius: 10px;
  /* Standard radius */
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  border: 1px solid #eee;
  /* Subtle border */
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.12);
  border-color: #dc3545;
  /* Branding Red border on hover */
}

/* Image Wrapper */
.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  /* Very subtle grey for contrast with white card */
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-img-wrapper img {
  width: auto;
  height: 120px;
  /* Slightly smaller for cleaner look */
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

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

/* Overlay & CTA */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(220, 53, 69, 0.85);
  /* Branding Red overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn-view-project {
  color: #fff;
  background: #2c4964;
  /* Branding Dark Blue */
  padding: 10px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  letter-spacing: 1px;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(44, 73, 100, 0.3);
}

.btn-view-project:hover {
  background: #fff;
  /* White text on hover for contrast */
  color: #dc3545;
  /* Red text */
  box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
}

.portfolio-card:hover .btn-view-project {
  transform: translateY(0);
}

/* Card Content */
.portfolio-content {
  padding: 24px;
  text-align: left;
}

.portfolio-content .category {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #dc3545;
  /* Branding Red */
  margin-bottom: 10px;
  font-weight: 600;
}

.portfolio-content h3 {
  color: #2c4964;
  /* Branding Dark Blue */
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ... existing css ... */
.portfolio-content p {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* =========================================
   Project Details Page - Corporate Theme
   ========================================= */

/* Typography & Variables */
:root {
  --corp-white: #ffffff;
  --corp-bg-gray: #f8f9fa;
  --corp-primary: #2c3e50;
  /* Dark Navy for headings */
  --corp-body: #5a6570;
  /* Muted Blue-Gray */
  --corp-accent: #E74C3C;
  /* Brand Red/Coral */
  --corp-accent-hover: #c0392b;
  --corp-border: #eaeaea;
}

body.corporate-details-page {
  background-color: var(--corp-white);
  color: var(--corp-body);
  font-family: 'Open Sans', sans-serif;
}

body.corporate-details-page #header {
  background-color: rgba(171, 0, 0, 0.8) !important;
  padding: 5px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--corp-primary);
  font-weight: 700;
}

/* Breadcrumbs */
.breadcrumbs-section {
  background: var(--corp-bg-gray);
  padding: 15px 0;
  border-bottom: 1px solid var(--corp-border);
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--corp-body);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--corp-accent);
  font-weight: 600;
}

/* Hero Section */
#project-hero {
  padding: 80px 0;
  background: var(--corp-white);
}

.hero-category {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--corp-accent);
  /* Red Accent */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--corp-body);
  margin-bottom: 30px;
  max-width: 90%;
}

.btn-primary-corp {
  background: var(--corp-accent);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  /* Slight rounding, corporate feel */
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--corp-accent);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary-corp:hover {
  background: var(--corp-accent-hover);
  border-color: var(--corp-accent-hover);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary-corp {
  background: transparent;
  color: var(--corp-primary);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--corp-primary);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary-corp:hover {
  background: var(--corp-primary);
  color: white;
  transform: translateY(-2px);
}

/* Overview */
.section-bg-white {
  background: white;
  padding: 80px 0;
}

.section-heading {
  font-size: 1.75rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--corp-accent);
  margin-top: 8px;
}

.text-body-corp {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.highlights-box {
  background: var(--corp-bg-gray);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--corp-border);
}

.highlights-box h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--corp-primary);
}

.icon-list li i {
  color: var(--corp-accent);
  font-size: 1.2rem;
  margin-right: 12px;
}

/* Features */
.features-section {
  padding: 80px 0;
  background: white;
}

.feature-card-corp {
  background: white;
  border: 1px solid var(--corp-border);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-card-corp:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  border-color: rgba(231, 76, 60, 0.3);
}

.feature-card-corp .icon-box {
  background: rgba(231, 76, 60, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card-corp .icon-box i {
  font-size: 28px;
  color: var(--corp-accent);
}

.feature-card-corp h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card-corp p {
  font-size: 0.95rem;
  color: var(--corp-body);
  margin-bottom: 0;
}

/* Tech Stack Tabs */
.section-bg-gray {
  background: var(--corp-bg-gray);
  padding: 80px 0;
}

.nav-pills .nav-link {
  color: var(--corp-body);
  background: white;
  border: 1px solid var(--corp-border);
  margin: 0 5px;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
}

.nav-pills .nav-link.active {
  background: var(--corp-accent);
  /* Red */
  color: white;
  border-color: var(--corp-accent);
}

.tech-pill {
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--corp-border);
  font-weight: 500;
  color: var(--corp-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Impact Section */
.impact-section {
  padding: 80px 0;
  background: white;
}

.impact-card {
  text-align: center;
  padding: 30px;
}

.impact-icon i {
  font-size: 3rem;
  color: var(--corp-accent);
  opacity: 0.8;
  margin-bottom: 15px;
}

.impact-card h3 {
  font-size: 2.5rem;
  color: var(--corp-primary);
  margin-bottom: 5px;
}

.impact-card p {
  font-size: 1.1rem;
  color: var(--corp-body);
}

/* CTA */
.cta-corp {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 80px 0;
  color: white;
}

.cta-corp h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-btn-corp {
  background: var(--corp-accent);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.cta-btn-corp:hover {
  background: var(--corp-accent-hover);
  transform: scale(1.05);
  color: white;
}



.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-btn-light {
  display: inline-block;
  background: white;
  color: #2c4964;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.cta-btn-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  color: #dc3545;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-title-light {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    padding: 0 20px;
  }

  .stat-card-light {
    padding: 2rem 1rem;
  }
}